I created a project using Core Data, and in the .model file I created an entity called Targets.
I added these two entity attributes:
content (String)
targetID (Integer 32)
When I generate the NSManagedObject subclass Xcode asks me:
Use scalar properties for primitive data types?
Should I check this box when generating a new NSManagedObject subclass from my model file?
If the box is checked, Xcode will generate scalar types (e.g., int, float, double) for those attributes. If not checked, the attributes will be NSNumber
s.