I'm trying to pass data back with the segue, and am following this answer: How to Pass information Back in iOS when reversing a Segue?
However when I try to put this line in:
@property (nonatomic) id<MyDataDelegate> delegate;
I get the following warning:
And when I try to put to the first view controller like this:
@interface ContainerViewController : UIViewController <MyDataDelegate>
I get the error "Cannot find protocol declaration for 'MyDataDelegate'
" and I did include the other header file...