• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ABPerson initWithVCardRepresentation without addRecord
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ABPerson initWithVCardRepresentation without addRecord


  • Subject: ABPerson initWithVCardRepresentation without addRecord
  • From: B.Ohr <email@hidden>
  • Date: Thu, 31 Dec 2009 14:49:05 +0100

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 (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Alternative KVC accessors
  • Next by Date: Drawing on top of QTCaptureView
  • Previous by thread: Alternative KVC accessors
  • Next by thread: Drawing on top of QTCaptureView
  • Index(es):
    • Date
    • Thread