• 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: NSDocument-based app limitations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSDocument-based app limitations?


  • Subject: RE: NSDocument-based app limitations?
  • From: Amilcar Meneses Viveros <email@hidden>
  • Date: Tue, 30 Mar 2004 10:14:03 -0600 (CST)

> In my readings, I've always heard that NSDocument is the preferred
> model to use for document-based applications. However, it seems that
> NSDocument is designed for only the most basic examples of documents.
> Or is it that I just don't have a good NSDocument example to learn
> from? Is there one out there?

Well... I re-wrote one application from non-based document application to
a document-based. By personal experience, I can ensure to you that you can
get a reduction on your source code; the model is better and the
application is more stable.

I'm sure that the classes that apple provides is very useful. Maybe the
problems is the apple documentation (perhaps I cannot undertand quickly
this documentation... uups!!). Anyway there is one article in the O'Reilly
center wrote by Michael Beam:

http://www.macdevcenter.com/pub/a/mac/2002/04/19/cocoa.html

Another example is an Cocoa Objective-C Text Editor for Mac OS X
written by Sven Van Caekenberghe:
http://homepage.mac.com/svc/carbon-objc-mac-os-x/

And you can get the source code of my document-based application at
http://computacion.cs.cinvestav.mx/~ameneses/fuentes/macosx/petra.tar.gz
(sorry if you find some stupid code there... uups!!)
I'm trying to write a technical report, but I do it on in my free time and
some times my tutor is not very happy with this...

Regards
Amilcar
_______________________________________________
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: Scrollview can anyone help?
  • Next by Date: Why does this keep sending EXC_BAD_ACCESS
  • Previous by thread: Re: NSDocument-based app limitations?
  • Next by thread: NSBitmapImageRep returns wrong bitsPerSample and bitsPerPixel values for 8 & 16-bit BMP's
  • Index(es):
    • Date
    • Thread