• 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: Sorting an editable tableView of managed object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting an editable tableView of managed object


  • Subject: Re: Sorting an editable tableView of managed object
  • From: Steve Cronin <email@hidden>
  • Date: Sat, 04 Jul 2009 21:12:13 -0500

Matt;

Thanks that did the trick!

I didn't add the binding because I only want to add bindings when I understand the value of doing so.
In this case the table column headers all performed their various sorts as expected without the bindings - hence no bound sortDescriptors.


Adding the binding does get the UI job done but leaves me at a dead end in my understanding of why the code I submitted doesn't accomplish my goal!

Thanks for your time and help!
Steve


On Jul 4, 2009, at 5:51 PM, Matt Neuburg wrote:

On Fri, 03 Jul 2009 17:00:59 -0500, Steve Cronin <email@hidden>
said:
Folks;

I have a simple one column tableView of a managed object.
The text field in the table view is editable.
I want to keep the table sorted when the user manually changes a value,
//there is NO binding to a sortDesctiptor

Why not? If there were, then you would just tell the array controller to
rearrangeObjects - a one-liner. m.


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings




_______________________________________________

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


References: 
 >Re: Sorting an editable tableView of managed object (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Sorting an editable tableView of managed object
  • Next by Date: Yet another memory management question
  • Previous by thread: Re: Sorting an editable tableView of managed object
  • Next by thread: Re: Sorting an editable tableView of managed object
  • Index(es):
    • Date
    • Thread