• 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: Disabling sorting in a programatically generated table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disabling sorting in a programatically generated table


  • Subject: Re: Disabling sorting in a programatically generated table
  • From: Keary Suska <email@hidden>
  • Date: Sat, 31 Jan 2009 11:19:03 -0700


On Jan 30, 2009, at 10:39 AM, Ken Tozier wrote:


On Jan 30, 2009, at 10:52 AM, Keary Suska wrote:

When you call -bind: do you pass NSCreatesSortDescriptorBindingOption NO?

I'm not calling bind, because the array controller and array are created inside the same function, so it just seemed bass ackward to write an accessor for something I can just set directly with [controller setContent: tableData]. I looked at the NSArrayController docs again and didn't see any method that approximates NSCreatesSortDescriptorBindingOption other than


[controller setSortDescriptors: nil];
[controller setAutomaticallyRearrangesObjects: NO];


You don't have a binding between the table view and the array controller?

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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: Disabling sorting in a programatically generated table [SOLVED]
      • From: Ken Tozier <email@hidden>
References: 
 >Disabling sorting in a programatically generated table (From: Ken Tozier <email@hidden>)
 >Re: Disabling sorting in a programatically generated table (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Core Data, Garbage Collection and SQL Store
  • Next by Date: Re: Newbie Object Sharing Question
  • Previous by thread: Re: Disabling sorting in a programatically generated table
  • Next by thread: Re: Disabling sorting in a programatically generated table [SOLVED]
  • Index(es):
    • Date
    • Thread