🧱 A composable solution for building reusable lists in Swift/UIKit. As easy as playing with Legos.
- Static cells
- Draggable cells
- Cells with actions on slide
- Single selection
- Static collection cells
- Grid collection cells
- Horizontal list cells
BricksAndTiles currently supports these installation options:
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding BricksAndTiles as a dependency is as easy as adding it to the dependencies value of your Package.swift
.
dependencies: [
.package(
url: "https://github.com/mugbug/BricksAndTiles.git",
from: "0.0.3"
),
]
If you're using SPM through Xcode:
- Go to
File > Swift Packages > Add Package Dependency
- Enter https://github.com/mugbug/BricksAndTiles
- Choose a rule and submit.
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate BricksAndTiles into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'BricksAndTiles', '0.0.3'
BricksAndTiles is also available as subspecs:
- For only UITableView features:
pod 'BricksAndTiles/TableView', '0.0.3'
- For only UICollectionView features:
pod 'BricksAndTiles/CollectionView', '0.0.3'
This package depends on PaintAndBrush, which is a super lightweight package with helper extensions for building UIKit views in code.
Any kind of contributions would be highly appreciated! To start contributing, read the Contributing Guideline for info on how to report issues, submit ideas and submit pull requests!