Search code examples
cocoansimage

how to make a Grid of NSImages?


What is the easiest way to make a grid of 4 by 5 NSimages on an NSWindow?

I am trying to use an NSTableView with Image cells but I can't seem to have more than 1 per column


Solution

  • The easiest way is to drag an NSImageView onto your window and then use the "embed in matrix" menu item under the Editor menu in IB. Then set the number of rows and columns for the matrix