Visual designing library for iOS & OSX

Overview

Header

Build Status Pods Version Platforms Swift Carthage Compatible codecov


ProcessingKit

ProcessingKit is a Visual designing library for iOS & OSX. ProcessingKit written in Swift ๐Ÿง and you can write like processing.

Demo

Demo

Demo Apps

iPad Demo App (Developed for Open Source Conference)

Sketch Runner Code Comparison (between Processing and ProcessingKit)

Example

OS gif code
iOS gif code
OSX gif code

Requirements

  • Swift 3.0 or later
  • iOS 10.0 or later
  • OSX 10.11 or later

If you use Swift 3.x, try ProcessingKit 0.6.0.

Usage

  1. Create custom class that inherits from ProcessingView
import ProcessingKit

class SampleView: ProcessingView {
    func setup() {
        // The setup() function is run once, when the view instantiated.
    }
    func draw() {
        // Called directly after setup(), the draw() function continuously executes the lines of code contained inside its block until the program is stopped or noLoop() is called.
    }
}
  1. Create a SampleView instance

Create programmatically

    lazy var sampleView: SampleView = {
        let sampleView = SampleView(frame: frame)
        sampleView.isUserInteractionEnabled = true // If you want to use touch events (default true)
        return sampleView
    }()

Use InterfaceBuilder

  1. Add UIView to ViewController
  2. Select UIView & Open Identity inspector
  3. Set SampleView to Custom class field
  4. Add outlet connection
 @IBOutlet weak var sampleView: SampleView!

 override func viewDidLoad() {
     super.viewDidLoad()
     sampleView.isUserInteractionEnabled = true // If you want to use touch events (default true)
 }

Installation

CocoaPods

Add the following to your Podfile:

  pod "ProcessingKit"

Carthage

Add the following to your Cartfile:

  github "natmark/ProcessingKit"

Xcode File Template

  • ProcessingKit.xctemplate is available.
  • Use Donut(Xcode file template manager) to install.

$ donut install https://github.com/natmark/ProcessingKit

Documentation

License

ProcessingKit is available under the MIT license. See the LICENSE file for more info.

You might also like...
๐ŸŽž Powerful gradient animations made simple for iOS.
๐ŸŽž Powerful gradient animations made simple for iOS.

AnimatedGradientView is a UIView subclass which makes it simple to add animated gradients to your iOS app. It is written purely in Swift. Further docu

The application is develop in Objective IOS. kids can draw whatever they want and also kids can save the drawing as well as undo erase the drawing.
The application is develop in Objective IOS. kids can draw whatever they want and also kids can save the drawing as well as undo erase the drawing.

IOSObjC_KidsBoard The application is develop in Objective IOS. kids can draw whatever they want and also kids can save the drawing as well as undo era

Create Live Graphics in SwiftUI (iOS, tvOS & macOS)

