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-26-2009, 07:06 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 15
Smile Steps needed to create a TableView - World Clock Style

I'm going crazy on how to do the following and I hope someone could point me towards the right direction.

What I am trying to achieve is to get the same look and feel and playable interaction as the world clock inside the iPhone's standard Clock app.

I have included a screenshot to illustrate the specific points that I have problems with and don't know where to start.

In short:

1. Is the 'table' view from the world clock really a Table View? Or have they used a UIScrollView and on top they stacked UIViews which 'act' as table rows?

2. Can I just set a background image behind the table?

3. The cells look 3d-ish / gradient shaded. Is this done by inserting a background image or pattern or is this effect done by code?

Any help towards the right direction would be greatly appreciated
Attached Images
File Type: jpg worldclock.jpg (82.9 KB, 28 views)
bobrooni is offline   Reply With Quote
Old 03-26-2009, 10:28 PM   #2 (permalink)
Registered Member
 
Join Date: Dec 2008
Posts: 495
Default

1. I would personally use a table view, yes.

2. Not sure if a simple background would work or not. I think there can be issues with artifacts when you set the table background to be an image. If that happens, I know you can create a view that creates a background image and a table view added on top of that, and set the view's UIViewController to implement the appropriate delegate methods for UITableViewController, etc.

3. I would personally use a custom cell with a background image.

Also you should be able to do the shadows by using a custom view for the table header and table footer, and then set the table view contentInset property ( using UIEdgeInsetsMake ) to offset appropriately if needed.
__________________
My Apps on AppStore : gScale (guitar scales reference), eMaze, eMaze Lite, eTimesheet
exorcyze is offline   Reply With Quote
Old 11-21-2009, 12:06 PM   #3 (permalink)
N3RD
 
Join Date: Oct 2009
Posts: 201
Exclamation

*bump*

Has anybody got some example code on such a tableview?
I am pulling my hair out trying to recreate the 'world clock' uitableview style.
tychop is offline   Reply With Quote
Old 11-22-2009, 11:37 AM   #4 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 142
Default

Check out this link:

Cocoa with Love: Adding shadow effects to UITableView using CAGradientLayer
cribasoft is offline   Reply With Quote
Old 04-24-2010, 02:27 AM   #5 (permalink)
Registered Member
 
Join Date: Mar 2010
Posts: 14
Default

Quote:
Originally Posted by cribasoft View Post
Thank you for this link!
Den Policarpio is offline   Reply With Quote
Reply

Bookmarks

Tags
background, table, table view

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: 243
13 members and 230 guests
ADY, AragornSG, CKAmike, Dani77, Duncan C, HDshot, HemiMG, Promo Dispenser, Punkjumper, Rudy, sacha1996, sneaky, spiderguy84
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:19 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0