• 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
Multi document: design question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi document: design question


  • Subject: Multi document: design question
  • From: Alex Penner <email@hidden>
  • Date: Tue, 30 Sep 2003 21:02:54 +0200

Hi List,

I've just started with a simple database application, to learn Cocoa more deeply. (I did already some simple Cocoa stuff).

I want to edit documents. So for the model I thought about document manager (represented through a main window), that can create new and open existing documents (document windows). These documents are "generic documents" referenced through ID and composed on the fly from database.

I read about and would like to use multi document support, because of the all advantages. But as I understood, I have to subclass NSDocumentController, since the default one is designed to work with files only?

So here are my questions:

What are the issues I have to pay attention to?
Are there any examples, how to subclass a NSDocumentController?
Are there any examples, that shows NSDocumentController subclass working with "generic" documents?
Or would it be simpler to write my own document manager?


Best regards,
Alex
_______________________________________________
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.

  • Prev by Date: Re: Call CFM shlb from Cocoa
  • Next by Date: Programatically resizing a NSTableView
  • Previous by thread: mounted volume info?
  • Next by thread: Programatically resizing a NSTableView
  • Index(es):
    • Date
    • Thread