• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Multiple Document Types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • RE: Multiple Document Types
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Disclosure triangles?
  • Next by Date: Re: Objective C class prefix
  • Previous by thread: Re: Disclosure triangles?
  • Next by thread: RE: Multiple Document Types
  • Index(es):
    • Date
    • Thread