• 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
Multiple Document Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Document Question


  • Subject: Multiple Document Question
  • From: Mike Burns <email@hidden>
  • Date: Tue, 15 May 2007 11:13:38 -0400

I've begun work on a World Builder-esque application which allows users to create their own adventure games. (More as a learning experience than anything.)

Being somewhat new to Cocoa and document-based application, I have a fundamental question regarding the use of NSDocument. In my application, the main document is called WBProjectDocument -- it holds everything in the project and saves it to a .proj file with NSKeyedArchiver. Now within this project you can create and open objects, scenes, scene scripts, global scripts, etc. Although all these things will be saved in the main project file (i.e. I don't need/want to be able to save a scene as it's own file) I am wondering what is the proper way to handle these sub-document objects. Should I create a WBSceneDocument and a WBObjectDocument, or is having more then one document like that problematic?

Thanks!
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Re: Out-of-bounds error when removing entry from NSForm
  • Next by Date: Re: Out-of-bounds error when removing entry from NSForm
  • Previous by thread: re:Counting NSMutableSet
  • Next by thread: Re: Multiple Document Question
  • Index(es):
    • Date
    • Thread