<null>
is how the NSNull singleton logs. So:
if (tel == (id)[NSNull null]) {
// tel is null
}
(The singleton exists because you can’t add nil
to collection classes.)
More Related Contents:
- Parse JSON with Objective-C
- How to use NSJSONSerialization
- Generate JSON string from NSDictionary in iOS
- iOS: Serialize/Deserialize complex JSON generically from NSObject class
- what is kCFErrorDomainCFNetwork Code=303
- How do I URL encode a string
- didReceiveRemoteNotification not called, iOS 10
- Best way to sort an NSArray of NSDictionary objects?
- iOS 9: How to change volume programmatically without showing system sound bar popup?
- Detect airplane mode on iOS
- Method overloading in Objective-C?
- Objective C – Assign, Copy, Retain
- Disable iOS8 Quicktype Keyboard programmatically on UITextView
- Should I declare variables in interface or using property in objective-c arc?
- How do I give an “identifier” to a view controller within my storyboard?
- iOS Prefix.pch best practices
- Objective-C 101 (retain vs assign) NSString
- Xcode 9 – failed to emit precompiled header [duplicate]
- ‘Receiver () has no segue with identifier ‘addSegue’
- How to use local-only project via CocoaPods
- AVAudioPlayer throws breakpoint in debug mode
- Find current country from iPhone device
- On iOS8, displaying my app in landscape mode will hide the status bar but on iOS 7 the status bar is displayed on both orientations
- NSNumberFormatter and ‘th’ ‘st’ ‘nd’ ‘rd’ (ordinal) number endings
- iPhone SDK Internet connection detection
- iOS SecKeyRef to NSData
- AVSpeechSynthesizer output as file?
- iPhone storage in tmp directory
- NEHotspotHelper annotations not appearing
- MKMapView show incorrectly saved region