09-08-2012, 02:25 PM #1
How to display and wrap images in a scroll view
- Member Since
- Sep 08, 2012
I want to display a bunch of same size images (such as thumbnails) in rows using a view, left to right and down. When the user resizes the view, I would like to rearrange the images so they are viewable in the larger/smaller view and scroll down if necessary.
I was looking to use NSScrollView and NSCollectionView. Do I need to specifically position each image in the view (ie calculate frame offsets) or is there an easier way to do this?
Am i using the right classes or is there another class I should be looking at. I would like this to work on Leopard or better although I am using Mountain Lion for coding.
Any sample code or links would be appreciated.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Gren in forum iPad Hardware and AccessoriesReplies: 3Last Post: 10-04-2014, 09:06 AM
By Aqua in forum Images, Graphic Design, and Digital PhotographyReplies: 0Last Post: 12-11-2011, 06:58 PM
By fluffs in forum OS X - Operating SystemReplies: 1Last Post: 12-05-2011, 12:49 PM
By hnd in forum Switcher HangoutReplies: 2Last Post: 07-07-2010, 01:52 AM
By mikezzz in forum OS X - Apps and GamesReplies: 0Last Post: 08-14-2007, 10:26 AM