Do I need to override the writing methods of NSDocument in subclasses for an application that will o
Posted
by Abizern
on Stack Overflow
See other posts from Stack Overflow
or by Abizern
Published on 2010-03-27T12:48:08Z
Indexed on
2010/03/27
12:53 UTC
Read the original article
Hit count: 330
I think I may be missing the obvious but I'm not sure.
The section on subclassing NSDocument in the docs states that subclasses of NSDocument must override one reading and one writing method.
If I'm creating a viewer application that will not write anything back, do I still need to override a writing method (returning what, nil
?) or can I ignore it and make sure that there are no saving methods that can get called?
© Stack Overflow or respective owner