I have an NSArray which holds NSString objects.
I want to write a search method that will return similar (NOT exact) matches of a given NSStsing.
For example I want the search for "Nick" to return results for "Nickolas", "Nickolette", "Parnickette", etc.
I am having difficulties to do that because by looking at Apple's documentation, NSString doesn't seem to have such a comparison function. Can anyone tell me how to do this?
I want to write a search method that will return similar (NOT exact) matches of a given NSStsing.
For example I want the search for "Nick" to return results for "Nickolas", "Nickolette", "Parnickette", etc.
I am having difficulties to do that because by looking at Apple's documentation, NSString doesn't seem to have such a comparison function. Can anyone tell me how to do this?