[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6935":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":16,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},6935,"StarWars.iOS","Yalantis\u002FStarWars.iOS","Yalantis","This component implements transition animation to crumble view-controller into tiny pieces.","https:\u002F\u002Fyalantis.com",null,"Swift",3769,359,117,3,0,59.67,"MIT License",false,"master",true,[23,24,25,26,27,28,29,30,31,32,33],"animation","ios","opengl","research","snapshots","star-wars","swift","transition-animation","uidynamics","uikit","yalantis","2026-06-12 04:00:31","# StarWars Animation\n[![Platform](http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-iOS-blue.svg?style=flat)](http:\u002F\u002Fcocoapods.org\u002F?q=YALSideMenu) [![License](http:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-green.svg?style=flat)](https:\u002F\u002Fgithub.com\u002FYalantis\u002FSide-Menu.iOS\u002Fblob\u002Fmaster\u002FLICENSE)\n\nThis component implements transition animation to crumble view-controller into tiny pieces.\n\n[![Yalantis](https:\u002F\u002Fraw.githubusercontent.com\u002FYalantis\u002FPullToRefresh\u002Fdevelop\u002FPullToRefreshDemo\u002FResources\u002Fbadge_dark.png)](https:\u002F\u002Fyalantis.com\u002F?utm_source=github)\n\n![Preview](preview.gif)\n\nCheck this \u003Ca href=\"https:\u002F\u002Fdribbble.com\u002Fshots\u002F2109991-Star-Wars-App-concept\">project on dribbble\u003C\u002Fa>.\n\nAlso, read how it was done in [our blog](https:\u002F\u002Fyalantis.com\u002Fblog\u002Fuidynamics-uikit-or-opengl-3-types-of-ios-animations-for-the-star-wars\u002F)\n\n## Requirements\n\n- iOS 8.0+\n- Xcode 8\n- Swift 4\n\n## Installing with [CocoaPods](https:\u002F\u002Fcocoapods.org)\n\n```ruby\nuse_frameworks!\npod 'StarWars', '~> 2.0'\n```\n\n## Usage\n\nAt first, import StarWars:\n\n```swift\nimport StarWars\n```\n\nThen just implement class of *UIViewControllerTransitioningDelegate* that will return our animation form method *animationControllerForDismissedController* and assign it to *transitioningDelegate* of viewController that you want to dismiss.\n\n```swift\noverride func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {\n    let destination = segue.destinationViewController\n    destination.transitioningDelegate = self\n}\n\nfunc animationControllerForDismissedController(dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {\n    return StarWarsGLAnimator()\n}\n```\n\nThere are also two things you can customize in the Star Wars animation: duration and sprite sizes. \nLet’s see how you can do this:\n\n```swift\nlet animator = StarWarsGLAnimator()\nanimator.duration = 2\nanimator.spriteWidth = 8\n```\n\nHave fun! :)\n\n#### Let us know!\n\nWe’d be really happy if you sent us links to your projects where you use our component. Just send an email to github@yalantis.com And do let us know if you have any questions or suggestion regarding the animation. \n\nP.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!\n\n## Version history\n\n- `1.0` Swift 2.0\n- `2.0` Adds Swift 3.0 support\n- `3.0` Adds Swift 4.0 support\n- `4.0` Adds Swift 5.0 support\n\n## License\n\nThe MIT License (MIT)\n\nCopyright © 2018 Yalantis\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n","StarWars.iOS 是一个用于iOS应用的过渡动画组件，能够实现将视图控制器碎裂成小块的效果。项目采用Swift语言编写，支持OpenGL和UIKit Dynamics，提供了丰富的自定义选项如动画时长和精灵大小，使得开发者可以根据需要调整视觉效果。它适用于希望为iOS应用添加独特且吸引人的页面切换动画的场景，尤其适合那些追求创新用户体验的应用程序。通过CocoaPods可以方便地集成到项目中。",2,"2026-06-11 03:09:37","top_language"]