I have an iOS 4 project using Core Data. When I design the Core Data Model, the attributes have Integer 64
, Integer 32
, Integer 16
, Decimal
, Double
, Float
, and Boolean
.
But in the generated NSManagedObject
subclasses, they are all NSNumber*
. So when I use it, how can I tell if that NSNumber
is a long
, a double
, a float
, or a BOOL
?