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

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

Usage

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

Example

Using the extension is simple. Just add these lines:

let image = UIImage(named: "awesome_image.9")
imageView.image = image!.resizableImageFrom9Patch(image!)

Installation

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

pod "NePatch"

Author

Carsten Przyluczky, [email protected]

License

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

Latest podspec

{
    "name": "NePatch",
    "version": "0.1.0",
    "summary": "Add 9patch image support to UIImages.",
    "description": "This pod provides basic support for 9 patch images on iOS. It adds an extension to UIImage so one can call the resizableImageFrom9Patch function to use a 9patch image withing iOS.",
    "homepage": "https://github.com/K4stor/NePatch",
    "license": "MIT",
    "authors": {
        "Kastor": "kastor9elements.com"
    },
    "source": {
        "git": "https://github.com/K4stor/NePatch.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "NePatch": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This