#417: can't access vCardRepresentation.bytes of ABPerson -------------------------------------+-------------------------------------- Reporter: vilan...@… | Owner: lsansone...@… Type: defect | Status: closed Priority: major | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: pointer | -------------------------------------+-------------------------------------- Changes (by lsansone...@…):
* status: new => closed * resolution: => fixed * milestone: => MacRuby 0.5 Comment: I suspect you are using MacRuby 0.5 beta1. This bug has been fixed in trunk since a few days (you can install the latest nightly build from http://macruby.icoretech.org/): {{{ $ macruby -e "framework 'AddressBook'; p ABAddressBook.sharedAddressBook.people.first.vCardRepresentation.bytes" #<Pointer:0x2003768c0> }}} Note that this returns you a Pointer instance, which behaves like an Array of bytes. If you want to save the data on disk I recommend using the NSData object. -- Ticket URL: <http://www.macruby.org/trac/ticket/417#comment:1> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel