Skip to content

Instantly share code, notes, and snippets.

@elizaaverywilson
elizaaverywilson / GCAppController.m
Last active December 29, 2015 07:09
In dev GCAppController.m so those NSChat people can look at it ;)
// Key for the preference file numbers:
const int decConst = 10;
const int hexConst = 16;
const int binConst = 2;
const int decASCII_Const = 9;
const int binASCII_Const = 1;
const int expressionConst = 3;
// Uncomment to enable debugger mode
@elizaaverywilson
elizaaverywilson / NSLog Token Cheat Sheet
Created November 23, 2013 19:27
NSLog Token Cheat Sheet
// NSLog Tokens
// ----------------------------------------------------
// Symbol .........|...Displays
// %@ .............|...id
// %d,%D,%i .......|...long
// %u,%U ..........|...unsigned long
// %hi ............|...short
// %hu ............|...unsigned short
// %qi ............|...long long
// %qu ............|...unsigned long long