They differ in their types. They’re all zero, but NULL
is a void *
, nil
is an id
, and Nil
is a Class pointer.
More Related Contents:
- Difference between nil, NIL and, null in Objective-C
- How to detect if NSString is null?
- What’s the difference between [NSNull null] and nil?
- NULL vs nil in Objective-C
- In Objective-C why should I check if self = [super init] is not nil?
- How to create variable argument methods in Objective-C
- Replace all NSNull objects in an NSDictionary
- TouchJSON, dealing with NSNull
- Objective-C Difference between setting nil and releasing
- Objective-C for Windows
- Xcode build failure “Undefined symbols for architecture x86_64”
- What do the plus and minus signs mean in Objective-C next to a method?
- Circular Progress Bars in IOS
- Why [object doSomething] and not [*object doSomething]?
- Is there a way to suppress warnings in Xcode?
- Why should I call self=[super init]
- How do you set your Cocoa application as the default web browser?
- What is the meaning of id?
- Working with data in iOS Apps (What to choose? NSData, CoreData, sqlite, PList, NSUserDefaults)
- How to convert a CVImageBufferRef to UIImage
- How do I convert an integer to the corresponding words in objective-c?
- Accuracy of NSTimer
- Support different orientation for only one view iOS 6
- Unable to add UITextField to UIAlertView on iOS7…works in iOS 6
- insertNewObjectForEntityForName:
- Add/Delete UITableViewCell with animation?
- Create UITextRange from NSRange
- When to use self on class properties?
- What’s the difference between declaring a variable “id” and “NSObject *”?
- viewDidLoad in NSViewController?