CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

LineRow 1.0.2

LineRow 1.0.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Aug 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Vyacheslav Petrukhin.



LineRow 1.0.2

  • By
  • Vyacheslav Petrukhin

By Petrukhin Vyacheslav.

Contents

Introduction

LineRow is a simple colored row.

  • Features
  • Height setup

Usage

Just setup a color.

FormViewController

import LineRow

class ViewController: FormViewController {

override func viewDidLoad() {
super.viewDidLoad()

form +++ Section()
<<< LineRow()  {
$0.value = .black
}
}
}

Requirements

  • iOS 8.0+
  • Xcode 8.3+

Getting involved

  • If you want to contribute please feel free to submit pull requests.
  • If you have a feature request or you found a bug please open an issue.

Before contribute check the CONTRIBUTING file for more info.

Examples

Follow these steps to run Example project:

  • Clone LineRow repository
  • Open terminal in the downloaded folder and run bin/setup script
  • Open LineRow workspace
  • Run the Example project.

Customization

For basic styling colors initalization, use cellSetup and cellUpdate.

LineRow parameters

  • `var value: String = colorOfUIColorClass
  • var adHeight: Double: sets your banner height.

For instance,

you can do this in any FormViewController class:

<<< LineRow() {
$0.value = .red
}

Author