Re: AddressBook/NSTableView Signal 11 crash
Re: AddressBook/NSTableView Signal 11 crash
- Subject: Re: AddressBook/NSTableView Signal 11 crash
- From: Josh Kritner <email@hidden>
- Date: Fri, 7 Oct 2005 09:17:00 -0400
That did it, works great now.
Thanks
--
Josh
On 10/7/05, Yann Bizeul <email@hidden> wrote:
> Hi,
>
> You should retain book if you use it as an instance variable :
> book = [[ABAddressBook sharedAddressBook]retain];
>
> Or instead of using iv book, replace it by [ABAddressBook
> sharedAddressBook] in your code.
>
> Same mistake apply to iv "buddies" it is not retained and is
> crashing when you use it for the second time.
>
> You should read the memory management documentation on ADC :
> http://developer.apple.com/documentation/Cocoa/Conceptual/
> MemoryMgmt/MemoryMgmt.html
>
> Regards,
>
> Yann Bizeul • yann at tynsoe.org
> Cocoa Developer
>
> Tynsoe Projects
> BuddyPop • GeekTool • SSH Tunnel Manager • ...
> http://projects.tynsoe.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden