// // JTOptionCell.m // JobTalk // // Created by Xummer on 14-7-9. // Copyright (c) 2014年 BST. All rights reserved. // #import "JTOptionCell.h" @implementation JTOptionCell - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; if (self) { self.selectionStyle = UITableViewCellSelectionStyleNone; } return self; } - (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated { [super setHighlighted:highlighted animated:animated]; self.backgroundColor = highlighted ? [UIColor colorWithWhite:217/255.0f alpha:1] : [UIColor whiteColor]; } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; self.accessoryType = selected ? UITableViewCellAccessoryCheckmark : UITableViewCellAccessoryNone; } @end