Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you add items to the "User Media" category in Interface Builder's "Library" window?

The "Library" window in Interface Builder provides a "Media" tab that lists various images and sound resources that you can refer to from your nib file. There is a "System Media" item that lists default images provided by OS X, and if your nib is part of an Xcode project, you can also browse through images/sounds included in your Xcode project.

There is also a third item called "User Media", but for me at least, nothing is listed under there, and there doesn't appear to be any way to add new items. I've tried dragging images to the window, to no effect, and can't find any obvious location on the hard drive where such images might be stored. How would I go about adding items to this list so I can use them in Interface Builder?

like image 700
Brian Webster Avatar asked May 28 '09 21:05

Brian Webster


1 Answers

Media in the current project should be listed there. Try dragging a .png into the resources folder of you xcode project and then re-opening one of the xib's.

like image 63
Dunk Avatar answered Oct 12 '22 22:10

Dunk