Swiftpack.co - mugbug/BricksAndTiles as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by mugbug.
mugbug/BricksAndTiles v0.0.3
🧱 A composable solution for building reusable lists in Swift/UIKit. As easy as playing with Legos.
⭐️ 32
🕓 3 years ago
iOS
.package(url: "https://github.com/mugbug/BricksAndTiles.git", from: "v0.0.3")

stability-wip platforms Swift Package Manager compatible

BricksAndTiles

🧱 A composable solution for building reusable lists in Swift/UIKit. As easy as playing with Legos.

Features

UITableView

  • ☑ Static cells
  • ☑ Draggable cells

  • ☑ Cells with actions on slide

  • ☑ Single selection

UICollectionView

  • ☑ Static collection cells

  • ☑ Grid collection cells

UITableView + UICollectionView

  • ☑ Horizontal list cells

Installation

BricksAndTiles currently supports these installation options:

Swift Package Manager

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:

  1. Go to File > Swift Packages > Add Package Dependency
  2. Enter https://github.com/mugbug/BricksAndTiles
  3. Choose a rule and submit.

CocoaPods

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'

Dependencies

This package depends on PaintAndBrush, which is a super lightweight package with helper extensions for building UIKit views in code.

Contributing

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!

Authors

GitHub

link
Stars: 32
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics