Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create NSImageView through Interface Builder in Xcode 4

I have found several tutorials describing the possibility to add an NSImageView with Interface Builder just like you can add an UIImageView in iOS.

However, in Xcode 4.1 the control doesn't seem to exist. I can create NSImageView's programmatically but it's not very practical for very graphical interfaces. I have something called IKImageView but with it I cannot set the image content through interface builder.

Can I get the NSImageView to appear in Interface Builder somehow?

Thanks.

like image 831
Christoffer Avatar asked Oct 04 '11 18:10

Christoffer


1 Answers

Look for the Image Well control in the Object Library - the underlying class for Image Well is NSImageView.

BTW - if you type in the search bar below the Object Library it will give you matches based on the classes which back the controls as well as on the names of the controls. If you're only scrolling through the Object Library you can easily miss the class names.

like image 158
Maurice Kelly Avatar answered Nov 07 '22 07:11

Maurice Kelly