• 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 NSDocument Types in a Document-Based Architecture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple NSDocument Types in a Document-Based Architecture


  • Subject: Re: Multiple NSDocument Types in a Document-Based Architecture
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 10 Jun 2004 12:06:25 +0200

Am 10.06.2004 um 07:57 schrieb Jayme Kosior:

However, I'm not sure how I would instantiate the correct NSDocument
subclass to correspond with a file a random file that is opened.

I'm pretty sure that's covered in the docs ...

http://developer.apple.com/documentation/Cocoa/Conceptual/ AppArchitecture/Concepts/DocumentArchitecture.html

See "Type Information and NSDocumentControllers".

The file extensions for all
the images are the same, but the content is different.

Um. Not good. You might want to use different extensions or add a HFS file type.


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Multiple NSDocument Types in a Document-Based Architecture (From: Jayme Kosior <email@hidden>)

  • Prev by Date: Re: drag and drop on Dock
  • Next by Date: Making Returns stop Editing
  • Previous by thread: Multiple NSDocument Types in a Document-Based Architecture
  • Next by thread: calling nsdistributednotificationcenter from a service
  • Index(es):
    • Date
    • Thread