Latest 0.2.4
Homepage https://github.com/AttilaTheFun/SwiftToolKit
License MIT
Platforms ios 8.0, requires ARC
Authors

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

This library contains a collection of utility functions and extensions to help
make code cleaner and more readable.

TypeTools contains a function to produce a hashable key from a type.

UIButtonExtensions contains an extension to UIButton which adds a cornerRadius property
which is configurable and designable through interface builder.

UIColorExtensions contains an extension to UIColor which adds convenience initializers for
RGB integer components and RGB hex values.

UIImageViewExtensions contains an extension to UIImageView which adds an imageURL property.
When set, this fetches the image asynchronously and sets it as the imageView’s image propety.

UIViewAutolayoutExtensions contains utility functions and an extension to UIView which simplify
writing AutoLayout constraints.

Usage

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

Requirements

iOS 8.3 or Greater

Installation

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

pod "SwiftToolKit"

Author

Logan Shire, [email protected]

License

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

Latest podspec

{
    "name": "SwiftToolKit",
    "version": "0.2.4",
    "summary": "A collection of Swift utility classes and extensions.",
    "description": "This library contains a collection of Swift utility functions and extensions to helpnmake code cleaner and more readable.nnTypeTools                   contains a function to produce a hashable key from antype.nnUIButtonExtensions          contains an extension to UIButton which adds ancornerRadius property which is configurable and designable through interfacenbuilder.nnUIColorExtensions           contains an extension to UIColor which adds convenienceninitializers for RGB integer components and RGB hex values.nnUIImageViewExtensions       contains an extension to UIImageView which adds annimageURL property. When set, this fetches the image asynchronously and sets itnas the imageView's image propety.nnUIViewAutolayoutExtensions  contains utility functions and an extension tonUIView which simplify writing AutoLayout constraints.",
    "homepage": "https://github.com/AttilaTheFun/SwiftToolKit",
    "license": "MIT",
    "authors": {
        "Logan Shire": "[email protected]"
    },
    "source": {
        "git": "https://github.com/AttilaTheFun/SwiftToolKit.git",
        "tag": "0.2.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "subspecs": [
        {
            "name": "Utils",
            "source_files": "Pod/Utils/*.swift"
        },
        {
            "name": "Extensions",
            "subspecs": [
                {
                    "name": "UIButton",
                    "source_files": "Pod/Extensions/UIButtonExtensions.swift",
                    "frameworks": [
                        "UIKit",
                        "QuartzCore"
                    ]
                },
                {
                    "name": "UIColor",
                    "source_files": "Pod/Extensions/UIColorExtensions.swift",
                    "frameworks": "UIKit"
                },
                {
                    "name": "UIImageView",
                    "source_files": "Pod/Extensions/UIImageViewExtensions.swift",
                    "frameworks": "UIKit"
                },
                {
                    "name": "UIViewAutolayout",
                    "source_files": "Pod/Extensions/UIViewAutolayoutExtensions.swift",
                    "frameworks": "UIKit"
                }
            ]
        }
    ]
}

Pin It on Pinterest

Share This