Latest 0.2.0
Homepage https://github.com/gtokman/Viewtilities
License MIT
Platforms ios 11.0
Frameworks UIKit
Authors

Viewtilities is a collection of UIView utilities. It provides useful extensions that will speed up your workflow
when building your UI.

Version
License
Platform

Installation

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

pod 'Viewtilities'

Then run pod install.

Don’t forget to import Viewtilities in every file you’d like to use Viewtilities.

Contents

View Examples

Round Corners

myView.add(.cornerRadius(.custom(corners: [.all], radius: 10)))

round

Shadow

myView.add(.shadow(.custom(offset: .init(width: 0, height: 2), radius: 5, opacity: 0.25, color: .black)))

round shadow

Border

myView.add(.border(.custom(color: .black, width: 1)))

border

Chaining

myView.add(
.cornerRadius(.custom(corners: [.all], radius: 10)),
.shadow(.custom(offset: .init(width: 0, height: 2), radius: 5, opacity: 0.25, color: .black)),
.border(.default)
)

border

View Controller Examples

Coming soon

Custom View Examples

BaseView – Coming Soon

ModifiableView – Coming Soon

Author

Twitter Follow

Twitter Follow

License

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

Latest podspec

{
    "name": "Viewtilities",
    "version": "0.2.0",
    "summary": "A collection of useful UIView utilities.",
    "platforms": {
        "ios": "11.0"
    },
    "description": "A collection of useful UIView utilities. These utility methods are meant to speed upnyour workflow by abstracting common extension methods into a library.",
    "homepage": "https://github.com/gtokman/Viewtilities",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "gtokman": "[email protected]"
    },
    "source": {
        "git": "https://github.com/gtokman/Viewtilities.git",
        "tag": "0.2.0"
    },
    "social_media_url": "https://twitter.com/bestgaryever",
    "source_files": "Viewtilities/**/*.{swift}",
    "frameworks": "UIKit",
    "swift_version": "4.2"
}

Pin It on Pinterest

Share This