Latest 0.1.0
Homepage https://github.com/oarrabi/LeftPad
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Omar Abdelhafith/LeftPad.svg?style=flat)](https://travis-ci.org/Omar Abdelhafith/LeftPad)
Version
License
Platform

Swift implementation of the famous npm left-pad module

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.
(Dont actually install this, this is a joke :) )

Requirements

Installation

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

pod "LeftPad"

Usage

leftPad(string: "foo", padding: 5)
"  foo"
leftPad(string: "foobar", padding: 5)
"foobar"

Author

Omar Abdelhafith, o.arrabi@me.com

License

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

Latest podspec

{
    "name": "LeftPad",
    "version": "0.1.0",
    "summary": "Swift implementation of the famous npm left-pad (http://left-pad.io/) module",
    "description": "Swift implementation of the famous npm [left-pad]((http://left-pad.io/)) module",
    "homepage": "https://github.com/oarrabi/LeftPad",
    "license": "MIT",
    "authors": {
        "Omar Abdelhafith": "o.arrabi@me.com"
    },
    "source": {
        "git": "https://github.com/oarrabi/LeftPad.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/ifnottrue",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "LeftPad": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This