Embedding image data
Embedding image data
- Subject: Embedding image data
- From: August Trometer <email@hidden>
- Date: Sun, 12 Mar 2006 13:54:41 -0500
Hello!
I've got a custom view class that uses a particular background image.
This image is static and won't change, even when used in multiple
applications. I'd like to make the class more portable, and I don't
want to have to copy the background image as well as the source
files. So, what I want to do is embed the image data in the source
file itself.
I'm guessing that I should do this as a static NSData object, then
use that data to create the image. However, I'm having trouble
figuring out the best way to represent the image data as well as the
coding the NSData object itself. Is there a good way to do this?
Thanks!
August
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden