Top "Nsnumber" questions

on Mac OS X, NSNumber is a subclass of NSValue that offers a value as any C scalar (numeric) type

Convert NSNumber to NSTimeInterval in Swift

I'm stuck with some sort of casting in Swift as I am very new to Swift. Here is my code: …

swift casting ios8 nsnumber nstimeinterval
How to read crash log? How to find why the app crashes in system library? What means EXC_CRASH (SIGABRT)?

I got an crash logs from a customer to figure why my app crash on her iPhone. Here some info …

iphone nsnumber sigabrt crash-log
How to convert NSNumber to String in Swift4?

How to convert an Array of NSNumber to Array of String in order to display the value in UITableView? cell.…

swift string nsnumber
How do you store "int" values in an NSMutableArray* or NSMutableDictionary*? Chronic problems with JSON data that come in as integers.

How do you store "int" values in an NSMutableArray or NSMutableDictionary? Chronic problems with JSON data that come in as …

objective-c nsmutablearray nsmutabledictionary nsnumber
Comparing NSNumber to 0 not working?

I have a JSON parser in my app, and I load the value into a detailDataSourceDict variable. When I try …

objective-c json nsnumber
how can i check NSNumber is null?

NSDictionary *regionDict = (NSDictionary *) region; NSNumber *lat = [regionDict objectForKey:@"lat"]; //[latitude addObject:lat]; NSNumber *lng = [regionDict objectForKey:@"lng"]; //[longitude addObject:lng]; …

iphone json mkmapview nsnumber
NSNumber of seconds to Hours, minutes, seconds

I am having a terrible time trying to do something that should be easy. I have a NSNumber value of 32025.89 …

objective-c cocoa nsnumber
how do I set the value of an NSNumber variable (without creating a new object) in objective-c

how do I set the value of an NSNumber variable (without creating a new object) in objective-c? Background I'm using …

iphone objective-c ios nsnumber
NSNumber from CGFloat

Is there a safe way to "convert" a CGFloat to a NSNumber ? NSNumber has the numberWithFloat: and numberWithDouble: methods but …

objective-c floating-point nsnumber cgfloat
How to convert typedef enum to NSNumber?

Is each value of a typedef enum treated as an int? E.g., given the following typedef enum: // UIView.h …

enums typedef nsnumber nsinteger nsuinteger