¿Cada sección siempre será el mismo tamaño? Si es así, ¿por qué no subclasifica la UITableViewCell para dibujar el cuaderno como un elemento con la sombra paralela incluida?
También puede agregar un UIImageView transparente sobre el UITableView para obtener las esquinas oscuras.
EDIT:
Este efecto es un poco complicado, vas a querer mirar en cómo utilizar UIBezierPaths (http://developer.apple.com/library/IOS/#documentation/UIKit/ Reference/UIBezierPath_class/Reference/Reference.html).
La parte superior puede ser una imagen (los anillos y el efecto tabulador). Luego puede dibujar el resto de la celda en la función drawRect. (Esto es más eficiente que usar las propiedades de sombra en la capa que es importante en una UITableViewCell).
Deberá sobrescribir su clase UITableViewCell e implementar una función drawRect: personalizada.
Aquí hay algo de código para empezar:
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
/* Draw top image here */
//now draw the background of the cell.
UIBezierPath *path1 = [UIBezierPath bezierPathWithRect:CGRectMake(0, 0, 320, 50)];
[[UIColor grayColor] set];
[path1 fill];
UIBezierPath *path2 = [UIBezierPath bezierPathWithRect:CGRectMake(0, 52, 320, 50)];
[[UIColor whiteColor] set];
[path2 fill];
UIBezierPath *path3 = [UIBezierPath bezierPathWithRect:CGRectMake(0, 104, 320, 50)];
[[UIColor grayColor] set];
[path3 fill];
UIBezierPath *path4 = [UIBezierPath bezierPathWithRect:CGRectMake(0, 156, 320, 50)];
[[UIColor whiteColor] set];
[path4 fill];
//and so on...
//Let's draw the shadow behind the last portion of the cell.
UIBezierPath *shadow = [UIBezierPath bezierPathWithRect:CGRectMake(0, 208, 320, 52)];
[[UIColor darkGrayColor] set];
[shadow fill];
//Finally, here's the last cell with a curved bottom
UIBezierPath *path5 = [UIBezierPath bezierPath];
[path5 moveToPoint:CGPointMake(0, 208)];
[path5 addLineToPoint:CGPointMake(320, 208)];
[path5 addLineToPoint:CGPointMake(320, 258)];
[path5 addCurveToPoint:CGPointMake(0, 258) controlPoint1:CGPointMake(160, 254) controlPoint2:CGPointMake(160, 254)];
[[UIColor grayColor] set];
[path5 fill];
}
El código no es arrastrar bastante y soltar, usted todavía tiene que añadir las líneas blancas, corregir algunos tamaños, y ajustar la última celda y la sombra de estar bien. Pero debería ser suficiente para comenzar.
¡Salud!
El enlace no existe. – Leena