How do I check if a NSNumber object is nil or empty?
OK nil is easy:
NSNumber *myNumber; if (myNumber == nil) doSomething
But if th
Dealing with Swift 2.0 and Parse:
var myNumber = yourArray!.objectForKey("yourColumnTitle") if (myNumber == nil) { myNumber = 0 }
In my case, I then had to:
let myNumberIntValue = myNumber!.intValue