Swiftpack.co - alberto093/Graphics as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by alberto093.
alberto093/Graphics 0.2.0
A framework built on UIKit that allows to create UIView modifiers
⭐️ 4
🕓 2 years ago
iOS
.package(url: "https://github.com/alberto093/Graphics.git", from: "0.2.0")

Platform

Welcome to Graphics!

Graphics is an open source project that allows to create powerful graphics components.

If you'd like to contribute to Graphics see Contributing.

In this version you can use a lot of provided modifiers, create new ones and combine them together.

Provided modifiers allows to create components following neumorphism, glassmorphism, minimalism and any kind of UI design style.

You don't need to create complex views hierarchy, Graphics will take care of it.

The layer of meaning is: "One line of code for a view modifier to apply" as like as SwiftUI does.

Features

  • ☑ It is built on native UIKit layout system

  • ☑ Support any kind of UI design style

  • ☑ Allows to create custom modifiers (feel free to create a PR!)

  • ☑ Ready for support animations (work in progress)

Requirements

  • iOS 11.0+ (some APIs require iOS 13.0+)

  • Xcode 11+

  • Swift 5.1+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Graphics into your Xcode project using CocoaPods, specify it in your Podfile:


  

pod 'Graphics'

  

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Graphics into your Xcode project using Carthage, specify it in your Cartfile:


  

github "alberto093/Graphics"

  

Swift Package Manager

Swift Package Manager is a dependency manager built into Xcode.

If you are using Xcode 11 or higher, go to File / Swift Packages / Add Package Dependency... and enter package repository URL https://github.com/alberto093/Graphics.git, then follow the instructions.

Once you have your Swift package set up, adding ImageUI as a dependency is as easy as adding it to the dependencies value of your Package.swift.


  

dependencies: [

  

.package(url: "https://github.com/alberto093/Graphics.git")

  

]

  

Usage

Create a new modifier

Contributing

Graphics's roadmap is managed by Trello and is publicly available. If you'd like to contribute, please feel free to create a PR.

License

ImageUI is released under the MIT license. See LICENSE for details.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics