Re: A quick memory (release) question
Re: A quick memory (release) question
- Subject: Re: A quick memory (release) question
- From: John Buckley <email@hidden>
- Date: Tue, 31 Jan 2006 09:26:25 +0000
On 31/01/06, Paul Harvey <email@hidden> wrote:
>
> Is there anywhere that information like this is available? In the
> Xcode built-in apple documentation, you get a brief description of
> the method but no mention of whether it's autoreleased or not. I
> guess there's no magic list somewhere that can be looked up for this
> kind of info?!
Here is Apple's Objective-C memory management doc:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/index.html
There are good books to e.g. http://www.oreilly.com/catalog/objectcpr/
In general you can guarantee that any alloc/init will require you to
release the object yourself. Any +objectWithArgs class method will
return an autoreleased object.
Regards,
John
--
------------------------
Dr. John Buckley
email@hidden
Mac OS X Tiger
------------------------
_______________________________________________
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