Strobocop / IndefiniteArticle.swift

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IndefiniteArticle.swift

[![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, raymondhytang@gmail.com

License

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

About

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

License:MIT License


Languages

Language:Swift 78.4%Language:Ruby 21.6%