Skip to content

remizorrr/ARTableView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARTableView

NSTableView that autoresize it's cells with autolayout.

Demo

demo

Usage

Set your tableView class to ARAutoresizeTableView and your tableCellView class to ARAutoresizeTableCellView, then create a set of autolayout constraints.

In your tableViewDelegate implement the following method:

- (CGFloat) tableView:(NSTableView *)tableView  heightOfRow:(NSInteger)row
{
    if (row == 2) {
        return 60;
    }
    return ARAutoresizeTableViewCellHeightAuto;
}

About

NSTableView that autoresize it's cells with autolayout.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages