Removing "Missing images" from Interface Builder
Removing "Missing images" from Interface Builder
- Subject: Removing "Missing images" from Interface Builder
- From: Dave Geering <email@hidden>
- Date: Fri, 1 May 2009 08:53:48 +1000
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