An open API service indexing awesome lists of open source software.

https://github.com/omaralbeik/stackabletableview

A UITableView subclass that enables setting an array of views for both headers and footers utilizing UIStackView
https://github.com/omaralbeik/stackabletableview

autolayout ios swift uikit uistackview uitableview

Last synced: 9 months ago
JSON representation

A UITableView subclass that enables setting an array of views for both headers and footers utilizing UIStackView

Awesome Lists containing this project

README

          

![StackableTableView](Assets/logo.svg)

![CI](https://github.com/omaralbeik/StackableTableView/workflows/StackableTableView/badge.svg)
[![codecov](https://codecov.io/gh/omaralbeik/StackableTableView/branch/master/graph/badge.svg)](https://codecov.io/gh/omaralbeik/StackableTableView)
[![Platform](https://img.shields.io/cocoapods/p/StackableTableView.svg?style=flat)](https://cocoapods.org/pods/StackableTableView)
[![Version](https://img.shields.io/cocoapods/v/StackableTableView.svg?style=flat)](https://cocoapods.org/pods/StackableTableView)
[![Carthage compatible](https://img.shields.io/badge/Carthage-Compatible-brightgreen.svg?style=flat)](https://github.com/Carthage/Carthage)
[![SPM compatible](https://img.shields.io/badge/SPM-Compatible-brightgreen.svg?style=flat)](https://swift.org/package-manager/)
[![License](https://img.shields.io/cocoapods/l/StackableTableView.svg?style=flat)](https://cocoapods.org/pods/StackableTableView)

A `UITableView` subclass that enables setting an array of views for both headers and footers utilizing `UIStackView`

---

![Demo](https://github.com/omaralbeik/StackableTableView/blob/master/Assets/demo.gif)

## Requirements

- iOS 11.0+

## Installation

### Swift Package Manager (Recommended)

Once you have your Swift package set up, adding `StackableTableView` as a dependency is as easy as adding it to the dependencies value of your `Package.swift`.

```swift
dependencies: [
.package(url: "https://github.com/omaralbeik/StackableTableView.git", from: "1.0.0")
]
```

### CocoaPods

To integrate `StackableTableView` into your Xcode project using [CocoaPods](http://cocoapods.org), specify it in your `Podfile`

```ruby
pod 'StackableTableView'
```

### Carthage

To integrate StackableTableView into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`

```ruby
github "omaralbeik/StackableTableView" ~> 1.0.0
```

### Manually

Add the [Sources]() folder to your Xcode project.

## License

StackableTableView is available under the MIT license. See the [LICENSE](LICENSE) file for more info.