Re: [ NSSplitview ] -setAutosaveName
Re: [ NSSplitview ] -setAutosaveName
- Subject: Re: [ NSSplitview ] -setAutosaveName
- From: Erg Consultant <email@hidden>
- Date: Sun, 31 May 2009 16:02:51 -0700 (PDT)
Where is it documented? Other than the scant listings for
setAutosaveName: and
autosaveName:
I see no discussion as to what they actually do or how to use them.
________________________________
From: Jim Correia <email@hidden>
To: email@hidden
Sent: Sunday, May 31, 2009 6:19:13 AM
Subject: Re: [ NSSplitview ] -setAutosaveName
On Sat, May 30, 2009 at 11:22 PM, Erg Consultant
<email@hidden> wrote:
> What does setAutosaveName actually do? I assume it saves the position of the splitview to user defaults?
The behavior is documented, succinctly, here:
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/nssplitview_Class/Reference/Reference.html#//apple_ref/occ/instm/NSSplitView/setAutosaveName:
> If so, how does one retrieve that value?
You typically don't, since the actual key and format of the data is a
private implementation detail. NSSplitView will restore the geometry
for you automatically.
Jim
_______________________________________________
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
_______________________________________________
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