Re: NSView subclass bindings? NSTextView?
Re: NSView subclass bindings? NSTextView?
- Subject: Re: NSView subclass bindings? NSTextView?
- From: Scott Anguish <email@hidden>
- Date: Mon, 10 Nov 2003 00:49:02 -0500
On Nov 9, 2003, at 8:58 PM, Terrence Talbot wrote:
Are there examples/documentation for each view-specific binding in IB?
Barring that, can anyone shed some light on the non-obvious bindings?
The example projects tell us that NSColor information needs a data
transformation. Ok. What about data for other views?
That's not entirely true. You only need a data transformer to store
an NSColor in the preferences.
I see that NSTextView is listed in the documentation as a supported
view. Its relevant bindings appear to be data, valuePath, and
valueURL. The tool tip for the data binding says that this is for an
NSTextStorage object. Makes sense, but how do you hook that up? I've
tried several of the obvious ways I could think of and each each fails
in its own unique way.
How do the NSTextView bindings work? Or, even better, is there a
summary for all the view classes?
They do work... although, I've heard that there may be issues when
binding to data if the NSTextView allows multiple fonts.. issues like
the nib going south. backup if you're concerned.
Detailed docs on the bindings are in progress.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.