Latest 0.1.5
Homepage https://github.com/SDanny/petrovich
License MIT
Platforms ios 8.0, osx 10.10
Authors

Petrovich

Simple iOS/macOS library for russian names declension written in swift. Original idea and many features was taken from popular Ruby repository.

Installation

Petrovich is available through CocoaPods. Just add in your podfile:

    pod 'petrovich'

and import the module in .swift-file:

    import petrovich

Usage

    let petrovich = Petrovich.shared
    let firstname = petrovich.firstname("Иван", gender: .male, declension: .dative) // Ивану
    let lastname = petrovich.lastname("Григорьев-Апполонов", gender: .male: declension: .instrumental) // Григорьевым-Апполоновым

Maintainers

License

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

Latest podspec

{
    "name": "petrovich",
    "version": "0.1.5",
    "summary": "Simple iOS/macOS library for cyrillic names declension written in swift.",
    "homepage": "https://github.com/SDanny/petrovich",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "SDanny": "[email protected]"
    },
    "source": {
        "git": "https://github.com/SDanny/petrovich.git",
        "tag": "0.1.5"
    },
    "source_files": "src",
    "resources": "src/assets/*",
    "resource_bundles": {
        "Petrovich": [
            "src/assets/*"
        ]
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This