Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
//  MusicheCell.m
//  Foresta
//
//  Created by Fabrizio on 19/12/12.
//  Copyright (c) 2012 Odyssey. All rights reserved.
//

#import "MusicheCell.h"

@interface MusicheCell ()

@end

@implementation MusicheCell

@synthesize cellLabel;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
    }
    return self;
}

- (void)setGrayAndWhiteAlternateRow:(NSUInteger)row {
    if (row % 2 == 0)
        self.contentView.backgroundColor = [UIColor colorWithRed:0.94 green:0.94 blue:0.94 alpha:1];
    else
        self.contentView.backgroundColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:1];
    
}

@end

Commits for Nextrek/iOS/Foresta/Foresta/MusicheCell.m

Diff revisions: vs.
Revision Author Commited Message
64 FAquili picture FAquili Sat 18 Jan, 2014 18:22:40 +0000

Foresta