• 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 on floats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sorting on floats


  • Subject: Re: sorting on floats
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 7 Dec 2004 16:59:01 -0800


On Dec 7, 2004, at 3:47 PM, John Spicer wrote:

I've got a table and one of the columns is a money value (float, with $$formatter).
When I click on the column header, it does not sort correctly. It seems to sort on the length (or first digit) instead of the whole value.
I have set the sort descriptor in the nib to compare:


That should Just Work. Compare the "To Dos" example at:
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
What bindings etc. do you have set up for the column? Are you sorting on the float attribute?


mmalc

_______________________________________________
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: 
 >sorting on floats (From: John Spicer <email@hidden>)

  • Prev by Date: Re: delay function
  • Next by Date: applicationShouldTerminate and asynch handling
  • Previous by thread: sorting on floats
  • Next by thread: Re: sorting on floats
  • Index(es):
    • Date
    • Thread