• 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
NSDocuments without window associations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocuments without window associations


  • Subject: NSDocuments without window associations
  • From: "chris corbell"<email@hidden>
  • Date: Wed, 30 Oct 2002 10:37:40 -0800

Is it reasonable to try to use NSDocument in a way that will
disable or bypass its connection to an NSWindowController?

I would like to use the NSDocumentController/NSDocument
architecture, but I do not want my document class to be aware of
windows. I'm working with an XML format and I simply want my
document class to manage a tree representation of the document
and serve that to a more central controller class which interacts
with the application's model and GUI objects.

Has anyone tried to use NSDocument in this way, as a model
object that handles file i/o but does not directly deal with
windows?

I can experiment but I'm hoping someone's been down that road
before and could testify to the possibility...

Thanks,
Christopher
_______________________________________________
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: GUI - Brushed Metal
  • Next by Date: Re: Cocoa Books (was New to Cocoa)
  • Previous by thread: Sync deleted and renamed files
  • Next by thread: Re: NSView drawRect: QuickDraw, CoreGraphics, OpenGL ? DP.2
  • Index(es):
    • Date
    • Thread