blob: 69c2c4bc77a1f510e98d9cfe1fd40ff8280256b2 [file] [log] [blame]
{
"name": "KCCollectionView",
"version": "0.0.1",
"summary": "KCCollectionView does all of the hard work for you to set up a Collection View.",
"description": "KCCollectionView\n\nAn easier way to work with Collection Views\nKCCollectionView does all of the hard work for you! It sets up the collection view and configures the cell for the user based on the specifications the user gives it (There are defaults if the user does not wish to enter all the information).\n\nWhat is required to add to your project:\n•\tin the ViewController's viewDidLayoutSubviews, add 'collectionViewName.collectionViewLayout = collectionViewName.layout' (This is to be fixed in future updates)\n•\tset the view controller as the delegate and data source of the collection view (if wish to use those features)\n•\tadd cellForItemAtIndexPath and numberOfItemsInSection the the view controller (if it is the data source), and have the cell equal the collectionViewName.cellForItemAtIndexPath or collectionViewName.numberOfItemsInSection respectively. This way you can add subviews to the cell but the main layout is already done for you.\n\nFeatures\n- `numberCellsPerRow`: Int\n- 'numberCellsInView`: Int\n- 'equalCellsInRowsAndColumns': Bool (used instead of `numberCellsPerRow` if this is desired)\n- 'cellCornerRadius': CGFloat\n- 'cellBorderWidth': CGFloat\n- 'cellBorderColor': CGColor\n- 'minimumColumnSpacing': CGFloat (spacing between columns of cells)\n- 'minimumRowSpacing': CGFloat (spacing between rows of cells)",
"homepage": "https://github.com/KileyCaravella/KCCollectionView",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"Kiley": "kiley@intrepid.io"
},
"source": {
"git": "https://github.com/KileyCaravella/KCCollectionView.git",
"tag": "0.0.1"
},
"platforms": {
"ios": "8.0"
},
"source_files": "KCCollectionView/Classes/**/*"
}