Re: Binding NSMenuItem state in Document-based app

2008-06-10 Thread Steve Nicholson
On 2008 Jun, 09, at 12:57, Quincey Morris wrote: Doing this through bindings involves re-inventing a bit of stuff that NSResponder normally takes care of, but it need not be too difficult. For example, you could Or something like that. On Jun 9, 2008, at 3:04 PM, Jerry Krinock

Binding NSMenuItem state in Document-based app

2008-06-09 Thread Steve Nicholson
I have a document-based app in which I'm trying to bind the state of NSMenuItems to values in my document's window controller. For example, in the window's nib file, I have a checkbox bound to File's Owner/autoscaleX. I'd like the menu item to have the same functionality as that check box

Re: Binding NSMenuItem state in Document-based app

2008-06-09 Thread Quincey Morris
On Jun 9, 2008, at 11:07, Steve Nicholson wrote: I have a document-based app in which I'm trying to bind the state of NSMenuItems to values in my document's window controller. For example, in the window's nib file, I have a checkbox bound to File's Owner/autoscaleX. I'd like the menu item

Re: Binding NSMenuItem state in Document-based app

2008-06-09 Thread Jerry Krinock
On 2008 Jun, 09, at 12:57, Quincey Morris wrote: Doing this through bindings involves re-inventing a bit of stuff that NSResponder normally takes care of, but it need not be too difficult. For example, you could Or something like that. Well, last year sometime I wanted to bind some