Memeory mgmt - quartz and cocoa objects
Memeory mgmt - quartz and cocoa objects
- Subject: Memeory mgmt - quartz and cocoa objects
- From: email@hidden
- Date: Tue, 04 Dec 2007 02:03:29 -0800
Hello
I read the following in apple documentation:
If you do not own an object and you need to keep it around, you must retain it and release it when you?re done with it.
From:
http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/index.html?http://developer.apple.com/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_context/chapter_3_section_2.html
I can't understand what "keep it around means" concretely.
How long is the scope of the object valid? With in a few methods or with in the very one method?
THX
_______________________________________________
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