• 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
File Package advice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File Package advice


  • Subject: File Package advice
  • From: Todd Ransom <email@hidden>
  • Date: Wed, 3 Nov 2004 13:31:09 -0700

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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Multiple Documents?! [newbie] [again]
  • Next by Date: NSBezierPath clipRect confusion
  • Previous by thread: Re: Multiple Documents?! [newbie] [again]
  • Next by thread: NSBezierPath clipRect confusion
  • Index(es):
    • Date
    • Thread