Re: NSMenuItem target binding
Re: NSMenuItem target binding
- Subject: Re: NSMenuItem target binding
- From: Kai BrĂ¼ning <email@hidden>
- Date: Fri, 16 Nov 2007 17:55:21 +0100
>On Nov 15, 2007, at 2:34 PM, email@hidden wrote:
>
>>Date: Thu, 15 Nov 2007 14:33:49 -0700
>>From: Keary Suska <email@hidden>
>>Subject: Re: NSMenuItem target binding
>>To: "Cocoa-Dev (Apple)" <email@hidden>
>>Message-ID: <C362094D.19728%email@hidden>
>>Content-Type: text/plain; charset="US-ASCII"
>>
>>on 11/15/07 4:28 AM, email@hidden purportedly said:
>>
>>>IB (both 2.5 and 3) allows to setup a target binding for NSMenuItem,
>>>complete with parameters.
>>>
>>>But NSMenuItem seems not to support this binding:
>>>
>>>- It is not specified in Cocoa Bindings Reference.
>>>- I found the following sentence in the archive of this list: "An
>>>NSMenuItem doesn't have target/argument bindings, so you're still
>>>going
>>>to have to give it a target and an action".
>>>- It simply does not work.
>>>
>>>Bug in IB? Or should it work despite the evidence to the contrary?
>>
>>Since when? My IB has never had these binding options for NSMenuItem, that I
>>recall. Certainly not as of 2.5.4, at least.
>>
>>Best,
>>
>>Keary Suska
>>Esoteritech, Inc.
>>"Demystifying technology for your home or business"
>
>
>They're not binding options. The target and argument bindings work just like the ones for NSButton. They're new to NSMenuItem's in 10.5, so you wouldn't see them in IB on tiger.
Yes, that's true: I checked in IB 3 and IB 2.5, but both running under Leopard.
But I checked the release notes for Leopard, too, and found nothing about this new feature of menu items.
Anyway, so it is as expected that I can setup such bindings in IB, but they won't work when the app is build against the Tiger SDK?
Kai
_______________________________________________
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