{"id":21903863,"url":"https://github.com/hansemannn/titanium-pencilkit","last_synced_at":"2025-07-11T15:42:20.951Z","repository":{"id":142791364,"uuid":"214601152","full_name":"hansemannn/titanium-pencilkit","owner":"hansemannn","description":"Use the native iOS 13+ PencilKit framework in Titanium.","archived":false,"fork":false,"pushed_at":"2025-05-01T08:04:28.000Z","size":15,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-01T09:19:53.650Z","etag":null,"topics":["appcelerator","ios13","pencilkit","titanium"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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/hansemannn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-12T07:34:22.000Z","updated_at":"2025-05-01T08:03:47.000Z","dependencies_parsed_at":"2023-03-18T06:00:54.118Z","dependency_job_id":null,"html_url":"https://github.com/hansemannn/titanium-pencilkit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hansemannn/titanium-pencilkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-pencilkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-pencilkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-pencilkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-pencilkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-pencilkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-pencilkit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264842516,"owners_count":23672016,"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":["appcelerator","ios13","pencilkit","titanium"],"created_at":"2024-11-28T15:29:51.157Z","updated_at":"2025-07-11T15:42:20.077Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Titanium iOS 13+ PencilKit\n\nUse the native iOS 13+ PencilKit framework in Axway Titanium. This module is sponsored by [binaries included](https://binaries-included.net)!\n\n## Requirements\n\n- [x] Titanium SDK 8.2.0+\n- [x] iOS 13+\n- [x] Xcode 11+\n\n## Example\n\n```js\nimport PencilKit from 'ti.pencilkit';\n\nconst win = Ti.UI.createWindow({\n    title: 'Current canvas'\n});\n\nconst nav = Ti.UI.createNavigationWindow({\n    window: win\n});\n\nwin.addEventListener('open', () =\u003e {\n    canvasView.focus();\n});\n\nconst saveButton = Ti.UI.createButton({\n    title: 'Save'\n});\n\nsaveButton.addEventListener('click', saveCanvas);\nwin.rightNavButton = saveButton;\n\nconst canvasView = PencilKit.createCanvasView();\n\nwin.add(canvasView);\nnav.open();\n\nfunction saveCanvas() {\n    canvasView.generateImage({\n        callback: event =\u003e {\n            const win2 = Ti.UI.createWindow({\n                title: 'Saved canvas',\n                backgroundColor: '#fff'\n            });\n\n            const nav2 = Ti.UI.createNavigationWindow({\n                window: win2\n            });\n\n            win2.add(Ti.UI.createImageView({\n                image: event.image\n            }));\n\n            nav2.open({\n                modal: true\n            });\n        }\n    });\n}\n```\n\n## Author\n\nHans Knöchel\n\n## License\n\nMIT\n\n## Copyright\n\n(c) 2019-present by [binaries included](https://binaries-included.net)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-pencilkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-pencilkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-pencilkit/lists"}