• 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: Keyword @defs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keyword @defs


  • Subject: Re: Keyword @defs
  • From: Bill Bumgarner <email@hidden>
  • Date: Mon, 30 Nov 2009 13:06:25 -0800

On Nov 30, 2009, at 12:50 PM, Dennis Munsie wrote:

> Not that I'm advocating it, but you can also declare a field as @public to allow you to access it via the -> operator.  Of course, I could be missing some compiler magic going on behind the scene as well, and it may not actually be the same speed wise as @defs was.

The compiler preserves the "non-fragile" part of "non-fragile ivars" when using the -> operator.

> Not to mention that it's just plain nasty :)

Yup, that it is.

b.bum

_______________________________________________

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: Keyword @defs
      • From: Ben Haller <email@hidden>
References: 
 >Re: Keyword @defs (From: Oftenwrong Soong <email@hidden>)
 >Re: Keyword @defs (From: Bill Bumgarner <email@hidden>)
 >Re: Keyword @defs (From: Dennis Munsie <email@hidden>)

  • Prev by Date: Re: Keyword @defs
  • Next by Date: Re: Core Data - any way to back it with something other than SQLite 3?
  • Previous by thread: Re: Keyword @defs
  • Next by thread: Re: Keyword @defs
  • Index(es):
    • Date
    • Thread