Returns a Boolean value that indicates whether receiver is considered to be “like” a given string when the case of characters in the receiver is ignored.
- macOS 10.0+
The string with which to compare the receiver.
true if the receiver is considered to be “like”
a when the case of characters in the receiver is ignored, otherwise
is messages are never sent to any object from within Cocoa itself.
The default implementation for this method provided by
NSString also provides an implementation of this method, which returns
true if the receiver matches a pattern described by
a, ignoring the case of the characters in the receiver.