Skip to content
A String extension for providing indefinite articles (a|an) for a given string
Swift Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
Source
.gitignore
.travis.yml
IndefiniteArticle.swift.podspec
LICENSE
README.md
_Pods.xcodeproj

README.md

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.

You can’t perform that action at this time.