Ditto that.

Luke

Sent from my iPhone.

On Jul 12, 2009, at 10:15 PM, Roland King <r...@rols.org> wrote:

ABAddressBookCopyArrayOfAllGroups()?

James Lin wrote:
Hi,
Sorry  I didn't frame my question more clearly...
The part I am having trouble with is finding out if a "group name" already exists in the addressbook, is there a way to do this? the ABGroup documentation has no function that allows this...
any suggestions?
Thank you in advance...
James
On 2009/7/11, at 下午 9:36, Luke Hiesterman wrote:
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 <jamesclin...@gmail.com> 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 (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/luketheh%40apple.com

This email sent to luket...@apple.com
_______________________________________________
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/rols%40rols.org
This email sent to r...@rols.org
_______________________________________________

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