• 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: Removing "Missing images" from Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing "Missing images" from Interface Builder


  • Subject: Re: Removing "Missing images" from Interface Builder
  • From: Jonathan Hess <email@hidden>
  • Date: Thu, 30 Apr 2009 16:34:00 -0700

Hey Dave -

If IB is showing the "padlock-sm" as a missing image in the library, then that would normally mean that some UI element in your NIB file still references the image. When you load the NIB at runtime, do you still get the log message? If so, you might try running with a break point on NSLog, and then look at the backtrace to see what class is decoding the image.

Otherwise, if you're sure that your NIB file isn't still referencing that image, then a bug report (http://bugreport.apple.com/) would help us sort that out. Actually, a bug report would be helpful either way - we could improve the experience of finding references to images.

Jon Hess

On Apr 30, 2009, at 3:53 PM, Dave Geering wrote:

Hi,

I added an image called "padlock-sm.png" (a small, low-resolution
image of a padlock) to my Xcode project, and in Interface Builder I
placed it on a view, but decided I didn't want it any more, so I just
removed it from my view and deleted the image from my Xcode project,
moving the file to the trash.

Now, whenever my app is run, there is a console message saying "cannot
find image named padlock-sm".

If I go into Interface Builder there is a section under Media called
"Missing Images" and it has an NSImage called "padlock-sm". The menu
items "Remove from Group" and "Remove from Library" are both disabled.
If I'm no longer referencing it from anywhere, why won't it let me
remove it? The app still runs fine but the console message is
annoying.

There is definitely no instance of it in my view and there is no
reference to "padlock-sm" in my code. Is this the expected behaviour?
If so, how do I get rid of it so the console message disappears?

Cheers,
Dave.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Removing "Missing images" from Interface Builder
      • From: Dave Geering <email@hidden>
References: 
 >Removing "Missing images" from Interface Builder (From: Dave Geering <email@hidden>)

  • Prev by Date: Removing "Missing images" from Interface Builder
  • Next by Date: Re: Removing "Missing images" from Interface Builder
  • Previous by thread: Removing "Missing images" from Interface Builder
  • Next by thread: Re: Removing "Missing images" from Interface Builder
  • Index(es):
    • Date
    • Thread