Re: [ NSSplitview ] -setAutosaveName
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