• When an Objective-C method ends with a parameter that is a pointer to an error, it is imported to Swift as a method that throws. However, the error will only be thrown if the return value is either nil or false. All the public methods ending with an error pointer parameter were checked for this flaw. Only these three needed correction:
• When an Objective-C method ends with a parameter that is a pointer to an error, it is imported to Swift as a method that throws. However, the error will only be thrown if the return value is either nil or false. All the public methods ending with an error pointer parameter were checked for this flaw. Only these three needed correction: