Latest 1.0.2
Homepage https://github.com/yurevich1/LineRow
License MIT
Platforms ios 8.0
Dependencies Eureka
Authors

CI Status
Version
License
Platform

By Petrukhin Vyacheslav.

Contents

Introduction

LineRow is a simple colored row.

  • Features
  • Height setup

LineRow

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.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

To install LineRow, simply add the following line to your Podfile:

pod 'LineRow', '~> 1.0.2'

Carthage

Carthage is a simple, decentralized dependency manager for Cocoa.

To install LineRow, simply add the following line to your Cartfile:

github "EurekaCommunity/LineRow" ~> 1.0.2

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

Latest podspec

{
    "name": "LineRow",
    "version": "1.0.2",
    "summary": "LineRow just creates a simple colored row for Eureka project.",
    "description": "LineRow just creates a simple colored row for Eureka project. Just setup a color. That's it!",
    "homepage": "https://github.com/yurevich1/LineRow",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Vyacheslav Petrukhin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yurevich1/LineRow.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LineRow/Classes/**/*",
    "dependencies": {
        "Eureka": [
            "~> 3.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This