• 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
restoring NSSplitView divider's position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

restoring NSSplitView divider's position


  • Subject: restoring NSSplitView divider's position
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 3 Sep 2009 15:00:42 -0700

i have a multi-document, multi-window app and i'm getting ready to use NSSplitView for the first time.

from reading the docs and searching at cocoadev, i don't see how to get the current position of the divider so that i can save it, and later restore it on subsequent launches of my app/document/windows.

i can't use autoSave as this is a document/window attribute and not an attribute of the app. ie, each window for each doc can and should remember the divider's position.

thanx,
ken

ps. i do see the method for setting the divider's position... i just don't see how to get the current position for saving.

_______________________________________________

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


  • Follow-Ups:
    • Re: restoring NSSplitView divider's position
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: Does -[NSFileManager attributesOfItemAtPath:error:] traverse symlinks?
  • Next by Date: Default authorization dialog text in Snow Leopard misleading
  • Previous by thread: Re: NSUserDefaults
  • Next by thread: Re: restoring NSSplitView divider's position
  • Index(es):
    • Date
    • Thread