Can anyone point me to any resources about case insensitive comparison in Objective C? It doesn\'t seem to have an equivalent method to str1.equalsIgnoreCase(str2)
str1.equalsIgnoreCase(str2)
On macOS you can simply use -[NSString isCaseInsensitiveLike:], which returns BOOL just like -isEqual:.
-[NSString isCaseInsensitiveLike:]
BOOL
-isEqual:
if ([@"Test" isCaseInsensitiveLike: @"test"]) // Success