Re: Document-Based Application
Re: Document-Based Application
- Subject: Re: Document-Based Application
- From: Jeffrey Oleander <email@hidden>
- Date: Sun, 26 Jul 2009 23:14:09 -0700 (PDT)
> On Mon, 2009/07/27, Graham Cox <email@hidden> wrote:
> From: Graham Cox <email@hidden>
> Subject: Re: Document-Based Application
> To: "David Blanton" <email@hidden>
> Cc: "cocoa-dev" <email@hidden>
> Date: Monday, 2009 July 27, 00:10
>> On 2009/07/27, at 2:09 PM, Quincey Morris wrote:
>>> On 2009 Jul 26, at 20:39, David Blanton wrote:
>>> I have 22 file types, each with its own C++
>>> methods for extracting its data.
>>>
>>> Now, I could use just one subclass of NSDocument
or you could have 22 classes, and use setDelegate
in your NSDocument sub-class to control which one
gets used for each file.
_______________________________________________
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