On Jul 11, 2014, at 5:35 AM, Bill Cheeseman wrote: > > > 4. In -awakeFromNib or equivalent, set up the initial expanded/collapsed > state of rows in the outline view only once, at first launch on a given > computer. Thereafter, leave it to the datasource methods to expand or > collapse the outline view at launch based on the autosaved information from a > previous run.
Also, don't use the presence or absence of the autosaved prefs item as an indicator of whether you've autoexpanded already, because the pref only saves the array of expanded items and if everything's collapsed, it'll just remove the pref entirely. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com