restoring NSSplitView divider's position
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