Skip to content

Instantly share code, notes, and snippets.

View MarcSteven's full-sized avatar
🎯
Focusing on writing code

Marc Steven MarcSteven

🎯
Focusing on writing code
View GitHub Profile
import lldb
import re
import shlex
# This script allows Xcode to selectively ignore Obj-C exceptions
# based on any selector on the NSException instance
def getRegister(target):
if target.triple.startswith('x86_64'):
return "rdi"
@MarcSteven
MarcSteven / AppDelegate.swift
Created December 14, 2015 01:18 — forked from chriseidhof/AppDelegate.swift
Functional Swift Talk
import UIKit
struct Screen<A> {
let run: (A -> ()) -> UIViewController
}
struct Step<A> {
let build: (navigationController: UINavigationController, callback: A -> ()) -> UIViewController
}