• 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
Re: [iPhone] Addressbook "group" problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Addressbook "group" problem


  • Subject: Re: [iPhone] Addressbook "group" problem
  • From: Luke Hiesterman <email@hidden>
  • Date: Sat, 11 Jul 2009 06:36:42 -0700

The group doesn't have a name when you create it. Try setting the name after creation rather than getting it.

Luke

Sent from my iPhone.

On Jul 11, 2009, at 12:50 AM, James Lin <email@hidden> wrote:

Hi all,

Anyone familiar with the Addressbook framework?

I can't seem to be able to add a "group" into the addressbook only ONCE.

if i use ABRecordRef group = ABGroupCreate(); to get a handle on group,

calling NSString *groupName = (NSString *)ABRecordCopyCompositeName (group);

returns a NULL.

so I can't seem to be able to check if a group name already exists and don't have to re-create the group again.

Can you please help me and point me in the right direction?
How do I create group only "once"?

Thank you and best regards...

James
_______________________________________________

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
_______________________________________________

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


  • Follow-Ups:
    • Re: [iPhone] Addressbook "group" problem
      • From: James Lin <email@hidden>
References: 
 >[iPhone] Addressbook "group" problem (From: James Lin <email@hidden>)

  • Prev by Date: UITextView and UiImageView
  • Next by Date: Re: UITextView and UiImageView
  • Previous by thread: [iPhone] Addressbook "group" problem
  • Next by thread: Re: [iPhone] Addressbook "group" problem
  • Index(es):
    • Date
    • Thread