• 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
About Document Packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About Document Packages


  • Subject: About Document Packages
  • From: Seth Willits <email@hidden>
  • Date: Fri, 11 Feb 2005 12:38:24 -0800

One of the document types in my application, I want to be stored as a package. If I'm using files that can be written in Cocoa like from NSData and all that it seems that it'll be fine using the NSFileWrapper methods (even if they do confuse me), but I also need to store an SQLite database in this package. It seems that I could overwrite writeToFile and readFromFile and write all the files myself, but if I do, I'm not sure how to handle creating the package itself. Other than creating a folder with an extension, I don't know how to say "this is a XXXXX document" since it seems like that doesn't happen automatically. Anyway, does anyone have any suggestions?



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic


"We are rarely proud when we are alone."
-- Voltaire
------------------------------------------------------------------------ ---


_______________________________________________
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


  • Follow-Ups:
    • Re: About Document Packages
      • From: Kevin Ballard <email@hidden>
  • Prev by Date: Re: I'm leaking memory
  • Next by Date: MVC problem
  • Previous by thread: Re: Cocoa, full-screen mode, and windows
  • Next by thread: Re: About Document Packages
  • Index(es):
    • Date
    • Thread