• 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: Persistence of Sort Orderings in NSTableView using Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistence of Sort Orderings in NSTableView using Bindings


  • Subject: Re: Persistence of Sort Orderings in NSTableView using Bindings
  • From: "Ryan Poling" <email@hidden>
  • Date: Fri, 15 Dec 2006 10:19:41 -0800

Thanks for the tip...  Unfortunately, it wasn't quite enough to get the
problem figured out.  Anyone else care to chime in?  I do have the
autosave names set in IB, and the sort order seems to be saved to my
preferences plist as data.  However, I couldn't figure out how to
restore the sort ordering.  No dice...

Thanks,

-Ryan

Date: Tue, 12 Dec 2006 17:25:31 -0500
From: Dave Teare
Subject: Re: Persistence of Sort Orderings in NSTableView using
	Bindings
To: Cocoa Dev <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

AFAIK the your table order won't be automatically restored.  You need
to call rearrangeObjects on your controller.

Also, note that on tables you need to set the autosaveName and
setAutosaveTableColumns if you want the table column order/size
remembered.

HTH.
--Dave.

-Ryan

Ryan Poling

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

  • Prev by Date: Re: NSFileManager & Root Permissions
  • Next by Date: Slider in menu (like System Volume)
  • Previous by thread: Re: NSConcreteMutableData and valueForKey
  • Next by thread: Slider in menu (like System Volume)
  • Index(es):
    • Date
    • Thread