Created
February 9, 2016 11:59
-
-
Save ricardopereira/621f7a54cba9c020c2b8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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