• 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: How to control the commit of text edit field with binding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to control the commit of text edit field with binding?


  • Subject: Re: How to control the commit of text edit field with binding?
  • From: James Bucanek <email@hidden>
  • Date: Sat, 6 May 2006 17:02:58 -0700

Jordan Krushen wrote on Saturday, May 6, 2006:

>On 5/6/06, James Bucanek <email@hidden> wrote:
>
>> >Isn't that exactly what NSUserDefaultsController's
>> >-setAppliesImmediately:, -hasUnappliedChanges, -revert, -save etc. do?
>
>> Someone already posted that NSUserDefaultsController will do this. I was disappointed that this feature was only
>supported for NSUserDefaults but not for any other kind of NSController, specifically NSObjectController, and
>therefore not supported for any other kinds bindings. Nor is it inherintly supported by the binding technology in
>general.
>
>I thought that's what you were going for, just wanted to be sure.

Well, it was and it wasn't. The NSUserDefaults problem was what I originally posted about. But later there were proposals for how to deal with this in a more generlized mannor.

>Presumably, the best thing to do here would be a feature request for
>that functionality in NSObjectController.

I like that idea! Have someone else solve the problem for me -- and every other Cocoa programmer -- before I even get to it! Consider it done.

--
James Bucanek
 _______________________________________________
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

References: 
 >Re: How to control the commit of text edit field with binding? (From: "Jordan Krushen" <email@hidden>)

  • Prev by Date: Re: How to control the commit of text edit field with binding?
  • Next by Date: Re: copying views how to but change 1 w/o changing the other?
  • Previous by thread: Re: How to control the commit of text edit field with binding?
  • Next by thread: Re: How to control the commit of text edit field with binding?
  • Index(es):
    • Date
    • Thread