From 0bf04ebae83f28fb7988b9b3ea9ad56e927be5ec Mon Sep 17 00:00:00 2001 From: Max Sokolov Date: Sat, 16 Jul 2016 01:33:59 +0300 Subject: [PATCH 1/2] add action --- Sources/TableRow.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/TableRow.swift b/Sources/TableRow.swift index 3dac46b..7c1e70e 100644 --- a/Sources/TableRow.swift +++ b/Sources/TableRow.swift @@ -93,4 +93,10 @@ public class TableRow(type: TableRowActionType, handler: (data: TableRowActionData) -> T) -> Self { + + actions[type.key] = TableRowAction(type, handler: handler) + return self + } } \ No newline at end of file From c5c180594ea1498cc899d09f1c8143e540df8bd8 Mon Sep 17 00:00:00 2001 From: Max Sokolov Date: Sat, 16 Jul 2016 01:34:36 +0300 Subject: [PATCH 2/2] bump version --- README.md | 2 +- TableKit.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e108069..34ce775 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

diff --git a/TableKit.podspec b/TableKit.podspec index 609c082..1a55c71 100644 --- a/TableKit.podspec +++ b/TableKit.podspec @@ -2,7 +2,7 @@ Pod::Spec.new do |s| s.name = 'TableKit' s.module_name = 'TableKit' - s.version = '0.8.1' + s.version = '0.8.2' s.homepage = 'https://github.com/maxsokolov/TableKit' s.summary = 'Type-safe declarative table views. Swift 2.2 is required.'