• This repository has been archived on 16/Apr/2022
  • Stars
    star
    333
  • Rank 125,855 (Top 3 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visual designing library for iOS & OSX

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.

More Repositories

1

XCAssetsKit

.xcassets parser written in Swift
Swift
50
star
2

Donut

Xcode file template manager
Swift
18
star
3

wp_engine4geektool

repeating youtube video for geektool to realize wallpaper engine on mac
JavaScript
14
star
4

SlideStock

Viewer app for slides provided by speaker deck.
Swift
10
star
5

HUDMakerKit

Customized Head-Up Display Maker
Swift
8
star
6

Gift

Gift is a git like version control system written in Swift
Swift
7
star
7

ewis

terminal-based text editor written in swift
Swift
6
star
8

Montblanc

Montblanc is a wrapper for CoreML Model Compiler.
Swift
4
star
9

TeX-Textlint

TeX auto calibration using textlint + prh
TeX
4
star
10

XCAssetsGen

The swift code generator for asset resources from .xcassets
Swift
4
star
11

MovieCropper

Movie cropping application
Swift
4
star
12

cli-github

Useful GitHub command line tools
Ruby
3
star
13

HakoBus-v2

HakoBus App supported new bus location system
Swift
3
star
14

LifeGame

LifeGame app as an assignment of "AI Programming 1"(curriculum in FUN) course.
Java
3
star
15

NATagTextView

Custom UITextView with symbol tag
Swift
2
star
16

swish

hobby shell written swift
Swift
2
star
17

xKey

Cocoa Key Handler Extension
Swift
2
star
18

iOS-FunBusApp

HTML
2
star
19

Evolver

Genetic Algorithm library for Swift.
Swift
2
star
20

CoreML_Vision_Sampler

CoreML Vision Sampler
Swift
2
star
21

matsumu-lang-editor

matsumu-lang code editor
Ruby
2
star
22

LT_signage

Signage App for Lightning Talk.
Processing
2
star
23

NALiveSketchView

A live camera view with drawable view.
Swift
2
star
24

qiita_like_observer

Qiitaใฎใ„ใ„ใญใ‚’็›ฃ่ฆ–ใ™ใ‚‹Chromeๆ‹กๅผตใ‚ขใƒ—ใƒช
JavaScript
1
star
25

texture-matching

Texture matching using wavelet transform.
C++
1
star
26

GitHubRepositoryViewer

GitHub Repo Viewer(Rx practice)
Swift
1
star
27

OSCProcessingKitDemo

ProcessingKit Demo for OSC
Swift
1
star
28

DefaultsKey

Thin UserDefaults extension
Swift
1
star
29

PKExample

Example Project for [ProcessingKit](https://github.com/natmark/ProcessingKit)
Swift
1
star
30

orenote

Desktop Memo App
JavaScript
1
star
31

rit

rit is a git like version control system written in Ruby
Ruby
1
star
32

fxxk_gen

Code generator for languages derived from Brainfxxk
Ruby
1
star
33

iOS-Redux-study

iOS app using redux architecture for study
Swift
1
star