From 9bf4e72f86ba1d15dcdc6630e54bb59f8ee49ba4 Mon Sep 17 00:00:00 2001 From: Max Sokolov Date: Mon, 13 Jun 2016 01:55:41 +0300 Subject: [PATCH] update readme --- README.md | 20 +++++++++++++++++++- TableKit/TableSection.swift | 5 ----- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 156c43b..dd141b0 100644 --- a/README.md +++ b/README.md @@ -92,13 +92,31 @@ let builder = TableRowBuilder { section.append(builder: builder) ``` -Or if you don't need to do some additional setup for your data, just use standart init: +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) ``` +## Installation + +### CocoaPods +To integrate TableKit into your Xcode project using CocoaPods, specify it in your `Podfile`: + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '8.0' +use_frameworks! + +pod 'TableKit' +``` + +## Requirements + +- iOS 8.0+ +- Xcode 7.0+ + ## License TableKit is available under the MIT license. See LICENSE for details. \ No newline at end of file diff --git a/TableKit/TableSection.swift b/TableKit/TableSection.swift index 51453df..71fe404 100644 --- a/TableKit/TableSection.swift +++ b/TableKit/TableSection.swift @@ -20,10 +20,6 @@ import UIKit -/** - Responsible for building a certain table view section. - Can host several row builders. -*/ public class TableSection { weak var tableDirector: TableDirector? @@ -36,7 +32,6 @@ public class TableSection { public private(set) var headerView: UIView? public private(set) var footerView: UIView? - /// A total number of rows in section of each row builder. public var numberOfRows: Int { return items.count }