Hello,
I'm running in to a problem. I have a helper calss for NSString and I'm getting an error ...
[NSTaggedPointerString containsString:ignoringCase:]: unrecognized selector sent to instance 0x6f15
Since NSTaggedPointerString is supposed to be a string this should not be an issue.
The offending code is ...
if ([[d objectForKey:@"sw_type"] containsString:@"m" ignoringCase:YES]) {
isMandatory = YES;
}
Helper Code ...
-(BOOL)containsString:(NSString *)aString ignoringCase:(BOOL)flag
{
unsigned mask = (flag ? NSCaseInsensitiveSearch : 0);
NSRange range = [self rangeOfString:aString options:mask];
return (range.length > 0);
}
I'm not sure what to do...
Thanks!