On Feb 16, 2017, at 17:54, sqwarqDev <[email protected]> wrote: > > Still looking for help with this, if anyone’s got any idea? > >> On 15 Feb 2017, at 22:50, sqwarqDev <[email protected]> wrote: >> >> Building with Xcode 7.3.1, macOS 10.11.6 >> >> I’m using an NSPredicate with the form: >> >> NSString *targetString = @“some string or other”; >> NSPredicate *searchPredicate = [NSPredicate >> predicateWithFormat:@"kMDItemFSName contains[cd] %@“, targetString]];
Try quoting the right side? "kMDItemFSName contains[cd] '%@'" Or use the uppercase CONTAINS? Steve via iPad _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
