Skip to content

Instantly share code, notes, and snippets.

View sebskuse's full-sized avatar

Seb Skuse sebskuse

View GitHub Profile
/**
Provides the ability to verify key paths at compile time.
If "keyPath" does not exist, a compile-time error will be generated.
Example:
// Verifies "isFinished" exists on "operation".
NSString *key = SQKeyPath(operation, isFinished);
// Verifies "isFinished" exists on self.