Hi,

with

        ps = ABPerson.alloc.initWithVCardRepresentation(data)  # MacRuby syntax 
;-)

the generated person is added automatically to the AdressBook database, in 
opposite to:

        ps = ABPerson.alloc.init  # not added
        ABAddressBook.sharedAddressBook.addRecord(ps) # now it is added

My question is: How can I call initWithVCardRepresentation without adding the 
person to the database?

Bernd

P.S.:  I’m not sure, but I think that this is a new behavior in 10.6, I cannot 
remember this issue in 10.5..._______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to