Latest 2
Homepage https://github.com/stefankendall/CustomTableViewCell
License MIT
Platforms ios 5.0
Authors

CustomTableViewCell

Simple superclass for custom tableview cells that works on convention and removes the need for a lot of code.

Creating a custom tableview cell

  1. Create a subclass of CTCustomTableViewCell.
  2. Create a xib with a single UITableViewCell instance, and set its ReuseIdentifer to the class name. Set the class to the subclass you created in step 1.
  3. In your UITableViewDataSource, use this:

    
    MyCustomCell *cell = [tableView dequeueReusableCellWithIdentifier:@"MyCustomCell"];
    
    if (cell == nil ) {
        cell = [MyCustomCell create];
    }
    
    //config 
    
    return cell;

Latest podspec

{
    "name": "CTCustomTableViewCell",
    "version": "2",
    "license": "MIT",
    "summary": "Simple superclass for custom tableview cells that works on convention and removes the need for a lot of code.",
    "authors": {
        "Stefan Kendall": "[email protected]"
    },
    "homepage": "https://github.com/stefankendall/CustomTableViewCell",
    "source": {
        "git": "https://github.com/stefankendall/CustomTableViewCell.git",
        "tag": "2"
    },
    "source_files": "CustomTableViewCell",
    "platforms": {
        "ios": "5.0"
    },
    "requires_arc": false
}

Pin It on Pinterest

Share This