• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSView subclass bindings? NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >NSView subclass bindings? NSTextView? (From: Terrence Talbot <email@hidden>)

  • Prev by Date: Re: Apple Human Interface values?
  • Next by Date: Re: NSArrayController population
  • Previous by thread: Re: NSView subclass bindings? NSTextView? (WebView?)
  • Next by thread: drag and drop in same app
  • Index(es):
    • Date
    • Thread