imgix-objc
imgix-objc copied to clipboard
Small issue with string.length
https://github.com/soffes/imgix-objc/blob/master/Imgix/IGXFormat.m#L48
if (!string || string.length == 0)
you check if the string is nil or if its length is zero, but having a single check for string length zero should suffice, because calling the method on nil will also return 0.