Created
September 23, 2014 17:55
-
-
Save jakebromberg/cf2dd0c451741915bc54 to your computer and use it in GitHub Desktop.
Allows code-time validation of key-value coding. Inspired by Justin Spahr-Summers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define keypath(object, keypath) \ | |
((void)(NO && ((void)object.keypath, NO)), @ # keypath ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment