• 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
Re: Multiple Types of Documents in a Document Based App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple Types of Documents in a Document Based App


  • Subject: Re: Multiple Types of Documents in a Document Based App
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 23 Jan 2005 12:19:19 -0800


On Jan 23, 2005, at 12:00 PM, Jonathan Jackel wrote:

My plan was to create a new NSDocument subclass with its own UI to manage a list of docs and handle the collection management duties, but I can't even get the app to create a new empty document once I create a second document type. I must be missing something obvious.



Depending on your application architecture, you might subclass NSDocumentController:
<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSDocu entController.html>
see 'makeUntitledDocumentOfType:'


mmalc



_______________________________________________
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 Types of Documents in a Document Based App
      • From: Jonathan Jackel <email@hidden>
References: 
 >Multiple Types of Documents in a Document Based App (From: Jonathan Jackel <email@hidden>)

  • Prev by Date: [Cocoa-Java] Seeking some explanations around an NotSerializableException
  • Next by Date: Re: Application without menu: How to get Cmd-C event?
  • Previous by thread: Multiple Types of Documents in a Document Based App
  • Next by thread: Re: Multiple Types of Documents in a Document Based App
  • Index(es):
    • Date
    • Thread