• 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
IB's autosave column information vs. -setAutosaveTableColumns:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Converting from Carbon Event Manager to NSTimer
  • Next by Date: Re: Properties and bindings
  • Previous by thread: Re: Converting from Carbon Event Manager to NSTimer
  • Next by thread: CALayers inside NSSplitView (clipping issue)
  • Index(es):
    • Date
    • Thread