{"id":1177,"url":"https://github.com/natmark/ProcessingKit","last_synced_at":"2025-07-30T20:32:54.071Z","repository":{"id":62451130,"uuid":"99348186","full_name":"natmark/ProcessingKit","owner":"natmark","description":"Visual designing library for iOS \u0026 OSX","archived":true,"fork":false,"pushed_at":"2019-03-30T17:35:02.000Z","size":9783,"stargazers_count":332,"open_issues_count":4,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-28T12:16:11.216Z","etag":null,"topics":["ios","processing","processingkit","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/natmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-04T13:59:24.000Z","updated_at":"2024-09-25T04:02:29.000Z","dependencies_parsed_at":"2022-11-01T23:33:11.478Z","dependency_job_id":null,"html_url":"https://github.com/natmark/ProcessingKit","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natmark%2FProcessingKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natmark%2FProcessingKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natmark%2FProcessingKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/natmark%2FProcessingKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/natmark","download_url":"https://codeload.github.com/natmark/ProcessingKit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187573,"owners_count":17882327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","processing","processingkit","swift"],"created_at":"2024-01-05T20:15:40.602Z","updated_at":"2024-12-04T20:31:06.003Z","avatar_url":"https://github.com/natmark.png","language":"Swift","readme":"![Header](https://github.com/natmark/ProcessingKit/blob/master/Resources/ProcessingKit-Header.png?raw=true)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/natmark/ProcessingKit\"\u003e\n        \u003cimg src=\"https://travis-ci.org/natmark/ProcessingKit.svg?branch=master\"\n             alt=\"Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://cocoapods.org/pods/ProcessingKit\"\u003e\n        \u003cimg src=\"https://img.shields.io/cocoapods/v/ProcessingKit.svg?style=flat\"\n             alt=\"Pods Version\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/natmark/ProcessingKit/\"\u003e\n        \u003cimg src=\"https://img.shields.io/cocoapods/p/ProcessingKit.svg?style=flat\"\n             alt=\"Platforms\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/apple/swift\"\u003e\n        \u003cimg alt=\"Swift\" src=\"https://img.shields.io/badge/swift-4.0-orange.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/Carthage/Carthage\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Carthage-compatible-brightgreen.svg?style=flat\"\n             alt=\"Carthage Compatible\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/natmark/ProcessingKit\"\u003e\n        \u003cimg alt=\"codecov\" src=\"https://codecov.io/gh/natmark/ProcessingKit/branch/master/graph/badge.svg\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n----------------\n\n# ProcessingKit\nProcessingKit is a Visual designing library for iOS \u0026 OSX.\nProcessingKit written in Swift🐧 and you can write like [processing](https://github.com/processing/processing).\n\n## Demo\n![Demo](https://github.com/natmark/ProcessingKit/blob/master/Resources/demo.gif?raw=true)\n\n### Demo Apps\n- [iOS Official Demo](https://github.com/natmark/ProcessingKit/tree/master/ProcessingKitExample)\n- [OSX Official Demo](https://github.com/natmark/ProcessingKit/tree/master/ProcessingKitOSXExample)\n\n\n#### [iPad Demo App (Developed for Open Source Conference)](https://github.com/natmark/OSCProcessingKitDemo)\n\n|Sketch Runner|Code Comparison (between Processing and ProcessingKit)|\n|:------------:|:----------------------------------------------------:|\n|![](https://raw.githubusercontent.com/natmark/OSCProcessingKitDemo/master/Resources/screenshot1.png)|![](https://raw.githubusercontent.com/natmark/OSCProcessingKitDemo/master/Resources/screenshot2.png)|\n\n## Example\n|OS|gif|code|\n|:---:|:------:|:------:|\n|iOS| \u003cimg src=\"https://raw.githubusercontent.com/natmark/ProcessingKit/master/Resources/iOS_Example.gif\" alt=\"gif\"  height=\"50%\"\u003e | ![code](https://raw.githubusercontent.com/natmark/ProcessingKit/master/Resources/iOS_ExampleCode.png)|\n|OSX| ![gif](https://raw.githubusercontent.com/natmark/ProcessingKit/master/Resources/OSX_Example.gif) | ![code](https://raw.githubusercontent.com/natmark/ProcessingKit/master/Resources/OSX_ExampleCode.png)|\n\n## Requirements\n- Swift 3.0 or later\n- iOS 10.0 or later\n- OSX 10.11 or later\n\nIf you use Swift 3.x, try [ProcessingKit 0.6.0](https://github.com/natmark/ProcessingKit/releases/tag/0.6.0).\n\n## Usage\n1. Create custom class that inherits from ProcessingView\n\n```Swift\nimport ProcessingKit\n\nclass SampleView: ProcessingView {\n    func setup() {\n        // The setup() function is run once, when the view instantiated.\n    }\n    func draw() {\n        // 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.\n    }\n}\n```\n\n2. Create a SampleView instance\n### Create programmatically\n```Swift\n    lazy var sampleView: SampleView = {\n        let sampleView = SampleView(frame: frame)\n        sampleView.isUserInteractionEnabled = true // If you want to use touch events (default true)\n        return sampleView\n    }()\n```\n\n### Use InterfaceBuilder\n\n1. Add UIView to ViewController\n2. Select UIView \u0026 Open Identity inspector\n3. Set SampleView to Custom class field\n4. Add outlet connection\n\n```Swift\n @IBOutlet weak var sampleView: SampleView!\n\n override func viewDidLoad() {\n     super.viewDidLoad()\n     sampleView.isUserInteractionEnabled = true // If you want to use touch events (default true)\n }\n```\n\n## Installation\n\n### [CocoaPods](http://cocoadocs.org/docsets/ProcessingKit/)\nAdd the following to your `Podfile`:\n```\n  pod \"ProcessingKit\"\n```\n\n- (Example project here: [PKPodsExample](https://github.com/natmark/PKPodsExample))\n\n### [Carthage](https://github.com/Carthage/Carthage)\nAdd the following to your `Cartfile`:\n```\n  github \"natmark/ProcessingKit\"\n```\n\n- (Example project here: [PKExample](https://github.com/natmark/PKExample))\n\n## Xcode File Template\n- `ProcessingKit.xctemplate` is available.\n- Use [Donut](https://github.com/natmark/Donut)(Xcode file template manager) to install.\n\n`$ donut install https://github.com/natmark/ProcessingKit`\n\n## Documentation\n- [ProcessingKit/wiki](https://github.com/natmark/ProcessingKit/wiki)\n\n## License\nProcessingKit is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":["Graphics"],"sub_categories":["Getting Started","Other free courses","Linter"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatmark%2FProcessingKit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatmark%2FProcessingKit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatmark%2FProcessingKit/lists"}