#NSString-HYPWordExtractor
A super easy way of extracting all or only unique words from an NSString
NSString *string = @"first_name last_name";
NSSet *uniqueWords = [string hyp_uniqueWords];Would produce
uniqueWords: {(
"first_name",
"last_name"
)}
NSString *string = @"first_name last_name last_name";
NSArray *words = [string hyp_words];Would produce
words: (
"first_name",
"last_name",
"last_name"
)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
Hyper made this. We're a digital communications agency with a passion for good code, and if you're using this library we probably want to hire you.
NSString-HYPWordExtractor is available under the MIT license. See the LICENSE file for more info.
