Re: where to place document file extensions frameworks vs. main target
Re: where to place document file extensions frameworks vs. main target
- Subject: Re: where to place document file extensions frameworks vs. main target
- From: Christian Schneider <email@hidden>
- Date: Fri, 4 Mar 2005 13:24:04 +0100
Hi,
to answer myself at least partly:
On Fri, 4 Mar 2005 12:08:11 +0100, Christian Schneider
<email@hidden> wrote:
> Hi all,
>
> I have implemented a document subtype in a framework .
>
> Now, I am trying to call -openDocumentWithContentsOfFile:display: on
> the shared document controller but -initWithContentsOfFile:ofType:
> doesn't get called. The extension-to-document class-mapping is defined
> both in my main target and in the target for the framework. What else
> could go wrong here?
>
it seems that the mapping defined in the main target is used. Also,
specifying the extension in the target inspector with a leading dot
(e.g .clip instead of clip) can go wrong ;-)
chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden