views:

146

answers:

1

I know how to put files into a bundle. These are read-only; the user cannot modify them at runtime.

I know how to write files NSDocumentDirectory at runtime. These are read-write.

I know I can copy files from a bundle into NSDocumentDirectory the first time my app starts up.

I am wondering if there is a way to package writeable files directly with an application.

+1  A: 

It may not be possible to distribute an app with files in the document directory without knowing the user- and device-specific path to the document directory before runtime.

Alex Reynolds