alexrothenberg / motion-addressbook

MIT License
89 stars 30 forks source link

__NSCFData class crashes REPL #29

Closed spnkr closed 11 years ago

spnkr commented 11 years ago

on the REPL:

AddressBook::Person.all[0].photo crashes

d = AddressBook::Person.all[0].photo;d.class.to_s works fine and yields => "__NSCFData"

alexrothenberg commented 11 years ago

Fixed with @spnkr pull #30. Will be in the next gem release.

alexrothenberg commented 11 years ago

For semantic versioning reasons I reverted photo to the old behavior returning an NSData and introduced a new method photo_image with @spunkr's enhancement to return a UIImage.