Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Blakeasd

macrumors 6502a
Original poster
Dec 29, 2009
643
0
Hello,

This is my first time writing/updating an application since ~ the beta version of OS X Lion. I am trying to add an image to an NSView in interface building. Here are the steps that I followed:

1. Dragged images to Xcode "Supporting Files" Group (Copy was checked)
2. Went to the interface building section, pressed on the media tab and dragged the image to the NSView

Presses the Run button and... got an error stating that Xcode "Could not find the imaged named" [image name] :confused:

What has changed that won't allow me to add an image? I noticed a similar thing with adding new classes, I have to target the .m file in the inspector or Xcode cannot find it. The image under the inspector is check under the "Target Membership" table in the inspector. Could someone please help me?

Thanks!
 
Whoops, this should be in the Mac Programming Forum. I will post it there
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.