Latest 0.2.0
Homepage https://github.com/matteocrippa/StringExtension
License MIT
Platforms ios 8.0, tvos 9.0
Authors

A nice lib that collects all the extension I managed to use in my past project.

CI Status
Version
License
Platform

Usage

StringExtension provide those awesome stuffs:

Let’s assume to have a snippet like:

let name = "Matteo Crippa"

Now you can manage to:

  • Numeric validation

    name.isNumeric // it will return false (off course this time)
  • Email validation

    name.isEmail // it will return false (off course this time)
  • Omissis string

    name.omiss // will return the string

    This func will return -- if origin string is empty

  • Monogram
    name.monogram // MC

    Generate the monogram of a string, it’s very useful when you have to create a badge for users

Example

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

Installation

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

pod "StringExtension"

Author

Matteo Crippa, @ghego20

License

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

Latest podspec

{
    "name": "StringExtension",
    "version": "0.2.0",
    "summary": "A swift String extension.",
    "description": "Some useful String extension for Swift.",
    "homepage": "https://github.com/matteocrippa/StringExtension",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Matteo Crippa": ""
    },
    "source": {
        "git": "https://github.com/matteocrippa/StringExtension.git",
        "tag": "0.2.0"
    },
    "social_media_url": "https://twitter.com/ghego20",
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "source_files": "StringExtension/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This