Re: @property problem
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