• 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
Re: How to autosave NSSplitView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to autosave NSSplitView? (From: "Leo Prete" <email@hidden>)

  • Prev by Date: Re: Drawing elliptical curve using NSBezierPath
  • Next by Date: Re: assigning the same keyboard command to more than one menu item
  • Previous by thread: Re: How to autosave NSSplitView?
  • Next by thread: NSWindow customized texture
  • Index(es):
    • Date
    • Thread