Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Synthesize error "Missing Context for Property Implementation Declaration"

Anyone have any ideas? When I try to synthesize a property I have declared in the .h file its not letting me synthesize it. Any ideas? Thanks!

like image 703
rreichel Avatar asked Aug 10 '11 02:08

rreichel


1 Answers

This can happen when you attempt to synthesize a property outside of the scope of your class' implementation.

Incorrect:

@synthesize yourProperty;
@implementation YourClass
@end

Correct:

@implementation YourClass
@synthesize yourProperty;
@end
like image 140
mamills Avatar answered Dec 17 '22 16:12

mamills