Top "Nsnull" questions

The NSNull class defines a singleton object used to represent null values in collection objects (which don’t allow nil values).

When should I use nil and NULL in Objective-C?

This is sample code: NSDictionary *myDictionary = [NSDictionary dictionary]; NSNumber *myNumber = [myDictionary valueForKey: @"MyNumber"]; NSLog(@"myNumber = %@", myNumber); // output myNumber = (null) if (…

objective-c null nsnull
How can I check if an object in an NSArray is NSNull?

I am getting an array with null value. Please check the structure of my array below: ( "< null>" ) When …

ios objective-c nsarray nsnull
Difference between nil, NIL and, null in Objective-C

I want to know the difference between nil, NIL and null. I've googled around and found this: nil -> …

objective-c null nsnull
Replace all NSNull objects in an NSDictionary

I'm curious, I currently have an NSDictionary where some values are set to an NSNull object thanks to the help …

objective-c nsstring nsdictionary json-framework nsnull
NSNull handling for NSManagedObject properties values

I'm setting values for properties of my NSManagedObject, these values are coming from a NSDictionary properly serialized from a JSON …

objective-c json parsing nsmanagedobject nsnull
How to make a if statement with NSNull in objective-c

I am develop a iPhone application, in which i need to use JSON to receive data from server. In the …

iphone json nsmutabledictionary nsnull