• 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: NSTableView and NSArrayController: modifying values does not change sort order
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView and NSArrayController: modifying values does not change sort order


  • Subject: Re: NSTableView and NSArrayController: modifying values does not change sort order
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 17 Sep 2004 16:17:13 +0200

At 16:02 Uhr +0200 17.09.2004, Frederick Cheung wrote:
One suggestion: Make it slightly delayed, using a Timer, so if your users want to edit three items in a row they don't have to scroll back each time. It should also *not* re-sort at all while an item is being edited.

This is indeed much better from the usability point of view, although it does entail figuring out when the user is editing an entry, which I am currently blissfuly ignorant of (I suppose one would do this via the textfields' delegates or the appropriate notification)

Yeah, shouldn't be too hard. I think there's "editedRow" or something like that which lets you determine whether you're currently editing. So simply check that in your timer, and if it is, have it fire 3 seconds later or so. And also postpone the timer from your setObjectValue:forTableColumn:row: method.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: NSTableView and NSArrayController: modifying values does not change sort order (From: Matt Neuburg <email@hidden>)
 >Re: NSTableView and NSArrayController: modifying values does not change sort order (From: "M. Uli Kusterer" <email@hidden>)
 >Re: NSTableView and NSArrayController: modifying values does not change sort order (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: [Q] Bindings, FilteringController and KVC compliance
  • Next by Date: Re: Another FilteringController question for mmalc
  • Previous by thread: Re: NSTableView and NSArrayController: modifying values does not change sort order
  • Next by thread: How to get system volume path ?
  • Index(es):
    • Date
    • Thread