RE: Methods that return autoreleased objects?
RE: Methods that return autoreleased objects?
- Subject: RE: Methods that return autoreleased objects?
- From: "Omar Qazi" <email@hidden>
- Date: Sat, 28 Jun 2008 21:14:03 -0700
- Importance: normal
- Thread-topic: Methods that return autoreleased objects?
Well theres no way to know, unless it's specifically mentioned in the documentation, but it really shouldn't matter. If you need the object retain it, if you don't let someone else worry about it.
-----Original Message-----
From: john muchow <email@hidden>
Sent: Saturday, June 28, 2008 5:24 PM
To: email@hidden <email@hidden>
Subject: Methods that return autoreleased objects?
The last thread that I saw on this topic was dated sometime in
2004....if there is something more recent that I didn't find, I
apologize up front...
I realize nothing has probably changed as far as the API and the
documentation to indicate autoreleased methods, however, can someone
provide any insight as to how one knows if a method from a framework
returns an autoreleased object?
Thanks
John
MacDeveloperTips.com
_______________________________________________
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