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

Re: @property problem


  • Subject: Re: @property problem
  • From: Wade Tregaskis <email@hidden>
  • Date: Tue, 12 Feb 2008 11:35:55 -0800

Yes, and that's why I believe Jens is telling you that it's OK to use the same prefix for ivars as anyone else that you're sharing code with: Because any name clashes would be immediately apparent. This in contrast to, for example, method names.

Note that this isn't true in the 64-bit runtime, where ivars don't have to be declared publicly. There, AFAIK, ivars are uniqued by name still, so unexpected clashes are possible (and wouldn't be detected at compile time, necessarily... someone less lazy than me should write some test cases and find out :) ).


Wade
_______________________________________________

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: 
 >@property problem (From: Randall Meadows <email@hidden>)
 >Re: @property problem (From: "Kyle Sluder" <email@hidden>)
 >Re: @property problem (From: Brian Christensen <email@hidden>)
 >Re: @property problem (From: Jens Alfke <email@hidden>)
 >Re: @property problem (From: "Sean McBride" <email@hidden>)
 >Re: @property problem (From: j o a r <email@hidden>)

  • Prev by Date: Re: Repetitive Appending of Strings
  • Next by Date: Re: Problems with keyboard shortcuts without modifiers
  • Previous by thread: Re: @property problem
  • Next by thread: Re: @property problem
  • Index(es):
    • Date
    • Thread