mirror of
https://github.com/wu736139669/Ash_First.git
synced 2026-08-05 05:55:21 +00:00
43 lines
984 B
Objective-C
Executable File
43 lines
984 B
Objective-C
Executable File
//
|
|
// DoAlbumCell.m
|
|
// DoImagePickerController
|
|
//
|
|
// Created by Donobono on 2014. 1. 23..
|
|
//
|
|
|
|
#import "DoAlbumCell.h"
|
|
#import "DoImagePickerController.h"
|
|
|
|
@implementation DoAlbumCell
|
|
|
|
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
|
|
{
|
|
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
|
|
if (self) {
|
|
// Initialization code
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
|
|
{
|
|
[super setSelected:selected animated:animated];
|
|
|
|
if (selected)
|
|
{
|
|
_lbAlbumName.textColor = [UIColor whiteColor];
|
|
_lbCount.textColor = [UIColor whiteColor];
|
|
|
|
self.contentView.backgroundColor = DO_ALBUM_NAME_TEXT_COLOR;
|
|
}
|
|
else
|
|
{
|
|
_lbAlbumName.textColor = DO_ALBUM_NAME_TEXT_COLOR;
|
|
_lbCount.textColor = DO_ALBUM_COUNT_TEXT_COLOR;
|
|
|
|
self.contentView.backgroundColor = [UIColor whiteColor];
|
|
}
|
|
}
|
|
|
|
@end
|