Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Howiieque

macrumors regular
Original poster
Feb 1, 2009
120
0
hi. guys. do you notice that the gradient of the table of ipod on the iphone.
the odd number cells seem like to be lighter, while even number cells darker.
and the the cells on the relatively high position would be lighter. the colour would change while you scroll the table.
i used DigitalColor Meter.appto analyse it. as if by magic.

do you have a clue how to accomplish it?:)

by the way, the app store make the table white and blue alternatively. is there a convenient method(sdK) to do it? or i must make two kind of views for the cells and assign to them on condition?
 
by the way, the app store make the table white and blue alternatively. is there a convenient method(sdK) to do it? or i must make two kind of views for the cells and assign to them on condition?
I suspect they are just alternating the background color of each cell based on the row number whilst in the cellForRowAtIndexPath: delegate method.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.