Re: Persistence of Sort Orderings in NSTableView using Bindings
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