{"id":13990684,"url":"https://github.com/bevy/photo-editor","last_synced_at":"2025-07-22T13:30:54.201Z","repository":{"id":20503718,"uuid":"89133567","full_name":"bevy/photo-editor","owner":"bevy","description":"Photo editor with a lot of cool features ","archived":false,"fork":false,"pushed_at":"2022-05-02T16:23:29.000Z","size":5163,"stargazers_count":883,"open_issues_count":59,"forks_count":336,"subscribers_count":36,"default_branch":"master","last_synced_at":"2024-10-30T22:44:12.044Z","etag":null,"topics":["instagram","ios","photo-editing","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/bevy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-23T10:21:16.000Z","updated_at":"2024-10-30T00:35:26.000Z","dependencies_parsed_at":"2022-08-07T09:16:08.154Z","dependency_job_id":null,"html_url":"https://github.com/bevy/photo-editor","commit_stats":null,"previous_names":["eventtus/photo-editor"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bevy%2Fphoto-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bevy","download_url":"https://codeload.github.com/bevy/photo-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227098934,"owners_count":17730673,"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":["instagram","ios","photo-editing","swift"],"created_at":"2024-08-09T13:03:06.314Z","updated_at":"2024-11-29T10:31:22.512Z","avatar_url":"https://github.com/bevy.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# iOS Photo Editor\n\n## Features\n- [x] Cropping \n- [x] Adding images -Stickers-\n- [x] Adding Text with colors\n- [x] Drawing with colors\n- [x] Scaling and rotating objects \n- [x] Deleting objects \n- [x] Saving to photos and Sharing \n- [x] Cool animations \n- [x] Uses iOS Taptic Engine feedback \n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\nTo integrate iOS Photo Editor into your Xcode project using CocoaPods, specify it in your `Podfile`:\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '10.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'iOSPhotoEditor'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n## Usage\n\n### Photo\n\nThe `PhotoEditorViewController`.\n\n```swift\nlet photoEditor = PhotoEditorViewController(nibName:\"PhotoEditorViewController\",bundle: Bundle(for: PhotoEditorViewController.self))\n\n//PhotoEditorDelegate\nphotoEditor.photoEditorDelegate = self\n\n//The image to be edited \nphotoEditor.image = image\n\n//Stickers that the user will choose from to add on the image         \nphotoEditor.stickers.append(UIImage(named: \"sticker\" )!)\n\n//Optional: To hide controls - array of enum control\nphotoEditor.hiddenControls = [.crop, .draw, .share]\n\n//Optional: Colors for drawing and Text, If not set default values will be used\nphotoEditor.colors = [.red,.blue,.green]\n\n//Present the View Controller\npresent(photoEditor, animated: true, completion: nil)\n```\nThe `PhotoEditorDelegate` methods.\n\n```swift\nfunc doneEditing(image: UIImage) {\n    // the edited image\n}\n    \nfunc canceledEditing() {\n    print(\"Canceled\")\n}\n\n```\n\n\u003cimg src=\"Assets/screenshot.PNG\" width=\"350\" height=\"600\" /\u003e\n\n# Live Demo appetize.io\n[![Demo](Assets/appetize.png)](https://appetize.io/app/jtanmwtzbz1favhvhw5g24n7b0?device=iphone7plus\u0026scale=50\u0026orientation=portrait\u0026osVersion=10.3)\n\n\n# Demo Video \n[![Demo](https://img.youtube.com/vi/9VeIl9i30dI/0.jpg)](https://youtu.be/9VeIl9i30dI)\n\n## Credits\n\nWritten by [Mohamed Hamed](https://github.com/M-Hamed).\n\nInitially sponsored by [![Eventtus](http://assets.eventtus.com/logos/eventtus/standard.png)](http://eventtus.com)\n\n## License\n\nReleased under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevy%2Fphoto-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbevy%2Fphoto-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbevy%2Fphoto-editor/lists"}