Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMenuItem target binding




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.


----------------------------- Ronzilla Core Bindings/Cocoa Builder/Interface Data



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.