• 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
Where to store document window specific setup data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Where to store document window specific setup data
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Grand Central Details
  • Next by Date: Re: Grand Central Details
  • Previous by thread: Re: unexpected nil outlet
  • Next by thread: Re: Where to store document window specific setup data
  • Index(es):
    • Date
    • Thread