I know this question has been asked a lot, but it doesn't help me...
I have made a lot of delegate protocol in my projects, but this happened a lot...
I got an error cannot find protocol declaration for ''. The weird thing is that when i do this for the first time :
id<dataForEventDelegate> dataEventDelegate;
It works, i build, i try a rebuild and PAF doesn't find the protocole anymore...
my code looks like that in my delegate .H :
@protocol dataForEventDelegate <NSObject>
-(void)setStartDateLabel:(NSDate *)startDaleLabel;
-(void)setEndDateLabel:(NSDate *)endDaleLabel;
-(void)setDefaultCalendarLabel;
@end
@interface EventViewController : UIViewController <UITextFieldDelegate, UIPickerViewDelegate, dataForEventDelegate>
this is in my file.h which should use the delegate
#import "EventViewController.h"
@interface datePickerController : UIPickerView <UIPickerViewDelegate, UIPickerViewDataSource>
{
id<dataForEventDelegate> dataEventDelegate;
NSMutableArray *dateArray;
}
@property(nonatomic, strong) id<dataForEventDelegate> dataEventDelegate;
this dataForEventDelegate is not found !! BUT IT SHOULD :(