It's my understanding that specifying an Autosave name and checking "Column Information" to be autosaved in IB on an NSTableView should be the same as sending the setAutosaveTableColumns:YES method to that table. And for the most part they seem to be similar, except when it comes to saving sort orderings.

If I check the box in IB, column positions, widths and sort orderings are saved, but sort orderings are not loaded from preferences when the NIB is loaded. If I send setAutosaveTableColumns:YES in my awakeFromNib in place of checking the box in IB, column positions, widths and sort orderings are saved and all are restored properly when the NIB is loaded.

If I check the box in IB _and_ send setAutosaveTableColumns:YES in my awakeFromNib then I get the same behavior as checking the box alone.

Am I missing something here or is this a bug?

This is under Leopard 10.5.5 with Xcode 3.1.1, GC-enabled.

Ashley Clark

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to