Latest 0.2.1
Homepage https://github.com/ayianni/YSDrawables
License MIT
Platforms ios 7.0, tvos 9.0, requires ARC
Authors

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

Usage

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

Purpose

YSDrawables is an iOS component intended to be used for IBDesignables and IBInspectables along with tools such as PaintCode

Usage

Extend the two included classes YSDrawableButton or YSDrawableView.

Both of these have an IBInspectable fill color which is intended as the main color for the shape to be drawn
YSDrawnableButton also includes a selectedFillColor which is used to change the fill color when the button is tapped by the user

A couple of examples are provided in the demo both with default colours and overridden.
An example is also shown by programmatically creating a view.

Requirements

Installation

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

pod "YSDrawables"

Author

Alexander Yianni, [email protected]

Kudos

Kudos to Ashton Williams and Vlas Voloshin for the UIImage and NSBundle categories for Designables
https://github.com/Ashton-W/devworld-designables

License

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

Latest podspec

{
    "name": "YSDrawables",
    "version": "0.2.1",
    "summary": "A project which includes a couple of classes which make it easier to create controls with tools such as PaintCode",
    "description": "YSDrawables is an iOS component intended to be used for IBDesignables and IBInspectables along with tools such as PaintCode",
    "homepage": "https://github.com/ayianni/YSDrawables",
    "license": "MIT",
    "authors": {
        "Alexander Yianni": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ayianni/YSDrawables.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "7.0",
        "tvos": "9.0"
    },
    "requires_arc": true,
    "source_files": "Pod/{Classes,Categories}/**/*",
    "resource_bundles": {
        "YSDrawables": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This