• 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: Using an alternate sort selector for a bound table column?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using an alternate sort selector for a bound table column?


  • Subject: Re: Using an alternate sort selector for a bound table column?
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 19 May 2005 01:25:12 -0400


On May 18, 2005, at 10:55 PM, The Karl Adam wrote:

I guess by using IB or following the bindings examples. Though sorting isn't part of bindings, it too relies on the sortDescriptors for sorting arrangedObjects. The example code does at least mention it.

    well, there are two ways to sort with table views.

for non-bindings apps, there is a sort descriptor on the table itself.

for bindings apps, you can set a sort descriptor on the array controller. The creates sort descriptor option basically allows you to shut off sorting by clicking on a column heading (which is useful)

if you specify the sort descriptor on the array controller, you can specify the compare (you'll need to create a sort descriptor programmatically, and then either set it on the array controller, or bind it to sortDescriptors)



--
"William Cheeseman ... is said not to be a doofus in real life." - Roger Ebert, Chicago Sun-Times Online


Scott Anguish
email@hidden


_______________________________________________ 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: 
 >Using an alternate sort selector for a bound table column? (From: Jim Correia <email@hidden>)
 >Re: Using an alternate sort selector for a bound table column? (From: The Karl Adam <email@hidden>)
 >Re: Using an alternate sort selector for a bound table column? (From: Jim Correia <email@hidden>)
 >Re: Using an alternate sort selector for a bound table column? (From: The Karl Adam <email@hidden>)

  • Prev by Date: Re: Mac OS X 10.4.1 released - Spotlight importer in application bundle addressed
  • Next by Date: Drag a row and create a file
  • Previous by thread: Re: Using an alternate sort selector for a bound table column?
  • Next by thread: A CoreData Limitation?
  • Index(es):
    • Date
    • Thread