Using NSController inside an Interface Builder inspector?
Using NSController inside an Interface Builder inspector?
- Subject: Using NSController inside an Interface Builder inspector?
- From: Jonathan Wight <email@hidden>
- Date: Tue, 8 Nov 2005 16:46:29 -0500
I am trying to speed up development of an Interfacer Builder palette
by using NSController/bindings for the Inspector window of the edited
view.
I was binding the GUI elements to the 'object' property of IB
inspector. The values were changing but IB refused to update the
edited view until i called "ok:" on the IB inspector. The only way I
could really figure out to do that was to subclass my
NSObjectController and override setValue:forKeyPath: causing it to
call the IB inspector's ok: method whenever a value changed.
That actually works fine for some properties - however any property
that is linked to a text field causes the stack to explode...
Changing a value triggers the NSController, which calls ok, which
causes the text field to send another "text field did change" event
to the controller...
So I guess what I am trying to say is - has anyone successfully used
NSController in an IB Inspector Palette?
Regards.
Jon.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden