From 26192a89b8f22295b0da35a2d6f7957cf06ac734 Mon Sep 17 00:00:00 2001 From: Max Sokolov Date: Wed, 17 Aug 2016 12:07:12 +0300 Subject: [PATCH] bump readme --- README.md | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/README.md b/README.md index c6c3639..60a5329 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Build Status Swift 2.2 compatible Carthage compatible - CocoaPods compatible + CocoaPods compatible Platform iOS License: MIT

@@ -91,25 +91,6 @@ let row = TableRow(item: "some") ``` You could find all available actions [here](Sources/TableRowAction.swift). -#### Batch rows -You could have a situation when you need a lot of cells with the same type. In that case it's better to use `TableRowBuilder`: -```swift -let builder = TableRowBuilder { - - // do some additional setup here - $0.items = ["1", "2", "3"] - $0.actions = [action] -} - -section.append(builder: builder) -``` -Or if you don't need an additional setup for your data, just use standart init: -```swift -let builder = TableRowBuilder(items: ["1", "2", "3"], actions: [actions]) - -section.append(builder: builder) -``` - ## Advanced #### Cell height calculating strategy