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/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 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.'