• 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: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?


  • Subject: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
  • From: mmalc crawford <email@hidden>
  • Date: Wed, 08 Oct 2008 10:21:49 -0700


On Oct 8, 2008, at 10:16 AM, Sean McBride wrote:

That was a nice summary, thanks.

Cheers.

So does the same advice apply for init methods? That is: set ivars
directly (unless there is no ivar, in which case you have no choice but
to call the setter).


Yes.

mmalc

_______________________________________________

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


  • Follow-Ups:
    • Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
      • From: "Sean McBride" <email@hidden>
References: 
 >In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ? (From: "Lee, Frederick" <email@hidden>)
 >Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ? (From: mmalc crawford <email@hidden>)
 >RE: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ? (From: "Lee, Frederick" <email@hidden>)
 >Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ? (From: mmalc crawford <email@hidden>)
 >Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
  • Next by Date: Re: Where is close/cancel icon used in search field & Safari etc.
  • Previous by thread: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
  • Next by thread: Re: In dealloc(): ref @property, Can I use "<property object> = nil; " vs "[<property object> release]; " ?
  • Index(es):
    • Date
    • Thread