{"id":2363,"url":"https://github.com/artur-ios-dev/VariousViewsEffects","last_synced_at":"2025-08-02T23:33:17.618Z","repository":{"id":56925867,"uuid":"130333824","full_name":"artur-ios-dev/VariousViewsEffects","owner":"artur-ios-dev","description":"Various view's effects for iOS, written in Swift. Allows you to animate views nicely with easy to use extensions. Currently supported animations: Glass Break, Explode, Snowflakes. Every animation is randomized.","archived":false,"fork":false,"pushed_at":"2018-07-13T08:10:48.000Z","size":14686,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-22T02:19:37.128Z","etag":null,"topics":[],"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/artur-ios-dev.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}},"created_at":"2018-04-20T08:32:47.000Z","updated_at":"2023-08-22T04:10:51.000Z","dependencies_parsed_at":"2022-08-20T22:50:32.845Z","dependency_job_id":null,"html_url":"https://github.com/artur-ios-dev/VariousViewsEffects","commit_stats":null,"previous_names":["artrmz/variousviewseffects"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artur-ios-dev%2FVariousViewsEffects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artur-ios-dev%2FVariousViewsEffects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artur-ios-dev%2FVariousViewsEffects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artur-ios-dev%2FVariousViewsEffects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artur-ios-dev","download_url":"https://codeload.github.com/artur-ios-dev/VariousViewsEffects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228503195,"owners_count":17930534,"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":[],"created_at":"2024-01-05T20:16:11.928Z","updated_at":"2024-12-06T17:31:02.132Z","avatar_url":"https://github.com/artur-ios-dev.png","language":"Swift","funding_links":[],"categories":["UI"],"sub_categories":["Animation"],"readme":"# Various View's Effects\n\n[![Platform](http://img.shields.io/badge/platform-iOS-blue.svg?style=flat)](http://cocoapods.org/?q=VariousViewsEffects) [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/artrmz/VariousViewsEffects/blob/master/LICENSE) [![Build Status](https://travis-ci.org/artrmz/VariousViewsEffects.svg?branch=master)](https://travis-ci.org/artrmz/VariousViewsEffects)\n\nVarious view's effects for iOS, written in Swift. Allows you to animate views nicely with easy to use extensions. Every animation is randomized.\nCurrently supported animations:\n\n- **Glass Break**\n\n![Example](Resources/glass-break.gif?raw=true \"glass-break\")\n\n- **Explode**\n\n![Example](Resources/explode.gif?raw=true \"explode\")\n\n- **Snowflakes**\n\n![Example](Resources/snowflakes.gif?raw=true \"snowflakes\")\n\n## Requirements\n- iOS 9.0+\n- Xcode 9.2+\n- Swift 4.1+\n\n## Installing with [CocoaPods](https://cocoapods.org)\n\n```ruby\nuse_frameworks!\n\npod 'VariousViewsEffects'\n```\n\n## Usage\n\n```swift\nview.explode()\n\nview.breakGlass()\n\nview.addSnowflakes(amount: 10, speed: .slow)\n```\n\nYou can also customize how many pieces views breaks on, if the `view` which you call it on should be removed once animation is finished and also you can define a completion block which will be called after animation finishes.\n\n```swift\nview.explode(size: GridSize(columns: 15, rows: 21), removeAfterCompletion: true, completion: {\n    print(\"animation finished\")\n})\n```\n\nHave fun! :)\n\n#### Let me know!\n\nIf you find any issue or would like me to add anything, just create an issue on GitHub.\n\n## License\n\n\tThe MIT License (MIT)\n\n\tCopyright © 2017 Yalantis\n\n\tPermission is hereby granted, free of charge, to any person obtaining a copy\n\tof this software and associated documentation files (the \"Software\"), to deal\n\tin the Software without restriction, including without limitation the rights\n\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\tcopies of the Software, and to permit persons to whom the Software is\n\tfurnished to do so, subject to the following conditions:\n\n\tThe above copyright notice and this permission notice shall be included in\n\tall copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\tTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartur-ios-dev%2FVariousViewsEffects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartur-ios-dev%2FVariousViewsEffects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartur-ios-dev%2FVariousViewsEffects/lists"}