/* don't use this code */
if(check() == YES){
//CODE
}
/* because BOOL values can have any value becase it is implemnted as ``unsigned char`` in 32 bit arch systems */
/* use this insted */
if(check()){
//CODE
}
Last active
January 5, 2018 10:12
-
-
Save TarekkMA/45ad50b8c87a1b4f64997b7cef11a55f to your computer and use it in GitHub Desktop.
[Objective C Tips] #objc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment