• 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
Editing multiple selections with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Editing multiple selections with bindings


  • Subject: Editing multiple selections with bindings
  • From: email@hidden
  • Date: Tue, 01 Jan 2013 23:05:30 -0800

I have an application where a user can select multiple rows of data from an NSArrayController and edit those rows from a detail view. Now, there are cases where users have inadvertently changed the values for multiple rows of data when they did not intend to. How can I warn a user when they enter a texfield or nscombobox that they are about to edit multiple rows of data and gracefully give them a way to back out? I noticed that there is no way to discard editing when in a textfield. Is that the case? I am using the control: textShouldEndEditing: delegate method which allow me to get 90% of the way there, but the textfield retains focus, and I can not tab out of the field without getting my warning. Ideally, pressing "esc" should allow me to discard any editing and make the field lose focus.

Thoughts?

Thanks,
Patrick
_______________________________________________

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: Editing multiple selections with bindings
      • From: Keary Suska <email@hidden>
    • Re: Editing multiple selections with bindings
      • From: Kévin Vavelin <email@hidden>
  • Prev by Date: Re: Dumb ARC question
  • Next by Date: Re: Editing multiple selections with bindings
  • Previous by thread: Re: Dumb ARC question
  • Next by thread: Re: Editing multiple selections with bindings
  • Index(es):
    • Date
    • Thread