Multiple Document Types
Multiple Document Types
- Subject: Multiple Document Types
- From: Chris Outwin <email@hidden>
- Date: Tue, 8 Feb 2005 17:59:38 -0600
The Problem:
NSDocumentController's
makeUntitledDocumentOfType returns null
Background:
I am writing a Coca Doc-based app that support multiple types of documents (like AppleWorks allows you to create text documents, spreadsheets, and other types of documents, all in a single application).
What I've Done:
I have an action to load the resource via a main menu selection directed to First Responder. The action flows through to the NSApp delegate. Debug reveals the delegate method is called, but the NSDocument subclass reference remains null. I don't think the document subclass is being found, but I can't understand why.
Questions:
1. Does the plist have to be set up some special way?
2. Are there docs available other than the one paragraph in Apple's Document-Based Applications/Frequently Asked Questions?
_______________________________________________
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