• 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: There's obviously something I don't understand about autorelease.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: There's obviously something I don't understand about autorelease.


  • Subject: Re: There's obviously something I don't understand about autorelease.
  • From: Richard Somers <email@hidden>
  • Date: Sat, 17 Mar 2012 19:10:20 -0600

On Mar 17, 2012, at 6:12 PM, Roland King wrote:

> So often I find I start with
>
> @synthesize foo=_foo;
>
> and by the time I get to the end of the project I've written custom foo: and setFoo: methods which do something else too.

I have also done that but I recently read a blog where the writer recommends "Do not override @synthesized properties with your own code: use @dynamic properties instead ...".

     http://wiki.akosma.com/Objective-C_Code_Standards

I would be curious if anyone else has an opinion on that one way or the other.

--Richard


_______________________________________________

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: There's obviously something I don't understand about autorelease.
      • From: Roland King <email@hidden>
    • Re: There's obviously something I don't understand about autorelease.
      • From: Eeyore <email@hidden>
References: 
 >Re: There's obviously something I don't understand about autorelease. (From: G S <email@hidden>)
 >Re: There's obviously something I don't understand about autorelease. (From: Roland King <email@hidden>)

  • Prev by Date: Re: There's obviously something I don't understand about NSDate.
  • Next by Date: Re: There's obviously something I don't understand about autorelease.
  • Previous by thread: Re: There's obviously something I don't understand about autorelease.
  • Next by thread: Re: There's obviously something I don't understand about autorelease.
  • Index(es):
    • Date
    • Thread