Swiftpack.co - Package - mugbug/PaintAndBrush

PaintAndBrush

A package with some simple -- but useful -- helpers for building UIKit views in code.

Installation

PaintAndBrush is available through CocoaPods and Swift Package Manager

Cocoa Pods

Cocoa Pods is a dependency manager for Objective-C and Swift Cocoa projects.

To integrate and use PaintAndBrush into your Xcode project, add the pod to your Podfile:

pod 'PaintAndBrush', '0.2.0'

And then run:

pod install

After that, to use PaintAndBrush into your project, import PaintAndBrush with:

import PaintAndBrush

Swift Package Manager (Xcode 11+)

The Swift Package Manager is a tool for automating and managing the distribution of 3rd-party Swift code. Starting on Xcode 11, SPM is natively integrated with Xcode.

To integrate PaintAndBrush into your project using SPM open your project using Xcode 11+. Then click on File -> Swift Packages -> Add Package Dependency and enter the PaintAndBrush repository's URL (https://github.com/mugbug/PaintAndBrush).

To use PaintAndBrush into your project, import PaintAndBrush with:

import PaintAndBrush

Or Add the following to your Package.swift file:

dependencies: [
    .package(
        url: "https://github.com/mugbug/PaintAndBrush.git", 
        from: "0.2.0"
    ),
]

Github

link
Stars: 4

Dependencies

Used By

Total: 0