Using Core-Data to hold various information, one of which is a 'number' attribute (Int(16)). I try to take it out of the database using:
number = (int)[info valueForKey:@"number"]
;
Unfortunately, this always gives some awful result, like 2895891275 when it should be returning 3.
Would appreciate any help, thanks!