Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A quick memory (release) question



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >A quick memory (release) question (From: Paul Harvey <email@hidden>)
 >Re: A quick memory (release) question (From: John Buckley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.