Re: How to autosave NSSplitView?
Re: How to autosave NSSplitView?
- Subject: Re: How to autosave NSSplitView?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 20 Dec 2006 09:53:36 -0700
On Dec 20, 2006, at 6:11 AM, Leo Prete wrote:
Reading in the archives of this list, a similar question raised some
years ago: how can I autosave the NSSplitView, and in particular
autosave the separation space among Views?
You need to save and then restore the horizontal or vertical sizes of
the subview's split views in the user defaults. When you're done
restoring the sizes, call -adjustSubviews on the split view.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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