alexrothenberg/motion-addressbook — pull request #66 by rromanchuk (2014-08-07 19:07:09+00:00)
Title: Safer, more explicit photo accessors 

This shouldn't be needed, as https://developer.apple.com/library/ios/documentation/AddressBook/Reference/ABPersonRef_iPhoneOS/Reference/reference.html#//apple_ref/doc/uid/TP40007210-CH3-SW12 states "The picture for person, or NULL if the person has no picture." but i'm seeing crashes here, lets just be extra explicit here anyways.

It's also probably not wise to pass back a corrupt UIImage object `initWithData(nil)` when there is no image available. Most callees would expect nil here, not a `UIImage` object when there is no photo