> On Mon, 2009/07/27, Graham Cox <[email protected]> wrote:
> From: Graham Cox <[email protected]>
> Subject: Re: Document-Based Application
> To: "David Blanton" <[email protected]>
> Cc: "cocoa-dev" <[email protected]>
> 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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]