https://github.com/mugbug/paintandbrush
🎨 A package with some simple -- but useful -- helpers for building UIKit views in code.
https://github.com/mugbug/paintandbrush
hacktoberfest ios swift uikit view-code
Last synced: 11 months ago
JSON representation
🎨 A package with some simple -- but useful -- helpers for building UIKit views in code.
- Host: GitHub
- URL: https://github.com/mugbug/paintandbrush
- Owner: mugbug
- License: mit
- Created: 2020-07-30T22:55:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-17T12:40:11.000Z (over 5 years ago)
- Last Synced: 2025-06-05T14:16:43.086Z (about 1 year ago)
- Topics: hacktoberfest, ios, swift, uikit, view-code
- Language: Swift
- Homepage:
- Size: 28.3 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PaintAndBrush
A package with some simple -- but useful -- helpers for building UIKit views in code.
## Installation
PaintAndBrush is available through [CocoaPods](https://cocoapods.org/) and [Swift Package Manager](https://swift.org/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:
```ruby
pod 'PaintAndBrush', '0.2.0'
```
And then run:
```bash
pod install
```
After that, to use PaintAndBrush into your project, import PaintAndBrush with:
```swift
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:
```swift
import PaintAndBrush
```
Or Add the following to your Package.swift file:
```swift
dependencies: [
.package(
url: "https://github.com/mugbug/PaintAndBrush.git",
from: "0.2.0"
),
]
```