Swiftpack.co -  rmnblm/EasyTable as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
rmnblm/EasyTable
🗓 Easy static tables, written in Swift.
.package(url: "https://github.com/rmnblm/EasyTable.git", from: "1.1.0")

EasyTable

Easy static tables, written in Swift.

Getting Started

final class SettingsViewController: ViewController {

    private lazy var easyTable = EasyTableView()

    override func viewDidLoad() {
        super.viewDidLoad()
        
        // Add easyTable to view
        
        easyTable.sections = [
            .init(
                header: "Section 1",
                rows: [
                    .init(style: .title("Row 1"), accessory: .disclosure) { [weak self] in
                        self?.navigationController?.pushViewController(ViewController(), animated: true)
                    }
                ]
            ),
            .init(
                header: "About",
                rows: [
                    .init(style: .title("Support")),
                    .init(style: .title("Follow Us")),
                    .init(style: .title("Acknowledgements"))
                ],
                footer: "Version 1.0"
            )
        ]
    }
}

GitHub

link
Stars: 0
Last commit: 2 hours ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

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