Re: Private ivars, not marked as IBOutlet, visible in IB
Re: Private ivars, not marked as IBOutlet, visible in IB
- Subject: Re: Private ivars, not marked as IBOutlet, visible in IB
- From: Shane Stanley <email@hidden>
- Date: Tue, 02 Mar 2010 13:18:57 +1100
- Thread-topic: Private ivars, not marked as IBOutlet, visible in IB
On 2/3/10 3:36 AM, "Joanna Carter" <email@hidden> wrote:
>> That is a legacy of Interface Builder on NextStep, from the days before the
>> IBOutlet marker was added.
>
> Heheh, I was afraid if that. Surely it's about time, with all the other
> breaking changes for Snow Leopard, that that got broken as well? :-)
>
>> If you care to try it out, you will find that a method declaration of this
>> form:
>>
>> - (void)doSomething: (did)sender;
>>
>> is viewed by Interface Builder as an IBAction method to which you can connect
>> from some control . . .
>> That's also a legacy feature.
>
> Yup, I'd discovered that one as well but had ignored it as a bad dream ;-)
FWIW, I wouldn't be surprised if both behaviors are what enable
AppleScriptObjC handlers and properties to be used in IB, and perhaps the
same goes for other scripting bridges. So fixing your "bug" might break
several other things rather badly...
--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>
_______________________________________________
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