• 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: Problem with bound text field in accessory panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with bound text field in accessory panel


  • Subject: Re: Problem with bound text field in accessory panel
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 11 May 2011 19:47:21 -0700

On Wed, May 11, 2011 at 6:26 PM, Gideon King <email@hidden> wrote:
> Hi, I have a text field which is used in a save panel accessory when exporting files from my program. It is bound to the user defaults, and has continuous updating of values turned on so that if the user presses Return to complete the save operation, I still have the current value even though the text field end editing is bypassed.

The better way to do this might be to call -commitEditing on the user
defaults controller in your panel delegate's -windowWillClose:
implementation.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with bound text field in accessory panel
      • From: Gideon King <email@hidden>
    • Re: Problem with bound text field in accessory panel
      • From: Kyle Sluder <email@hidden>
References: 
 >Problem with bound text field in accessory panel (From: Gideon King <email@hidden>)

  • Prev by Date: Re: Problem with bound text field in accessory panel
  • Next by Date: Re: Problem with bound text field in accessory panel
  • Previous by thread: Re: Problem with bound text field in accessory panel
  • Next by thread: Re: Problem with bound text field in accessory panel
  • Index(es):
    • Date
    • Thread