"Some of Apple’s APIs write garbage values to the error parameter (if non-NULL) in successful cases, so switching on the error can cause false negatives (and subsequently crash)."
Hello,
Do you have some examples of Apple API that do that ? That fill the NSError in success cases ?
"Some of Apple’s APIs write garbage values to the error parameter (if non-NULL) in successful cases, so switching on the error can cause false negatives (and subsequently crash)."
Hello,
Do you have some examples of Apple API that do that ? That fill the NSError in success cases ?