• 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: Kyle Sluder <email@hidden>
  • Date: Sun, 31 May 2009 16:34:40 -0700

On Sun, May 31, 2009 at 4:02 PM, Erg Consultant
<email@hidden> wrote:
> Where is it documented? Other than the scant listings for

Why are you setting the split view's autosave name in code?
99.(completely arbitrary number of 9's)% of the time you set it once
in IB.  That way it has the autosave name when it's unfrozen from the
nib, and can set itself up accordingly.

It sounds like you expect -setAutosaveName: to cause the split view to
load its settings from user defaults and resize itself.  It probably
doesn't do this because the most common (indeed, almost always
appropriate) scenario is for -setAutosaveName: to be called at design
time, within IB.

Go ahead and file a doc bug on -setAutosaveName: anyway.  Either the
reference or the conceptual docs should explain when the autosaved
settings are restored.

--Kyle Sluder
_______________________________________________

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

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

  • Prev by Date: Re: NSAttributedString -size Crash
  • Next by Date: Discovering the default font names and sizes on the iPhone
  • Previous by thread: Re: [ NSSplitview ] -setAutosaveName
  • Next by thread: Re: [ NSSplitview ] -setAutosaveName
  • Index(es):
    • Date
    • Thread