• 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
Re: Small question pertaining to memory management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small question pertaining to memory management


  • Subject: Re: Small question pertaining to memory management
  • From: Clark Cox <email@hidden>
  • Date: Sun, 24 Jan 2010 08:50:01 -0800

On Sun, Jan 24, 2010 at 6:57 AM, Michael de Haan <email@hidden> wrote:
> No...it's not a question about "the rules"!  I know better than to ask that!

But it *is* a question about "the rules".

> Can I **assume** that the originally referenced object   is released in an
> appropriate way, once the copy is created and assigned to "c"?

Just apply the rules as you would to any other object. You didn't
create it by using one of the methods described in the memory
management rules, therefore it is not your responsibility to release
it.

--
Clark S. Cox III
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Small question pertaining to memory management
      • From: Michael de Haan <email@hidden>
References: 
 >Small question pertaining to memory management (From: Michael de Haan <email@hidden>)

  • Prev by Date: Re: Small question pertaining to memory management
  • Next by Date: Re: Small question pertaining to memory management
  • Previous by thread: Re: Small question pertaining to memory management
  • Next by thread: Re: Small question pertaining to memory management
  • Index(es):
    • Date
    • Thread