123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593 |
- //
- // MineViewController.m
- // KulexiuForTeacher
- //
- // Created by Kyle on 2022/3/17.
- //
- #import "MineViewController.h"
- #import "MineNavView.h"
- #import "SettingViewController.h"
- #import "KSBaseWKWebViewController.h"
- #import "NetworkingCheckController.h"
- #import "DeviceCheckView.h"
- #import "UserInfoManager.h"
- #import "TeacherInfo.h"
- #import "VideoCourseViewController.h"
- #import "LiveListViewController.h"
- #import "MinePageViewController.h"
- #import "MyLiveCourseViewController.h"
- #import "MyStyleViewController.h"
- #import "MyBankCardViewController.h"
- #import "MyCourseViewController.h"
- #import "UserSettingViewController.h"
- #import "FeedbackViewController.h"
- #import "KSScanViewController.h"
- #import "KSPremissionAlert.h"
- #import "RecordCheckManager.h"
- #import "MyIncomeViewController.h"
- #import "MineHeadView.h"
- #import "MineFunctionView.h"
- #import "MineTeachToolView.h"
- #import "MineBottomView.h"
- #import "MyMusicViewController.h"
- #import "HomeworkListViewController.h"
- #import "EvaluateCourseListViewController.h"
- #import "BadgeIntroduceView.h"
- @interface MineViewController ()<UIScrollViewDelegate>
- @property (nonatomic, strong) MineNavView *navView;
- @property (nonatomic, strong) MineHeadView *headView;
- @property (nonatomic, strong) MineFunctionView *normalFunctionView;
- @property (nonatomic, strong) MineTeachToolView *teachToolView;
- @property (nonatomic, strong) MineBottomView *bottomView;
- @property (nonatomic, strong) DeviceCheckView *checkView;
- @property (nonatomic, strong) TeacherInfo *mineInfo;
- @property (nonatomic, strong) BadgeIntroduceView *intruduceAlert;
- @end
- @implementation MineViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
- self.ks_prefersNavigationBarHidden = YES;
- [self configUI];
- }
- - (void)viewWillAppear:(BOOL)animated {
- [super viewWillAppear:animated];
- if ([self checkIsLoginToLoginView:YES]) {
- [self requsetUserMessage];
- [self requestUserMemo];
- [self queryAmountDetail];
- }
- }
- - (void)queryAmountDetail {
- [KSNetworkingManager teacherAccountDetail:KS_GET success:^(NSDictionary * _Nonnull dic) {
- if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
- double amount = [[dic dictionaryValueForKey:@"data"] doubleValueForKey:@"amountShare"];
- [self evaluateAmount:amount];
- }
- else {
- [self MBPShow:MESSAGEKEY];
- }
- } faliure:^(NSError * _Nonnull error) {
-
- }];
- }
- - (void)evaluateAmount:(double)amount {
- NSString *valueString = [NSString formatMoneyDoubleNum:amount];
- NSString *amountString = [NSString stringWithFormat:@"累计收益%@元",valueString];
- NSMutableAttributedString *attr = [[NSMutableAttributedString alloc] initWithString:amountString attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:13],NSForegroundColorAttributeName:HexRGB(0x999999)}];
- [attr addAttributes:@{NSFontAttributeName : [UIFont systemFontOfSize:13.0f weight:UIFontWeightMedium], NSForegroundColorAttributeName:HexRGB(0xff4e19)} range:[amountString rangeOfString:valueString]];
- self.bottomView.shareAmountLabel.attributedText = attr;
- }
- - (void)requestUserMemo {
- [[UserInfoManager shareInstance] requsetconfigCallback:^(BOOL success) {
- [self refreshBodyView:success];
- }];
- }
- - (void)refreshBodyView:(BOOL)isMember {
- self.headView.isMember = isMember;
- CGFloat height = [self.headView getViewHeight];
- [self.headView mas_updateConstraints:^(MASConstraintMaker *make) {
- make.height.mas_equalTo(height);
- }];
- self.normalFunctionView.isMember = isMember;
- [self.normalFunctionView configView];
- CGFloat functionHeight = [self.normalFunctionView getViewHeight];
- [self.normalFunctionView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(self.headView.mas_bottom).offset(12);
- make.left.right.mas_equalTo(self.view);
- make.height.mas_equalTo(functionHeight);
- }];
- self.teachToolView.isMember = isMember;
- [self.teachToolView configView];
- CGFloat toolViewHeight = [self.teachToolView getViewHeight];
- [self.teachToolView mas_updateConstraints:^(MASConstraintMaker *make) {
- make.height.mas_equalTo(toolViewHeight);
- }];
- self.bottomView.isMember = isMember;
- CGFloat bottomViewHeight = [self.bottomView getViewHeight];
- [self.bottomView mas_updateConstraints:^(MASConstraintMaker *make) {
- make.height.mas_equalTo(bottomViewHeight);
- }];
- }
- - (void)requsetUserMessage {
- [KSNetworkingManager queryTeacherInfoRequest:KS_GET success:^(NSDictionary * _Nonnull dic) {
- if ([dic integerValueForKey:@"code"] == 200 && [dic boolValueForKey:@"status"]) {
- self.mineInfo = [[TeacherInfo alloc] initWithDictionary:[dic dictionaryValueForKey:@"data"]];
- NSString *rongToken = UserDefault(RongTokenKey);
- if ([NSString isEmptyString:rongToken]) {
- [USER_MANAGER queryUserInfoConnectRongCloud:YES];
- }
- [self refreshView];
- }
- else {
- [self MBPShow:MESSAGEKEY];
- }
- } faliure:^(NSError * _Nonnull error) {
-
- }];
- }
- - (void)refreshView {
- [self.headView configMessage:self.mineInfo];
- if ([NSString isEmptyString:self.mineInfo.username]) {
- self.navView.headTitle.text = [NSString stringWithFormat:@"游客%@",self.mineInfo.userId];;
- }
- else {
- self.navView.headTitle.text = self.mineInfo.username;
- }
- }
- - (void)configUI {
- self.scrollView.delegate = self;
- [self.scrollView mas_remakeConstraints:^(MASConstraintMaker *make) {
- make.left.right.mas_equalTo(self.view);
- make.top.mas_equalTo(self.view.mas_top);
- make.bottom.mas_equalTo(self.view.mas_bottom);
- }];
-
- UIImage *bgImage = [UIImage imageNamed:@"mine_header"];
- UIImageView *imageView = [[UIImageView alloc] initWithImage:bgImage];
- imageView.frame = CGRectMake(KPortraitWidth - bgImage.size.width, 0, bgImage.size.width, bgImage.size.height);
- [self.view addSubview:imageView];
-
- [self.view addSubview:self.navView];
- [self.navView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.width.mas_equalTo(KPortraitWidth);
- make.right.top.mas_equalTo(self.view);
- make.height.mas_equalTo(kNaviBarHeight);
- }];
-
- [self.view bringSubviewToFront:self.scrollView];
- [self.view bringSubviewToFront:self.navView];
- [self.scrollView mas_remakeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(self.view.mas_top);
- make.left.right.mas_equalTo(self.view);
- make.bottom.mas_equalTo(self.view.mas_bottom);
- }];
- self.scrollView.backgroundColor = [UIColor clearColor];
-
- UIView *headView = [[UIView alloc] init];
- headView.backgroundColor = [UIColor clearColor];
- [self.scrollView addSubview:headView];
- [headView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(self.scrollView.mas_top);
- make.left.right.mas_equalTo(self.view);
- make.height.mas_equalTo(kNaviBarHeight);
- }];
-
- [self.scrollView addSubview:self.headView];
- CGFloat headHeight = [self.headView getViewHeight];
- [self.headView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(headView.mas_bottom);
- make.left.right.mas_equalTo(self.view);
- make.height.mas_equalTo(headHeight);
- }];
-
- [self.scrollView addSubview:self.normalFunctionView];
- CGFloat functionHeight = [self.normalFunctionView getViewHeight];
- [self.normalFunctionView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(self.headView.mas_bottom).offset(12);
- make.left.right.mas_equalTo(self.view);
- make.height.mas_equalTo(functionHeight);
- }];
-
- [self.scrollView addSubview:self.teachToolView];
- CGFloat toolViewHeight = [self.teachToolView getViewHeight];
- [self.teachToolView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(self.normalFunctionView.mas_bottom);
- make.left.right.mas_equalTo(self.view);
- make.height.mas_equalTo(toolViewHeight);
- }];
-
- [self.scrollView addSubview:self.bottomView];
- CGFloat bottomHeight = [self.bottomView getViewHeight];
-
- [self.bottomView mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(self.teachToolView.mas_bottom);
- make.left.right.mas_equalTo(self.view);
- make.height.mas_equalTo(bottomHeight);
- make.bottom.mas_equalTo(self.scrollView.mas_bottom);
- }];
- }
- - (void)operationAction:(MINEVIEWTYPE)type {
- switch (type) {
- case MINEVIEWTYPE_AUTH: // 达人认证
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_HOMEPAGE: // 我的主页
- {
- if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转达人认证
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- else {
- MinePageViewController *pageCtrl = [[MinePageViewController alloc] init];
- [self.navigationController pushViewController:pageCtrl animated:YES];
- }
-
- }
- break;
- case MINEVIEWTYPE_INCOME:
- {
- MyIncomeViewController *incomeCtrl = [[MyIncomeViewController alloc] init];
- [self.navigationController pushViewController:incomeCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_MIEN: // 个人风采
- {
- if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转达人认证
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- else { // 风采
- MyStyleViewController *styleCtrl = [[MyStyleViewController alloc] init];
- [self.navigationController pushViewController:styleCtrl animated:YES];
- }
- }
- break;
- case MINEVIEWTYPE_STARTBOARDCAST: // 开启直播
- {
- if ([self.mineInfo.liveFlag isEqualToString:@"1"]) {
- LiveListViewController *ctrl = [[LiveListViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- else { // 开通直播审核
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/openLive"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- }
- break;
- case MINEVIEWTYPE_ORDER: // 商品订单
- {
- KSBaseWKWebViewController *ctrl = [[KSBaseWKWebViewController alloc] init];
- ctrl.url = [NSString stringWithFormat:@"%@%@",WEBHOST,@"/#/goodsOrder"];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_ACCOMPANY: // 陪练课设置
- {
- if (![self.mineInfo.entryStatus isEqualToString:@"PASS"]) { // 跳转达人认证
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/teacherCert"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- else { // 设置页面
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/practiceSetting"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- }
- break;
- case MINEVIEWTYPE_BOARDCASTCOURSE: // 直播课程
- {
- MyLiveCourseViewController *ctrl = [[MyLiveCourseViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_VIDEOCOURSE: // 视频课
- {
- VideoCourseViewController *ctrl = [[VideoCourseViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_EXTENDPLAN: // 推广计划
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/extendPlan"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_CARD: // 我的银行卡
- {
- MyBankCardViewController *ctrl = [[MyBankCardViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_NETWORKING: // 网络检测
- {
- NetworkingCheckController *checkVC = [[NetworkingCheckController alloc] init];
- [self.navigationController pushViewController:checkVC animated:YES];
- }
- break;
- case MINEVIEWTYPE_DEVICE: // 设备检测
- {
- [self.checkView showAlert];
- }
- break;
- case MINEVIEWTYPE_HELP: // 帮助
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/helpCenter"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_FANS: // 我的粉丝
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/myFans"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_FINISHCOURSE: // 我的课程
- {
- MyCourseViewController *ctrl = [[MyCourseViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_UNFINISHCOURSE: // 我的课程
- {
- MyCourseViewController *ctrl = [[MyCourseViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_USERSETTING: // 用户设置
- {
- UserSettingViewController *ctrl = [[UserSettingViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_FEEDBACK: // 反馈
- {
- FeedbackViewController *ctrl = [[FeedbackViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_MEMERCENTER:
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/memberCenter"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_TRADERECORD:
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/rechargeRecord"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_MUSIC: // 我的曲谱
- {
- MyMusicViewController *musicCtrl = [[MyMusicViewController alloc] init];
- [self.navigationController pushViewController:musicCtrl animated:YES];
- }
- break;
-
- case MINEVIEWTYPE_MUSICROOM: // 云酷琴房
- {
- KSBaseWKWebViewController *ctrl = [[KSBaseWKWebViewController alloc] init];
- ctrl.url = [NSString stringWithFormat:@"%@%@",WEBHOST,@"/#/pianoRoom"];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_HOMEWORK: // 作业
- {
- HomeworkListViewController *ctrl = [[HomeworkListViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_EVALUATE: // 评价
- {
- EvaluateCourseListViewController *ctrl = [[EvaluateCourseListViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- break;
- case MINEVIEWTYPE_SHOWDESC: // 介绍弹窗
- {
- [self showDescAlert];
- }
- break;
- case MINEVIEWTYPE_TICKET:
- {
- KSBaseWKWebViewController *webCtrl = [[KSBaseWKWebViewController alloc] init];
- webCtrl.url = [NSString stringWithFormat:@"%@%@", WEBHOST, @"/#/coupons"];
- [self.navigationController pushViewController:webCtrl animated:YES];
- }
- break;
- default:
- break;
- }
- }
- - (BadgeIntroduceView *)intruduceAlert {
- if (!_intruduceAlert) {
- _intruduceAlert = [BadgeIntroduceView shareInstance];
- _intruduceAlert.frame = CGRectMake(0, 0, KPortraitWidth, KPortraitHeight);
- }
- return _intruduceAlert;
- }
- - (void)showDescAlert {
- [self.intruduceAlert showAlertInView:[NSObject getKeyWindow]];
- }
- #pragma mark --- lazying
- - (MineNavView *)navView {
- if (!_navView) {
- _navView = [MineNavView shareInstance];
- MJWeakSelf;
- [_navView mineNavAction:^(MINENAVATYPE actionType) {
- if (actionType == MINENAVATYPE_SETTING) {
- [weakSelf settingAction];
- }
- else {
- [weakSelf scanAction];
- }
- }];
-
- }
- return _navView;
- }
- - (void)scanAction {
- // 判断是否有权限
- PREMISSIONTYPE albumEnable = [RecordCheckManager checkCameraPremissionAvaiable:NO showInView:nil];
- if (albumEnable == PREMISSIONTYPE_YES) { // 如果有权限
- KSScanViewController *ctrl = [[KSScanViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- else {
- if (albumEnable == PREMISSIONTYPE_NO) {
- [self showAlertWithMessage:@"请开启相机访问权限" type:CHECKDEVICETYPE_CAMREA];
- }
- }
- }
- - (void)showAlertWithMessage:(NSString *)message type:(CHECKDEVICETYPE)deviceType {
- [KSPremissionAlert shareInstanceDisplayImage:deviceType message:message showInView:self.view cancel:^{
-
- } confirm:^{
- [self openSettingView];
- }];
-
- }
- - (void)openSettingView {
- if (@available(iOS 10, *)) {
- [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString] options:@{} completionHandler:nil];
- } else {
- [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
- }
- }
- - (DeviceCheckView *)checkView {
- if (!_checkView) {
- _checkView = [DeviceCheckView shareInstance];
- }
- return _checkView;
- }
- - (void)settingAction {
- SettingViewController *ctrl = [[SettingViewController alloc] init];
- [self.navigationController pushViewController:ctrl animated:YES];
- }
- - (void)dealloc {
- [[NSNotificationCenter defaultCenter] removeObserver:self];
- }
- - (MineHeadView *)headView {
- if (!_headView) {
- _headView = [MineHeadView shareInstance];
- MJWeakSelf;
- [_headView operationCallback:^(MINEVIEWTYPE type) {
- [weakSelf operationAction:type];
- }];
- }
- return _headView;
- }
- - (MineFunctionView *)normalFunctionView {
- if (!_normalFunctionView) {
- _normalFunctionView = [MineFunctionView shareInstance];
- // [_normalFunctionView configView];
- MJWeakSelf;
- [_normalFunctionView functionViewAction:^(MINEVIEWTYPE type) {
- [weakSelf operationAction:type];
- }];
- }
- return _normalFunctionView;
- }
- - (MineTeachToolView *)teachToolView {
- if (!_teachToolView) {
- _teachToolView = [MineTeachToolView shareInstance];
- // [_teachToolView configView];
- MJWeakSelf;
- [_teachToolView functionViewAction:^(MINEVIEWTYPE type) {
- [weakSelf operationAction:type];
- }];
- }
- return _teachToolView;
- }
- - (MineBottomView *)bottomView {
- if (!_bottomView) {
- _bottomView = [MineBottomView shareInstance];
- MJWeakSelf;
- [_bottomView operationCallback:^(MINEVIEWTYPE type) {
- [weakSelf operationAction:type];
- }];
- }
- return _bottomView;
- }
- - (void)scrollViewDidScroll:(UIScrollView *)scrollView {
- CGFloat space = scrollView.contentOffset.y;
- if (space >= kNaviBarHeight) {
- self.navView.backgroundColor = [UIColor whiteColor];
- self.navView.headTitle.hidden = NO;
- self.navView.lineView.hidden = NO;
- }
- else {
- self.navView.headTitle.hidden = YES;
- self.navView.lineView.hidden = YES;
- CGFloat rate = space / kNaviBarHeight < 0 ? 0 : space / kNaviBarHeight;
- self.navView.backgroundColor = HexRGBAlpha(0xffffff, rate);
- }
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|