iphone - Synthesize a BOOL to set value in Objective C -
I have created a BOOL feature called "useSystem" in my core data unit, except for me to get / set up data I have created an object for that, even then whenever I try to set synthesized BOOL I just get an error. This is my code:
@property (nonatomic) const bool usage system;
So I'm
[Object set US system: Yes];
And immediately I just get an error, can anyone help?
Use [NSNumber numberWithBool: Yes]
Comments
Post a Comment