Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸ—“ Easy static tables, written in Swift.

License

Notifications You must be signed in to change notification settings

rmnblm/EasyTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

23 Commits

Repository files navigation

EasyTable

Easy static tables, written in Swift.

Getting Started

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

About

πŸ—“ Easy static tables, written in Swift.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /