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 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]