PixelUI import SwiftUI import PixelUI struct ContentView: View { var body: some View { GeometryReader { geo in

A lightweight XMLParser for assembling and parsing XML values written for iOS 8+ in Swift 2.
A lightweight XMLParser for assembling and parsing XML values written for iOS 8+ in Swift 2.

Overview Description Requirements Installation Usage Author License Description XMLParser lets you convert a pure Swift dictionary into XML string and

SwiftUI sample code for Apple's WWDC18 talk
SwiftUI sample code for Apple's WWDC18 talk "Designing Fluid Interfaces".

Fluid Interfaces SwiftUI SwiftUI sample code for Apple's WWDC18 talk "Designing Fluid Interfaces". What is Fluid Interfaces? Fluid Interfaces is a new

Visual Positioning System SDK iOS

VPS SDK (iOS) This is Visual Positioning System SDK for Native iOS apps. Main features are: High-precision global user position localization for your

A custom visual calendar for iOS 8+ written in Swift (>= 4.0).
A custom visual calendar for iOS 8+ written in Swift (= 4.0).

Overview Screenshots GIF Demo Installation Usage Architecture Version matrix Advanced API For contributors Screenshots GIF Demo Installation CocoaPods

A visual developer tool for inspecting your iOS application data structures.
A visual developer tool for inspecting your iOS application data structures.

Tree Dump Debugger A visual developer tool for inspecting your iOS application data structures. Features Inspect any data structure with only one line

๐Ÿ“ฐ Consistent & accessible visual styling on iOS with support for Dynamic Type.
๐Ÿ“ฐ Consistent & accessible visual styling on iOS with support for Dynamic Type.

TypographyKit makes it easy to define typography styles and colour palettes in your iOS app helping you achieve visual consistency in your design as w

A visual permission manager for iOS
A visual permission manager for iOS

VWWPermissionKit We've all been there. You get started on your latest and greatest app when you have to add logic to prompt the user for permissions b

An app focused on show in a visual way how sorting algorithms actually works.
An app focused on show in a visual way how sorting algorithms actually works.

Sorting Algorithms App An open source app focused on show in a visual way how sorting algorithms actually works. Available on the app store Do you wan

Swifty tool for visual testing iPhone and iPad apps. Every pixel counts.

Cribble Cribble - a tool for visual testing iPhone and iPad apps. Every pixel counts. Getting Started An example app is included demonstrating Cribble

The source code of 'Visual Attribute Transfer through Deep Image Analogy'.
The source code of 'Visual Attribute Transfer through Deep Image Analogy'.

Deep Image Analogy The major contributors of this repository include Jing Liao, Yuan Yao, Lu Yuan, Gang Hua and Sing Bing Kang at Microsoft Research.

Visual Memorability with Caffe Model

Visual Memorability with Caffe Model @inproceedings{ICCV15_Khosla, author = "Aditya Khosla and Akhil S. Raju and Antonio Torralba and Aude Oliva", tit

๐ŸŒ… iOS11 demo application for visual sentiment prediction.
๐ŸŒ… iOS11 demo application for visual sentiment prediction.

Sentiment Vision Demo A Demo application using Vision and CoreML frameworks to detect the most likely sentiment of the given image. Model This demo is

Fancy Swift implementation of the Visual Format Language (experimental and doesn't work with the recent version of Swift)
Fancy Swift implementation of the Visual Format Language (experimental and doesn't work with the recent version of Swift)

VFLToolbox Autolayout is awesome! VFL a.k.a Visual Format Language is even more awesome because it allows you to shorten constraints setting code. The

BoldContacts mobile app for people with visual/cognitive/motor disabilities
BoldContacts mobile app for people with visual/cognitive/motor disabilities

BoldContacts mobile app BoldContactsโ„ข is a mobile app that helps you browse your contacts and connect with them. BoldContacts is intended for people w

A lightweight, one line setup, iOS / OSX network debugging library! ๐ŸฆŠ
A lightweight, one line setup, iOS / OSX network debugging library! ๐ŸฆŠ

Netfox provides a quick look on all executed network requests performed by your iOS or OSX app. It grabs all requests - of course yours, requests from

SwiftWebSocket - Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX.
SwiftWebSocket - Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX.

SwiftWebSocket Conforming WebSocket (RFC 6455) client library for iOS and Mac OSX. SwiftWebSocket passes all 521 of the Autobahn's fuzzing tests, incl

Releases(1.4.0)
Owner
Atsuya Sato
iOS Application Developer
Atsuya Sato
Powerful and easy-to-use vector graphics Swift library with SVG support

Macaw Powerful and easy-to-use vector graphics Swift library with SVG support We are a development agency building phenomenal apps. What is Macaw? Mac

Exyte 5.9k Jan 2, 2023
An open source library that lets your users draw on things - mark up images with text, shapes, etc.

Drawsana 0.12.0 Drawsana is a generalized framework for making freehand drawing views on iOS. You can let users scribble over images, add shapes and t

Asana 569 Dec 23, 2022
The code for my CoreGraphics+CoreAnimation talk, held during the 2012 iOS Game Design Seminar at the Technical University Munich.

PKCoreTechniques ======= Core Techniques is the result of a presentation I held at the Technical University of Munich during the 'iOS Game Design Semi

Philip Kluz 143 Sep 21, 2022
Drawing and Geometry made easy on iOS - now in Swift 3.0

InkKit Swift Support Swift 4.0 InkKit is Swift 4.0 by default, so to use that just include InkKit in your podfile: pod 'InkKit' Swift 3.2 In order to

Shaps 373 Dec 27, 2022
iOS utility classes for asynchronous rendering and display.

YYAsyncLayer iOS utility classes for asynchronous rendering and display. (It was used by YYText) Simple Usage @interface YYLabel : UIView @property NS

null 672 Dec 27, 2022
An iOS framework for easily adding drawings and text to images.

jot is an easy way to add touch-controlled drawings and text to images in your iOS app. What's jot for? Annotating Images jot is the easiest way to ad

IFTTT 1.8k Oct 28, 2022
Display and interact with SVG Images on iOS / OS X, using native rendering (CoreAnimation)

SVGKit SVGKit is a Cocoa framework for rendering SVG files natively: it's fast and powerful. Some additional info and links are on the wiki Versions:

null 4.3k Jan 3, 2023
Conical (angular) gradient for iOS written in Swift

AEConicalGradient Conical (angular) gradient in Swift I hope that somebody will find this useful. And nice. Usage AEConicalGradient is a minion which

Marko Tadiฤ‡ 82 Dec 27, 2022
๐ŸŒˆ Highly customizable Core Graphics based gradient view for iOS

MKGradientView Highly customizable Core Graphics based gradient view Features Available gradient types: Linear (Axial) Radial (Circular) Conical (Angu

Max Konovalov 167 Dec 27, 2022
GraphLayout - iOS UI controls to visualize graphs. Powered by Graphviz

GraphLayout GraphLayout - UI controls for graph visualization. It is powered by Graphviz. Graph visualization is a way of representing structural info

null 97 Sep 26, 2022