• 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: Greg Parker <email@hidden>
  • Date: Sat, 17 Mar 2012 18:53:31 -0700

On Mar 17, 2012, at 6:34 PM, Roland King wrote:
> This leads to my last pet peeve which is that I think property syntax should have always been
>
> 	@property( readwrite, weak, ivar=_foo)	Foo		*foo;
>
> where the underlying ivar for the property, if there is one, is declared as part of the property declaration instead of split into the synthesize directive, but that ship I suspect has sailed a long time ago.

The @property/@synthesize split tries to separate public interface from private implementation details. That's why the ivar is not in the @property.

If you have the Xcode 4.4 developer prerelease, the new synthesize-by-default feature may be close to what you want.


--
Greg Parker     email@hidden     Runtime Wrangler



_______________________________________________

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>
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>)
 >Re: There's obviously something I don't understand about autorelease. (From: Richard Somers <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 autorelease.
  • 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