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

Re: Multiple Document Question


  • Subject: Re: Multiple Document Question
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 15 May 2007 15:53:38 -0400

Mike Burns wrote:

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?

NSDocument subclasses carry certain implications that you'd probably be fighting if you tried to use it this way. I think the most common solution to the situation you've got is to have a single document class, but to have multiple view classes that know how to display various components of the document.
_______________________________________________


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


  • Follow-Ups:
    • Re: Multiple Document Question
      • From: "Michael Novak" <email@hidden>
  • Prev by Date: Re: US/non-US localization problem
  • Next by Date: Re: entity referencing self in relationship
  • Previous by thread: Multiple Document Question
  • Next by thread: Re: Multiple Document Question
  • Index(es):
    • Date
    • Thread