• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Memeory mgmt - quartz and cocoa objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: What to pack to deliver?
  • Next by Date: Getting date and time in regional language
  • Previous by thread: Re: What to pack to deliver?
  • Next by thread: Getting date and time in regional language
  • Index(es):
    • Date
    • Thread