title: Is there an Objective-C equivalent to IFNULL?
body: <p>Consider the code following line of code: </p>
  
  <p><code>NSNumber *someNumber = (someOtherNumber) ? someOtherNumber : [NSNumber numberWithInt: 0];</code></p>
  
  <p>Basically, it says if <code>someOtherNumber</code> is not null, use it, otherwise, use 0.  I feel like there should be a better way to do this.  SQL / SQLite have a handy function called <code>IFNULL</code> which would make this much simpler.  If it existed, it would make the code look like: </p>
  
  <p><code>NSNumber *someNumber = IFNULL(someOtherNumber, [NSNumber numberWithInt: 0]);</code></p>
  
  <p>Does something like this exist in objective-c?  </p>