【发布时间】:2013-04-29 10:05:12
【问题描述】:
我正在尝试使用 segue 将数据传回,并遵循以下答案:How to Pass information Back in iOS when reversing a Segue?
但是,当我尝试将这一行放入时:
@property (nonatomic) id<MyDataDelegate> delegate;
我收到以下警告:
当我尝试像这样放入第一个视图控制器时:
@interface ContainerViewController : UIViewController <MyDataDelegate>
我收到错误“Cannot find protocol declaration for 'MyDataDelegate'”并且我确实包含了另一个头文件...
【问题讨论】:
-
@property(weak,nonatomic) id
delegate;
标签: iphone ios objective-c