• 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: Jens Alfke <email@hidden>
  • Date: Tue, 12 Feb 2008 11:14:07 -0800


On 12 Feb '08, at 7:58 AM, Sean McBride wrote:

Could you elaborate?  If I subclass NSView and add an ivar named
"_sisterView" then in some future SDK NSView.h also gets a _sisterView
ivar, wouldn't there be a compiler error?

Yes, but not a runtime error, and it wouldn't break binary compatibility. So it wouldn't affect users, only you (or other people using your source code), and it's easy to fix with a quick Refactor command.


Unlike a method-name conflict, which _would_ break existing binary copies of your app, in strange and hard-to-predict ways.

—Jens

_______________________________________________

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>)

  • Prev by Date: Re: NSStatusItem setHighlightMode throws NSInternalInconsistencyException on PowerPC ONLY (Works on Intel)
  • Next by Date: Re: Repetitive Appending of Strings
  • Previous by thread: Re: @property problem
  • Next by thread: Re: @property problem
  • Index(es):
    • Date
    • Thread