Raymond
Raymond

Reputation: 477

How can I show and hide a single image in a Mac app?

What is the best control to use in a Mac OS app to handle showing a single image? I need to be able to show and hide it programmatically, too.

Upvotes: 0

Views: 664

Answers (2)

Parag Bafna
Parag Bafna

Reputation: 22930

You should refer Image Views guide and NSImageView Class Reference.

Upvotes: 0

BJ Homer
BJ Homer

Reputation: 49034

NSImageView. It has a setHidden: method, which you can use to hide it if needed.

Upvotes: 4

Related Questions