Nur Nachman
Software, Music and Thoughts
About Me
Nur
Drum & Bass Producer, Software Developer, Love my Cats
View my complete profile
Blog
Xorcore
Now
snippet: objc: string contains strings[]
objective-c snippet that checks if your input string contains any of the string in the array
if ([ @[@"first" , @"second", @"third"] indexOfObject:inputString] != NSNotFound) {
// contains
}
Newer Post
Older Post
Home