Latest 0.1.1
Homepage https://github.com/malt03/SwiftyPluralizer
License MIT
Platforms ios 8.0
Authors

This pod is referencing Ruby on Rails rules.

Platform
[CI Status](https://travis-ci.org/Koji Murata/SwiftyPluralizer)
Version
Language
License

Usage

Pluralize and Singularize

var plural = "person".plural // => people
plural.singularize() // => change person

var singular = "people".singular // => person
singular.pluralize() // => change people

Add rules

Pluralizer.defaultInstance.addPlural("(quiz)$", "$1zes")
Pluralizer.defaultInstance.addSingular("(quiz)zes$", "$1")
Pluralizer.defaultInstance.addIrregular("person", "people")

Installation

SwiftyPluralizer is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SwiftyPluralizer"

Author

Koji Murata, [email protected]

License

SwiftyPluralizer is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SwiftyPluralizer",
    "version": "0.1.1",
    "summary": "Simple string pluralization with Ruby on Rails rules.",
    "description": "You can pluralize or singularize nouns easily with Ruby on Rails rules.nThis pod is referencing Ruby on Rails.",
    "homepage": "https://github.com/malt03/SwiftyPluralizer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Koji Murata": "[email protected]"
    },
    "source": {
        "git": "https://github.com/malt03/SwiftyPluralizer.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SwiftyPluralizer/Classes/**/*"
}

Pin It on Pinterest

Share This