我需要推到下一個swift視圖控制器,我的基本項目--obj c,添加swift文件後,Xcode生成Bridging-Header.h,但我沒有看到-swift.h文件如何在我的objective-c視圖控制器中推送客觀c視圖控制器到swift視圖控制器
熱從swift中推入從obj-c視圖中查看?
-(void)longTapInDaClub:(UILongPressGestureRecognizer *)longTap {
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"mail" bundle:nil];
nextView *view = (nextView *) [stb instantiateViewControllerWithIdentifier:"next"];
[nextView getIdSample: _idSample];
[self.navigationController pushViewController:view animated:YES];
}
新思維 - 是斯威夫特視圖控制器
沒有,我需要長按按鈕動作,並在快速查看中使用getter:( – 2014-10-06 08:58:24
在調試器中運行它並查明您的nextView是否爲零,如果是,請檢查是否有從當前一個到下一個命名的segue – AlBlue 2014-10-06 09:11:22
對不起,我不明白 - 如何與長按?seque))) – 2014-10-06 09:48:05