Eugene Gordin
Eugene Gordin

Reputation: 4107

How to display multiple images in Cocoa for OSX?

What I'm trying to achieve sounds pretty simple: regular simple window with a text field, view ,and a button.

In the field I'm placing the number (32 for example) and after I hit the button my view should be filled with 32 images. Don't really know how to accomplish this since I'm pretty new to Cocoa development.

So far I was just able to hardcode three NSViews and display 3 images at a time...which is not really what I want. So if anyone have any thoughts or hints I would totally appreciate it!

Thank you

Upvotes: 0

Views: 702

Answers (1)

Parag Bafna
Parag Bafna

Reputation: 22930

You can use IKImageBrowserView. Take a look at ImageBrowser sample code. enter image description here

Upvotes: 1

Related Questions