I created a protocol
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
// Defines the protocol that must be implemented to be a delegate for UCMapviewController
@protocol UCMapviewDelegate <NSObject>
@required
- (void)pushMapviewRight;
@end
When I go to new file -> protocol, there is a prompt which asks for the target. I check my project. But when i click the protocol.h file in my project and look at file inspector, at "Target membership", my project is unchecked and I cannot check it.
I don't get this error when I put the protocol in the header file of one of my viewControllers (for example). Do I have to import the protocol somewhere else?
WHat is wrong? Help is greatly appreciated! thx