• 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
Re: Core data images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core data images


  • Subject: Re: Core data images
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 26 Jul 2010 05:50:07 -0700

On Jul 25, 2010, at 11:41 PM, Amy Gibbs <email@hidden> wrote:

> I'm working on a core data app that has an entity called Product. I'd like to have an image attribute for it but I'm expecting the app to have thousands of products stored over time so storing the images in the app will bloat it out and slow it down.

Nitpick: "in the app" implies the images are stored inside your app bundle's Resources folder. You probably meant "in the persistent store."

>
>
> What I'd like to do is have an imagewell on the interface where I could drop an image from the finder and it would copy the image file to a set destination and save the filename to the store so it can just be referenced.
>
> In another part of the interface I'd like a collection view that displayed all the product images for a given relationship.
>
> Does this seem like the right approach or am I completely wrong?

This is one recommended approach in the Core Data documentation for things like large image attachments. So you're on the right track.

>
> I'm a beginner so I apologise if this is a stupid question, if you could point me in the right direction I'd appreciate it.

Core Data is not a beginner technology; I would highly recommend starting smaller and working your way up.

--Kyle Sluder_______________________________________________

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

References: 
 >Core data images (From: Amy Gibbs <email@hidden>)

  • Prev by Date: Re: Core Data conflict detection
  • Next by Date: Re: NSBox with a NSPopUpButton
  • Previous by thread: Core data images
  • Next by thread: Elapsed time vs sleep
  • Index(es):
    • Date
    • Thread