GithubHelp home page GithubHelp logo

pakej / productivitykit Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 401 KB

A repository with nifty Swift extensions to make you more productive!

License: Apache License 2.0

Swift 91.26% Ruby 6.69% Objective-C 2.04%
swift extensions foundation uikit productive nsmutableattributedstring uiview pod

productivitykit's Introduction

ProductivityKit build-travis

pod-version pod-platform A repository with nifty Swift extensions to make you more productive! (This repository will have on-going updates. More extensions coming soon!)

Requirements

  • Swift 4.2
  • iOS 10 or later

Installation

Cocoapods

You may opt to install all or only some extensions. Refer to the Available Extensions section to see what extensions are available.

Add one of the following to your Podfile:

# Add this to install all extensions
pod 'ProductivityKit'

# Or, add this to install all UIView extensions
pod 'ProductivityKit/UIView'

# Or, add this to install only the UIView styling extensions
pod 'ProductivityKit/UIView/Styling'

Usage

Simply import the ProductivityKit and you can straight away use the extensions installed.

import ProductivityKit

class MyController: UIViewController {
    ...
    override func viewDidLoad() {
        super.viewDidLoad()
        let view = UIView()
        view.setupBorder(colour: UIColor.black, width: 0.5)
    }
    ...
}

Available Extensions

Head over to the folders listed to see more details of the extensions for a particular Swift core class.

  1. Date
    • Utility
  2. String
    • Formatting
  3. NSMutableAttributedString
    • Interpolations
  4. UIColor
    • RGBA
  5. UIView
    • Styling

Or view the source code docs to dive deeper.

License

See LICENSE file for details

productivitykit's People

Contributors

lifetimelearn3r avatar zaimramlan 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.