Skip to content

Instantly share code, notes, and snippets.

View mrchristopher124's full-sized avatar

Christopher White mrchristopher124

View GitHub Profile
### Keybase proof
I hereby claim:
* I am mrchristopher124 on github.
* I am chris_sneakers (https://keybase.io/chris_sneakers) on keybase.
* I have a public key ASATyXKou1Uq57EzmtkXDl5RUaiVR-B0FonxxrpL0WKJsAo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am mrchristopher124 on github.
* I am mrchristopher124 (https://keybase.io/mrchristopher124) on keybase.
* I have a public key ASA_qjB81yYUjWk2UTUf2xbLvSEfF7Bi8Z18qhKOKlaE5go
To claim this, I am signing this object:
#import <objc/runtime.h>
#import <objc/message.h>
#import <QuartzCore/QuartzCore.h>
#define PROPERTY(propName) NSStringFromSelector(@selector(propName))
// A better assert. NSAssert is too runtime dependant, and assert() doesn't log.
// http://www.mikeash.com/pyblog/friday-qa-2013-05-03-proper-use-of-asserts.html
// Accepts both:
// - PSPDFAssert(x > 0);