Latest 1.2
Homepage https://github.com/hyperoslo/NSString-HYPWordExtractor
License MIT
Platforms ios 6.0, requires ARC
Frameworks Foundation
Authors

Build Status

A super easy way of extracting all or only unique words from an NSString

Extracting unique words would look like this:

NSString *string = @"first_name last_name";
NSSet *uniqueWords = [string hyp_uniqueWords];

Would produce

uniqueWords: {(
    "first_name",
    "last_name"
)}

Extracting all words would look like this:

NSString *string = @"first_name last_name last_name";
NSArray *words = [string hyp_words];

Would produce

words: (
    "first_name",
    "last_name",
    "last_name"
)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

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.

License

NSString-HYPWordExtractor is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "NSString-HYPWordExtractor",
    "version": "1.2",
    "summary": "A super easy way of extracting all or only unique words from an NSString",
    "description": "                   * A super easy way of extracting all or only unique words from an NSStringn",
    "homepage": "https://github.com/hyperoslo/NSString-HYPWordExtractor",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Hyper Interaktiv": "[email protected]"
    },
    "social_media_url": "https://twitter.com/hyperoslo",
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/hyperoslo/NSString-HYPWordExtractor.git",
        "tag": "1.2"
    },
    "source_files": "Source/",
    "frameworks": "Foundation",
    "requires_arc": true
}

Pin It on Pinterest

Share This