Re: Multiple Document Question
Re: Multiple Document Question
- Subject: Re: Multiple Document Question
- From: "Michael Novak" <email@hidden>
- Date: Tue, 15 May 2007 16:12:38 -0400
what about core data?
On 5/15/07, Gregory Weston <email@hidden> wrote:
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
_______________________________________________
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