• 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: Adding members to group in Address book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding members to group in Address book


  • Subject: Re: Adding members to group in Address book
  • From: "Conrad Taylor" <email@hidden>
  • Date: Fri, 18 Jul 2008 01:54:26 -0700

Hi Vijay, I would recommend setting a breakpoint in the relevant method(s)
to determine the locationof the problem.

Good luck,

-Conrad

On Fri, Jul 18, 2008 at 1:50 AM, Conrad Taylor <email@hidden> wrote:

> Hi, you might want to try the following document:
>
> http://developer.apple.com/documentation/UserExperience/Conceptual/AddressBook/AddressBook.pdf
>
> Good luck,
>
> -Conrad
>
> On Thu, Jul 17, 2008 at 10:56 PM, Vijay Kanse <email@hidden>
> wrote:
>
>> Hello,
>> I want to add group and members to group in address book.
>> I have done the following things.
>> ABAddressBook*book = [ABAddressBook SharedAddressBook];
>> ABPerson *person;
>> ABGroup *group = [[[ABGroup alloc] init] autorelease];
>> [group setValue:@"friend" forProperty:kABGroupNameProperty];
>> person = [[[ABPerson alloc] init] autorelease];
>>
>> [person setValue:@"john" forProperty:kABFirstNameProperty];
>> [person setValue:@"ejks' forProperty:kABLastNameProperty];
>>
>> [book addRecord: person];
>>
>> [group addMember: person];
>>
>> [book addRecord:group];
>>
>> [book save];
>>
>> I am not getting the group in address book. addMember and addRecord are
>> returning value true.
>> can anyone tell me what is the problem?
>>
>> _______________________________________________
>>
>> 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

References: 
 >Adding members to group in Address book (From: "Vijay Kanse" <email@hidden>)
 >Re: Adding members to group in Address book (From: "Conrad Taylor" <email@hidden>)

  • Prev by Date: Re: Adding members to group in Address book
  • Next by Date: Re: Flip animation like dashboard widgets
  • Previous by thread: Re: Adding members to group in Address book
  • Next by thread: Re: Adding members to group in Address book
  • Index(es):
    • Date
    • Thread