On Tue, Jun 2, 2009 at 12:39 AM, Graham Cox <graham....@bigpond.com> wrote:
>
> On 02/06/2009, at 11:40 AM, Matthew Jeorrett wrote:
>
>> I have successfully implemented the NSDocument architecture in my
>> application and have implemented saving and loading documents by overriding
>> the "dataOfType:error:" and "readFromData:ofType:error:" methods. I now want
>> to be able to export my document into a folder selected by the user.  The
>> items I will be putting in the folder are a few png images and a plain text
>> file.  I have created a new package document type in the build target
>> properties with the role value set as none.  The first gap in my knowledge
>> is what the store type should be?
>
> I would guess 'binary' if you're writing out the content yourself. I'm not
> sure where this setting is used, it doesn't actually seem to make any
> difference.

Store type only matters for NSPersistentDocument (CoreData)
applications. If you're handling your own storage then this field is
ignored, so you can set it to whatever makes you happy.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to