Skip to content

Instantly share code, notes, and snippets.

@ricardopereira
Created February 9, 2016 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricardopereira/621f7a54cba9c020c2b8 to your computer and use it in GitHub Desktop.
Save ricardopereira/621f7a54cba9c020c2b8 to your computer and use it in GitHub Desktop.
import UIKit
import XCPlayground
import Eureka
var formVC = FormViewController()
let section = Section("Whitesmith Events")
section <<< TextRow() {
$0.value = "Surprise!"
}
section <<< DateRow() {
$0.value = NSDate()
}
formVC.form.append(section)
formVC.view.layer.cornerRadius = 50.0
formVC.view.layer.masksToBounds = true
XCPlaygroundPage.currentPage.liveView = formVC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment