2 "name": "CollectionAndTableViewCompatible",
4 "summary": "A set of Swift protocols and Xcode snippets that will make it easy to do clean UICollectionView and UITableView code.",
5 "swift_version": "4.1",
6 "description": "The project consists of three protocols:\n- `TableViewCompatible`\n- `Configurable`\n- `TableViewSection`\n\nCreate a view model that conforms to the `TableViewCompatible` protocol. The view model could either be a separate class or an extension to your existing model obejct. Your choice.\n\nThe create a `UITableViewCell` subclass that conforms to the `Configurable` protocol. Make the function `configureWithModel` take an instance of your view model as parameter.\n\nFinally create a class or struct that conforms to the `TableViewSection` protocol and let your `UITableViewDataSource` data model be an array of `TableViewSection`.\n\nFor a more detailed explaination see this [blog post](https://blog.jayway.com/2016/11/15/clean-table-view-code-using-swift-protocols/)",
7 "homepage": "https://github.com/jayway/CollectionAndTableViewCompatible",
9 "type": "Apache Version 2.0",
13 "Jimmie Jensen": "jimmie.jensen@jayway.com"
16 "git": "https://github.com/jayway/CollectionAndTableViewCompatible.git",
22 "source_files": "Classes/**/*",