Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-20-2010, 09:43 PM   #1 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 211
Default How to do Google Chrome style thumbnail preview

Google Chrome (or safari for that matter) shows your recent pages like this when you first open the app or launch a new tab:


I would like to do the same type of thing in my iPad app (not really specific to the iPad, and would work on the iPhone with smaller sizes). I'd like to show a list of previews like this, except they would not be limited to 9 icons. Instead, I'd like to show a scrolling list with 3 or 4 on a row.

What would be the best way to implement this kind of thing? I need to be able to know when a certain preview is selected, and yet still be able to scroll. I was thinking of subclassing UIScrollView in the same way that UITableView does, but I just wanted to get some other developers' insight.

Are there any third party libraries that would make this sort of thing easier? If not, what would be a good way of implementing this?

Thanks a lot!
__________________
www.thomashuntington.com

Political GPS - Track your Congress and Find Yourself.
Apple New and Noteworthy

Nightstand Central - Music Alarm Clock with Weather, Photos, and Sleep Timer
Apple Staff Favorite - Top 10 iPhone Paid Productivity, Top 5 Free iPad Overall
csnplt is offline   Reply With Quote
Old 03-21-2010, 03:53 AM   #2 (permalink)
Dr. Touch Cocoa Helpdesk
iPhone Dev SDK Supporter
 
Join Date: Sep 2008
Location: Vienna, Austria
Posts: 537
Send a message via AIM to Oliver Drobnik Send a message via MSN to Oliver Drobnik Send a message via Skype™ to Oliver Drobnik
Default

Quote:
Originally Posted by csnplt View Post
Google Chrome (or safari for that matter) shows your recent pages like this when you first open the app or launch a new tab:


I would like to do the same type of thing in my iPad app (not really specific to the iPad, and would work on the iPhone with smaller sizes). I'd like to show a list of previews like this, except they would not be limited to 9 icons. Instead, I'd like to show a scrolling list with 3 or 4 on a row.

What would be the best way to implement this kind of thing? I need to be able to know when a certain preview is selected, and yet still be able to scroll. I was thinking of subclassing UIScrollView in the same way that UITableView does, but I just wanted to get some other developers' insight.

Are there any third party libraries that would make this sort of thing easier? If not, what would be a good way of implementing this?

Thanks a lot!
Why not simply have it in a table view with 3 or 4 UIButtons in a custom cell for each row?
__________________
regards

Oliver Drobnik
Cocoanetics - Our DNA is programmed in Objective-C.

Linguan – makes localizing strings file fun!

Cocoanetics Parts Store – easy to use yet professionally looking components that you can use to spruce up your own apps. Augmented Reality, Calendar Control, Pin Lock or Purchase Button are only some examples. You get full source code, no static library crap, and lifetime support. Check it out today!
Oliver Drobnik is offline   Reply With Quote
Old 03-21-2010, 08:35 AM   #3 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 211
Default

Quote:
Originally Posted by Oliver Drobnik View Post
Why not simply have it in a table view with 3 or 4 UIButtons in a custom cell for each row?
That's what I ended up doing. I don't know why I didn't think about it at first. Thanks for your reply.
__________________
www.thomashuntington.com

Political GPS - Track your Congress and Find Yourself.
Apple New and Noteworthy

Nightstand Central - Music Alarm Clock with Weather, Photos, and Sleep Timer
Apple Staff Favorite - Top 10 iPhone Paid Productivity, Top 5 Free iPad Overall
csnplt is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On



» Advertisements
» Online Users: 273
20 members and 253 guests
ADY, AragornSG, Bertrand21, Dani77, Dattee, Duncan C, fkmtc, HDshot, HemiMG, iDifferent, JasonR, macquitzon216, mer10, prchn4christ, Rudy, sacha1996, sneaky, spiderguy84, Sunny46, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,231
Posts: 380,768
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:11 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0