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 protected]>
To: [email protected]
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 protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/erg_consultant%40yahoo.com

This email sent to [email protected]



      
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to