Latest1.1.1
Homepagehttps://github.com/EurekaCommunity/SplitRow
LicenseMIT
Platformsios 9.0, requires ARC
DependenciesEureka
FrameworksUIKit, Foundation

A row for Eureka to put two rows side by side into the same UITableViewCell.

Platform iOSSwift 4 compatible
Carthage compatible
CocoaPods compatible
License: MIT

By MANDELKIND.

Contents

Introduction

SplitRow is a custom row for Eureka designed to put two rows side by side into the same UITableViewCell.

SplitRow

Usage

import SplitRow

class ViewController: FormViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        form +++ Section()
            <<< SplitRow<PushRow<String>,TextRow>(){
                    $0.rowLeft = PushRow<String>(){
                        $0.selectorTitle = "E-Mail"
                        $0.options = ["Private","Work","Others"]
                    }

                    $0.rowRight = TextRow(){
                        $0.placeholder = "E-Mail"
                    }

            }.onChange{
                print("SplitRow.onChange:","left:",$0.value?.left,"right:",$0.value?.right)
            }
    }
}

Requirements

  • iOS 9.0+
  • Xcode 9.0+
  • Eureka ~> 4.1

Getting involved

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

Author

Latest podspec

{
    "name": "SplitRow",
    "version": "1.1.1",
    "summary": "A row for Eureka to put two rows side by side into the same UITableViewCell.",
    "homepage": "https://github.com/EurekaCommunity/SplitRow",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Marco Betschart",
    "social_media_url": "https://twitter.com/EurekaCommunity",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/EurekaCommunity/SplitRow.git",
        "tag": "1.1.1"
    },
    "source_files": "SplitRow/**/*.{swift}",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "requires_arc": true,
    "dependencies": {
        "Eureka": [
            "~> 4.1.0"
        ]
    }
}

Pin It on Pinterest

Share This