equal
deleted
inserted
replaced
123 |
123 |
124 SquareButtonView *squareButton = (SquareButtonView *)[cell viewWithTag:SQUAREBUTTON_TAG]; |
124 SquareButtonView *squareButton = (SquareButtonView *)[cell viewWithTag:SQUAREBUTTON_TAG]; |
125 [squareButton selectColor:[[selectedRow objectForKey:@"color"] intValue]]; |
125 [squareButton selectColor:[[selectedRow objectForKey:@"color"] intValue]]; |
126 squareButton.ownerDictionary = selectedRow; |
126 squareButton.ownerDictionary = selectedRow; |
127 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { |
127 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { |
128 cellLabel.textColor = [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xCB/255 blue:0 alpha:1 ]; |
128 cellLabel.textColor = [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xCB/255 blue:0 alpha:1]; |
129 } |
129 } |
130 } else { |
130 } else { |
131 cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier1]; |
131 cell = [aTableView dequeueReusableCellWithIdentifier:CellIdentifier1]; |
132 if (cell == nil) |
132 if (cell == nil) |
133 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier1] autorelease]; |
133 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier1] autorelease]; |