• 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: NSEditor, NSEditorRegistration Protocols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEditor, NSEditorRegistration Protocols


  • Subject: Re: NSEditor, NSEditorRegistration Protocols
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 3 Mar 2004 01:44:03 -0500

On Mar 2, 2004, at 8:49 PM, Alan Donsky wrote:

Anybody know about these informal protocols? I am trying to implement an NSView subclass that uses bindings and i think these protocols are involved in telling the controller that the view has changed so it can update the model.


Yes, these are. If you give an example of what you're trying to accomplish, that might be easier to give details of how they'd interact... I think that they're really oriented towards TextFields, TextView, UI elements that can have an incomplete state that doesn't update the bound values continuously.

It seems like a sloppy implementation, and the online documentation sucks.

Feedback would be appreciated at bugreporter.apple.com. An example of this is something that is needed, but demand dictates priorities. (that is, file, or it'll take longer to see this)

How is the view even supposed to send the message to the controller without having an outlet to that controller?

All views have some connection to their controller. The binding is made to that object. There may not be as much of this exposed via public API, but you can certainly
_______________________________________________
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: 
 >NSEditor, NSEditorRegistration Protocols (From: Alan Donsky <email@hidden>)

  • Prev by Date: Re: Changing NSTableView cell editing behaviour
  • Next by Date: Re: NSEditor, NSEditorRegistration Protocols
  • Previous by thread: NSEditor, NSEditorRegistration Protocols
  • Next by thread: Re: NSEditor, NSEditorRegistration Protocols
  • Index(es):
    • Date
    • Thread