Code Monkey home page Code Monkey logo

viewtilities's Introduction

Viewtilities

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

Version License Platform

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))
)

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)
)

all

View Controller Examples

Coming soon

Custom View Examples

BaseView - Coming Soon

ModifiableView - Coming Soon

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.

Author

Twitter Follow

Twitter Follow

License

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

viewtilities's People

Contributors

gtokman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.