• 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: Creating a Bundle via Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a Bundle via Code


  • Subject: Re: Creating a Bundle via Code
  • From: Ben Trumbull <email@hidden>
  • Date: Sat, 21 Jun 2008 14:07:05 -0700

Grant,

You don't need a bundle or package or anything besides a plain old directory. Core Data doesn't care where you place your images on the file system. One file URL is just as good as any other to Core Data.

As others have mentioned, it's probably the transition from JPEG->NSImage->NSData that's decompressed the bytes. You're probably bested served by just keeping the JPEG bytes on disk and using the NSImage representation exclusively in memory for display purposes.
--


-Ben
_______________________________________________

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


  • Prev by Date: Re: Application Main window not appearing on application launch
  • Next by Date: Re: Application Main window not appearing on application launch
  • Previous by thread: Re: Creating a Bundle via Code
  • Next by thread: SplashScreen issues
  • Index(es):
    • Date
    • Thread