Skip to content

Instantly share code, notes, and snippets.

View nsakaimbo's full-sized avatar

Nicholas Sakaimbo nsakaimbo

View GitHub Profile
@nsakaimbo
nsakaimbo / Eureka-Updating-PushRowOptions.swift
Last active July 21, 2017 14:39
Eureka - Adding an Option to a PushRow
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"]
@nsakaimbo
nsakaimbo / TestingAppDelegate.swift
Last active May 3, 2017 20:29
AppDelegate for Unit Testing Target
class TestingAppDelegate: NSObject {
var window: UIWindow?
}
@nsakaimbo
nsakaimbo / developer-bookmarks.md
Last active July 21, 2017 14:41
An ever-changing list of cool and useful resources, primarily iOS-related
@nsakaimbo
nsakaimbo / git_commit_helpers
Last active August 9, 2016 19:23 — forked from orta/fish_lazy_commits.sh
Shell commands for better commit messages (via Artsy/Orta)
# 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