On Tue, May 17, 2011 at 12:24 PM, McLaughlin, Michael P.
<mp...@mitre.org> wrote:
> With Xcode 3.2.6, I am getting the (well-discussed) error
>
> The OutType type doesn't map to any NSDocumentClass.
>
> after
>
> theOutDoc = [[NSDocumentController sharedDocumentController]
>    makeUntitledDocumentOfType:@"OutType" error:outError];

You should be using the document type's UTI here. The old-style
NSDocument type names are deprecated.

>
> I cannot see where I went wrong.  My AppDelegate plist shows the four types
> of documents that the app is supposed to recognize, all with correct names.

You mean your Info.plist. Post that here so we can make sure you've
filled out all the appropriate keys.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to