Re: App crashes on thread exit
Re: App crashes on thread exit
- Subject: Re: App crashes on thread exit
- From: Cameron Hayne <email@hidden>
- Date: Sun, 13 Oct 2002 10:58:46 -0400
On 13/10/02 4:47 am, "Fabio Genoese" <email@hidden> wrote:
>
Where should I retain ivars? Sorry, I come from the Java side. I did
>
some Cocoa-Java stuff before so Cocoa isn't that new to me but the
>
whole alloc/retain/release stuff somewhat is.
You should go and read the articles at
http://www.stepwise.com/StartingPoint/Cocoa.html
about memory management. As a basic rule of thumb, you need to retain all
ivars that you have not alloc'd yourself. You do this when they are
initialized.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.