and it is not being checked anywhere anyways.
The correct pattern would be to pass in an NSError set to nil, and check if either the setCategory:error: method returns YES or NO, or check if the error exists after the method call. Since we are checking neither of those things, updated to just pass nil for the error param.
and it is not being checked anywhere anyways. The correct pattern would be to pass in an NSError set to nil, and check if either the setCategory:error: method returns YES or NO, or check if the error exists after the method call. Since we are checking neither of those things, updated to just pass nil for the error param.