ProcessingKit alternatives and similar libraries
Based on the "Graphics" category.
Alternatively, view ProcessingKit alternatives based on common mentions on social networks and blogs.
-
SVGKit
Display and interact with SVG Images on iOS / OS X, using native rendering (CoreAnimation) -
NXDrawKit
NXDrawKit is a simple and easy but useful drawing kit for iPhone -
YYAsyncLayer
iOS utility classes for asynchronous rendering and display. -
Drawsana
An open source library that lets your users draw on things - mark up images with text, shapes, etc. -
AnimatedGradientView
🎞 Powerful gradient animations made simple for iOS. -
PKCoreTechniques
The code for my CoreGraphics+CoreAnimation talk, held during the 2012 iOS Game Design Seminar at the Technical University Munich. -
MPWDrawingContext
An Objective-C wrapper for CoreGraphics CGContext -
GraphLayout
GraphLayout - iOS UI controls to visualize graphs. Powered by Graphviz -
Graphicz
Light-weight, operator-overloading-free complements to CoreGraphics! -
DePict
A simple, declarative, functional drawing framework, in Swift!
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ProcessingKit or a related project?
README
ProcessingKit
ProcessingKit is a Visual designing library for iOS & OSX. ProcessingKit written in Swift🐧 and you can write like processing.
Demo
Demo Apps
iPad Demo App (Developed for Open Source Conference)
Sketch Runner | Code Comparison (between Processing and ProcessingKit) |
---|---|
![]() |
![]() |
Example
OS | gif | code |
---|---|---|
iOS | ![]() |
|
OSX | ![]() |
![]() |
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
- 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.
}
}
- Create a SampleView instance
### Create programmatically
Swift 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
- Add UIView to ViewController
- Select UIView & Open Identity inspector
- Set SampleView to Custom class field
- 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"
- (Example project here: PKPodsExample)
Carthage
Add the following to your Cartfile
:
github "natmark/ProcessingKit"
- (Example project here: PKExample)
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.
*Note that all licence references and agreements mentioned in the ProcessingKit README section above
are relevant to that project's source code only.