Since you already know the type (an integer of 64 bits), you do not need to check it.
To get a 64-bit integer from NSNumber, do one of the following:
NSInteger myInteger = [myNSNumber integerValue];
int64_t myInteger = [myNSNumber integerValue];
To just add it to it, you can use something like this:
myNSNumber = [NSNumber numberWithInteger:[myNSNumber integerValue]+1]];
Please note that iOS has , has 64-bit data types, such as int64_tand NSInteger.
EDIT:
If the only reason you are using NSNumberis to save a 64-bit integer, you can simply declare a property like this in a subclass of the model, and opt out of unpacking / boxing altogether:
@property (nonatomic) int64_t myIntValue;
, , NSManagedObject Subclass.