Unrecognized document type
Unrecognized document type
- Subject: Unrecognized document type
- From: "McLaughlin, Michael P." <email@hidden>
- Date: Tue, 17 May 2011 15:24:38 -0400
- Acceptlanguage: en-US
- Thread-topic: Unrecognized document type
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];
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.
As a test, I even called
[NSDocumentController sharedDocumentController] documentClassNames]
to see what it thought the corresponding classes were supposed to be and all
came out correct.
Yet, I still get this error. To make matters worse, I have another project
with analogous code that works perfectly.
Can anyone offer a tip as to where to look next? [I have tried cleaning and
rebuilding to no avail.]
TIA.
--
Mike McLaughlin
_______________________________________________
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