identifier
parameter is a string you need to compare to. For example:
NSString* yourString = @"Hello";
BOOL match = [yourString isEqualToString: @"aString"]; //currently returns NO
//handle match value according to your needs, e.g with if-else syntax.
if (match) {
//YES flow
}
else {
//NO flow
}
where @"aString"
is a method parameter, named as identifier
(in your case) to be used in isEqualToString
API’s implementation of Foundation
framework.
2
solved What exactly the first argument `identifier` in Objective-C? [closed]