Hello, I`m doing something wrong with my app delegate, I'd appreciate if someone could have a look at this one .
My AppDelegate.h :
{
BOOL *moveState;
}
@property (nonatomic) IBOutlet BOOL *moveState ;
My AppDelegate.m:
@synthesize moveState;
and my ViewController from where I'm trying to set the moveState value :
AppDelegate *moveUp = (AppDelegate *) [[UIApplication sharedApplication] delegate];
[moveUp setMoveState:YES];
It`s returning : makes pointer from integer without a cast