• 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: [ NSSplitview ] -setAutosaveName
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: [ NSSplitview ] -setAutosaveName
      • From: Kyle Sluder <email@hidden>
References: 
 >[ NSSplitview ] -setAutosaveName (From: Erg Consultant <email@hidden>)
 >Re: [ NSSplitview ] -setAutosaveName (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: NSAttributedString -size Crash
  • Next by Date: Re: NSTableViewSelectionHighlightStyleSourceList interferes with custom NSBrowserCell drawing
  • Previous by thread: Re: [ NSSplitview ] -setAutosaveName
  • Next by thread: Re: [ NSSplitview ] -setAutosaveName
  • Index(es):
    • Date
    • Thread