• 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: Synthesized versus Explicit *instance variables*.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Synthesized versus Explicit *instance variables*.


  • Subject: Re: Synthesized versus Explicit *instance variables*.
  • From: Charles Steinman <email@hidden>
  • Date: Wed, 8 Oct 2008 11:20:44 -0700 (PDT)

--- On Wed, 10/8/08, Lee, Frederick <email@hidden> wrote:

> Your answer got me thinking about Synthesized versus
> Explicit Instance
> Variables.
>
> I've been using Synthesized-Explicit Instance
> Variables.
> That is, explicitly declaring iVars AND per ObjC_2, using
> @property/@synthesize
> directive to build the assessors.
>
> Is there any benefit of using non-explicit/Synthesized
> Instance
> Variables that you had mentioned?

Those are synthesized *accessors*. Synthesized *instance variables*, which mmalc was talking about, are a feature of the 64-bit Objective-C runtime where the @synthesize directive can create instance variables that aren't declared in the interface.

Cheers,
Chuck



_______________________________________________

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

References: 
 >Synthesized versus Explicit *instance variables*. (From: "Lee, Frederick" <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 5, Issue 1743
  • Next by Date: Re: NSIndexSet isEqual: sent to deallocated instance
  • Previous by thread: Synthesized versus Explicit *instance variables*.
  • Next by thread: corrupt coredata DB
  • Index(es):
    • Date
    • Thread