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 Eureka | |
import UIKit | |
// This particular example assumes the view controller is embedded in a navigation controller | |
// (but the option can be added any number of ways) | |
class ViewController: FormViewController { | |
var options = ["first", "second"] | |
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
class TestingAppDelegate: NSObject { | |
var window: UIWindow? | |
} |
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
# Lovely little suite of functions to automate better commit messages, from: | |
# http://artsy.github.io/blog/2016/03/02/Lazily-Automation/ | |
# I'm a zsh user, so I stash these into my home directory, | |
# and then add the following reference to my .zshrc: source $HOME/git_commit_helpers | |
function git_branch_info | |
git branch ^/dev/null | grep \* | sed 's/* //' | |
end |