Latest 0.1.1
Homepage https://github.com/raymondhytang/IndefiniteArticle.swift
License MIT
Platforms ios 9.0
Authors

[![CI Status](http://img.shields.io/travis/Raymond Tang/IndefiniteArticle.swift.svg?style=flat)](https://travis-ci.org/Raymond Tang/IndefiniteArticle.swift)
Version
License
Platform
Twitter

A String extension for providing indefinite articles (a|an) for a given string.

This work is a Swift port of @barclay’s Objective-C implementation

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod "IndefiniteArticle.swift"

And add import IndefiniteArticle_swift to the top of the files using IndefiniteArticle.swift.

Author

Raymond Tang, [email protected]

License

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

Latest podspec

{
    "name": "IndefiniteArticle.swift",
    "version": "0.1.1",
    "summary": "A String extension for providing indefinite articles",
    "description": "A String extension for providing indefinite articles (a|an)nfor a given string.nFor example:n*  `String.indefiniteArticle(for: "elipis") => @"an"`n*  `String.indefiniteArticle(for: "taco") => @"a"`nor you can call it on a given string:n* `"historic event".indefiniteArticle() => @"a"`n* `"800 lb gorilla".indefiniteArticle() => @"an"`",
    "homepage": "https://github.com/raymondhytang/IndefiniteArticle.swift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Raymond Tang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/raymondhytang/IndefiniteArticle.swift.git",
        "tag": "0.1.1"
    },
    "social_media_url": "https://twitter.com/raymondhytang",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Source/*.{swift}"
}

Pin It on Pinterest

Share This