New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

How to wrap display and wrap images in a scroll view


Post Reply New Thread Subscribe

 
Thread Tools
wyattbiker

 
Member Since: Sep 08, 2012
Posts: 1
wyattbiker is on a distinguished road

wyattbiker is offline
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.

Thanks
QUOTE Thanks

Post Reply New Thread Subscribe


« Xcode Tutorial | execution of c and c++ programs on mac x »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 01:12 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?