FROM : Todd Ransom
DATE : Wed Nov 03 21:31:09 2004
I have been looking at this for a couple of days now and I am dizzy
from trying to understand the progression of methods called in
NSDocument when a user requests opening or saving a file.
I would like to create a package file format (directories that look and
act like files to the average user) that contains an outline and a
number of chapters, each in a separate file (this is a novelists'
editor/outliner). I have this working by overriding
fileWrapperRepresentationOfType: but I'm not happy with that solution.
If I load my novel using this solution (400+ pages) to work on chapter
12, I have to wait for the entire thing to load. I'm looking for some
advice on how to create and use file packages without using the
NSFileWrapper class as well as which methods of NSDocument to override.
Any pointers to information on the order of method calls in NSDocument
would be appreciated as well. There seem to be inter-dependencies that
I don't understand.
TR
DATE : Wed Nov 03 21:31:09 2004
I have been looking at this for a couple of days now and I am dizzy
from trying to understand the progression of methods called in
NSDocument when a user requests opening or saving a file.
I would like to create a package file format (directories that look and
act like files to the average user) that contains an outline and a
number of chapters, each in a separate file (this is a novelists'
editor/outliner). I have this working by overriding
fileWrapperRepresentationOfType: but I'm not happy with that solution.
If I load my novel using this solution (400+ pages) to work on chapter
12, I have to wait for the entire thing to load. I'm looking for some
advice on how to create and use file packages without using the
NSFileWrapper class as well as which methods of NSDocument to override.
Any pointers to information on the order of method calls in NSDocument
would be appreciated as well. There seem to be inter-dependencies that
I don't understand.
TR
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

