Re: Using Core Data ManagedObjectIDs to uniquely name files
Re: Using Core Data ManagedObjectIDs to uniquely name files
- Subject: Re: Using Core Data ManagedObjectIDs to uniquely name files
- From: "Sean McBride" <email@hidden>
- Date: Tue, 6 Apr 2010 11:17:50 -0400
- Organization: Rogue Research Inc.
On Tue, 6 Apr 2010 12:27:18 +0100, Ken Tabb said:
>I have a Snow Leopard non-document based Core Data app (currently XML
>based, but will be SQLite upon release). Supposing I have an entity
>(Employee) that would like to store an auxiliary file (a tiff of their
>mugshot), then as I see it I have the following options:
You could make your file format a package and store within it the TIFFs
and the CoreData persistent store. You can add a 'uuid' string
attribute to your Employee entity and use that as the filename.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden