Created
June 10, 2015 03:19
-
-
Save zld/1d926f3fa941a35432d1 to your computer and use it in GitHub Desktop.
Deal with Null
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 PASS_NULL_TO_NIL (instance)(([instance isKindOfClass:[NSNull class]]) ? nil : instance) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment