Where to store document window specific setup data
Where to store document window specific setup data
- Subject: Where to store document window specific setup data
- From: Markus Spoettl <email@hidden>
- Date: Tue, 17 Jun 2008 18:36:11 -0700
Hello List,
this is probably something that sounds stupid but as I'm new to the
Mac, I'm not entirely sure how this is done right. I have a design
decision to make on how (or even if) to store window setup data.
I have a document base application. The document window has a couple
of user-customizable properties such as splitter widths and whether
certain views are shown. The user can also change properties on how
the data is presented. This all is represented in the UI by various
split views, sliders, buttons, checkboxes, the window location and
size and so forth.
I'm wondering if there was a design guide on how to store those kind
of things. Does a document usually restore it's entire window state
independently, is it stored only once globally (so last closed wins)
or something entirely different?
Also, if that data is it stored on a per document basis, is it stored
as a part of the document data or in the user defaults data. Storing
in the user default database (or someplace else) would remember all
documents opened by a user but not influence the look and feel if its
opened by someone or somewhere else.
Thanks for any input!
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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