我已经在GroupView.h如何通过变量SEGUE
定义的变量@interface GroupView()
{
NSMutableArray *chatrooms;
}
@end
@implementation GroupView
现在我想通过这个变量赛格瑞
@interface FriendsViewController()
@end
@implementation FriendsViewController
else if ([segue.identifier isEqualToString:@"showGroupView"]) {
GroupView *groupView = (GroupView *)segue.destinationViewController;
groupView.chatrooms = [NSMutableArray arrayWithArray:chatrooms];
}
我知道,聊天室必须是财产头文件代码这种方式,但它不是
所以有什么办法在segue中使用这个变量。
感谢您的帮助。
对不起,我写了完全与我的错误 – user1120133 2015-01-15 18:14:13