On Sun, May 31, 2009 at 4:02 PM, Erg Consultant
<erg_consult...@yahoo.com> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to