Re: Adding an image to a NIB file
Re: Adding an image to a NIB file
- Subject: Re: Adding an image to a NIB file
- From: "Paul J. Lucas" <email@hidden>
- Date: Tue, 4 Oct 2005 11:15:07 -0700 (PDT)
On Tue, 4 Oct 2005, Jerry Krinock wrote:
> 1. In Interface Builder, select the NSImage.
> 2. Type cmd-shift-I to bring up the inspector.
> 3. Type cmd-1 to show the "Attributes" pane.
> 4. In the "Image:" field, fill in the filename of the image file, but do
> not fill in the filename extension. For example, for "myPic.png", fill in
> "myPic".
OK so far...
> 5. In Xcode or Codewarrior, drag myPic.png so it gets copied into the
> Resources folder of your application's package.
As I originally stated, I'm not using either Xcode or
Codewarrier.
I did try copying the image into the same directory the NIB file
itself is in (and even inside the .nib/ package itself), but
both resulted in a broken image icon rather than my image.
- Paul
_______________________________________________
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