//// JTOptionCell.m// JobTalk//// Created by Xummer on 14-7-9.// Copyright (c) 2014年 BST. All rights reserved.//#import "JTOptionCell.h"@implementationJTOptionCell-(id)initWithStyle:(UITableViewCellStyle)stylereuseIdentifier:(NSString*)reuseIdentifier{self=[superinitWithStyle:stylereuseIdentifier:reuseIdentifier];if(self){self.selectionStyle=UITableViewCellSelectionStyleNone;}returnself;}-(void)setHighlighted:(BOOL)highlightedanimated:(BOOL)animated{[supersetHighlighted:highlightedanimated:animated];self.backgroundColor=highlighted?[UIColorcolorWithWhite:217/255.0falpha:1]:[UIColorwhiteColor];}-(void)setSelected:(BOOL)selectedanimated:(BOOL)animated{[supersetSelected:selectedanimated:animated];self.accessoryType=selected?UITableViewCellAccessoryCheckmark:UITableViewCellAccessoryNone;}@end