Re: Accessing Resources
Re: Accessing Resources
- Subject: Re: Accessing Resources
- From: "Alan Smith" <email@hidden>
- Date: Mon, 17 Apr 2006 16:25:27 -0400
Or you could use NSImage *myImage = [NSImage imageNamed:@"myimage"];
That ought to work just as well as the others.
Peace, Alan
On 4/17/06, mmalcolm crawford <email@hidden> wrote:
>
>
> On Apr 17, 2006, at 12:10 PM, Bobby B wrote:
>
> > I have a quick question. I've added some images to my program, via
> > "Add Existing Files to Project", and they are listed under my
> > resources. How do I access these in my program?
>
> <http://developer.apple.com/documentation/Cocoa/Conceptual/
> LoadingResources/index.html>
>
> (See Bundles)
>
> mmalc
>
>
> _______________________________________________
> 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
>
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
_______________________________________________
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