CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

CKSelectedTableViewCellFactory 1.1.0

CKSelectedTableViewCellFactory 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Cody Kimberling.



  • By
  • Cody Kimberling

This library works for both styles of iPhone UITableView (Plain and Grouped)

In your AppDelegate class import this file:

#import "CKSelectedTableViewCellFactory.h"

and set the Selected background color and corner radius, defaults are [UIColor lightGrayColor] and 5.0

CKSelectedTableViewCellFactory.sharedInstance.backgroundColor = UIColor.redColor;

CKSelectedTableViewCellFactory.sharedInstance.cornerRadius = 5.0;

To use in a UITableView:

cell.selectedBackgroundView = [CKSelectedTableViewCellFactory.sharedInstance selectedBackgroundViewForTableViewCell:cell inTableView:tableView atIndexPath:indexPath];