IB's autosave column information vs. -setAutosaveTableColumns:
IB's autosave column information vs. -setAutosaveTableColumns:
- Subject: IB's autosave column information vs. -setAutosaveTableColumns:
- From: Ashley Clark <email@hidden>
- Date: Tue, 23 Sep 2008 17:13:04 -0500
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 (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