Latest 1.0.5
Homepage https://github.com/zaimramlan/ProductivityKit
License MIT
Platforms ios 10.0
Frameworks UIKit
Authors

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

Under the MIT license. See LICENSE file for details

Latest podspec

{
    "name": "ProductivityKit",
    "version": "1.0.5",
    "summary": "A repository with nifty Swift extensions to make you more productive!",
    "description": "Helpful Swift extensions that can be added as a whole or by specific class extensionsnthat can help boost your development productivity.",
    "homepage": "https://github.com/zaimramlan/ProductivityKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Zaim Ramlan": "[email protected]"
    },
    "social_media_url": "https://twitter.com/elkholeel",
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/zaimramlan/ProductivityKit.git",
        "tag": "1.0.5"
    },
    "frameworks": "UIKit",
    "swift_version": "4.2",
    "subspecs": [
        {
            "name": "Date",
            "subspecs": [
                {
                    "name": "Utility",
                    "source_files": "ProductivityKit/Date/Date+Utility.swift"
                }
            ]
        },
        {
            "name": "String",
            "subspecs": [
                {
                    "name": "Formatting",
                    "source_files": "ProductivityKit/String/String+Formatting.swift"
                }
            ]
        },
        {
            "name": "NSMutableAttributedString",
            "subspecs": [
                {
                    "name": "Interpolations",
                    "source_files": "ProductivityKit/NSMutableAttributedString/NSMutableAttributedString+Interpolations.swift"
                }
            ]
        },
        {
            "name": "UIColor",
            "subspecs": [
                {
                    "name": "RGBA",
                    "source_files": "ProductivityKit/UIColor/UIColor+RGBA.swift"
                }
            ]
        },
        {
            "name": "UIView",
            "subspecs": [
                {
                    "name": "Styling",
                    "source_files": "ProductivityKit/UIView/UIView+Styling.swift"
                }
            ]
        }
    ]
}

Pin It on Pinterest

Share This