• 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: Adding an image to a NIB file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Adding an image to a NIB file (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSTextView - printing page numbers and headers
  • Next by Date: Re: testing exchangedata
  • Previous by thread: Re: Adding an image to a NIB file
  • Next by thread: Excel style spreadsheet read from xml
  • Index(es):
    • Date
    • Thread