When I have Xcode automatically create the class files for the entities in the data model, any attributes I've specified as Boolean
get a type of NSNumber in the property declaration:
@property (nonatomic, retain) NSNumber * isGood;
Since I'm using ARC, shouldn't it be strong
rather than retain
?
Perhaps this happens because Boolean
can't be converted to an object. Is that correct? If so, how can I use attributes that should have boolean values?