Re: NSDocument-based app limitations?
Re: NSDocument-based app limitations?
- Subject: Re: NSDocument-based app limitations?
- From: Seth Willits <email@hidden>
- Date: Tue, 30 Mar 2004 00:35:20 -0800
On Mar 29, 2004, at 11:46 PM, Mark Munz wrote:
Yes, I've read the above documentation as well and I know that
TextEdit isn't an NSDocument based application (that was made cleaner
in both my original message & the reply to Scott's). What I am looking
for is information on doing something beyond simple document that all
the books & sample code talk about.
I agree. All of the applications I'm interested in writing in Cocoa are
document bases, but I have to find a *clean* example showing a complex
document as compared to a very simple text editor with a single
document type. I've always found Sketch to be a big mass of code with
no explanation. My biggest trouble (and this is probably due to the
fact that I'm simply new to Cocoa altogether) is figuring out the class
structures like: Which pieces of the UI and subsystems should have
their own controllers? Who acts as delegates? Is it the controllers or
specialized objects? Maybe subclasses of the controls themselves? Stuff
like that.
The NSDocument subclass seems to be referred to as the all-purpose 409
of the application, but that doesn't seem right. I could see an entire
book being written on the thought and design of a document-based
application, yet no one has even a tutorial remotely more complex than
"let's build a text editor!" or Sketch. Maybe I'm asking for the world,
but that's what I'd like to see.
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software -
http://www.freaksw.com
REALbasic Guru at ResExcellence -
http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central -
http://www.freaksw.com/rbgames
Shyness is so quiet and reserved yet such a treasonous villain.
------------------------------------------------------------------------
---
_______________________________________________
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.