[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6853":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":17,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},6853,"AnimatedCollectionViewLayout","KelvinJin\u002FAnimatedCollectionViewLayout","KelvinJin","A UICollectionViewLayout subclass that adds custom transitions\u002Fanimations to the UICollectionView without effecting your existing code.","",null,"Swift",4862,347,67,27,0,1,4,3,62.52,"MIT License",false,"master",true,[26,27,28,29,30,31,32],"animation","cocoapods","ios","swift","transition","uicollectionview","uicollectionviewlayout-subclass","2026-06-12 04:00:30","# AnimatedCollectionViewLayout\n\nNormally a `UICollectionView` has no transition effects when you scroll from one item to another. There are lots of ways to write animations for UICollectionView, but using a UICollectionViewLayout subclass is by far the simplest one. And it doesn't break any of your existing code. You can still use your UICollectionView subclass and you don't need to change your UICollectionViewCell. Just plug and enjoy.\n\n![CI Status](https:\u002F\u002Ftravis-ci.org\u002FKelvinJin\u002FAnimatedCollectionViewLayout.svg?branch=master)\n\n\u003Ctable>\n\u003Ctr>\n\u003Cth>Parallax\u003C\u002Fth>\n\u003Cth>ZoomInOut\u003C\u002Fth>\n\u003Cth>RotateInOut\u003C\u002Fth>\n\u003Cth>Cards\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002Fv8JuRYj.gif\"\u002F>\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002FlLooXQ7.gif\"\u002F>\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002FlCNh5mg.gif\"\u002F>\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002FjoA1emB.gif\"\u002F>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Cth>CrossFade\u003C\u002Fth>\n\u003Cth>Cube\u003C\u002Fth>\n\u003Cth>Page\u003C\u002Fth>\n\u003Cth>\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002FU1hOKYo.gif\"\u002F>\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002F897mcdm.gif\"\u002F>\u003C\u002Ftd>\n\u003Ctd>\u003Cimg src=\"http:\u002F\u002Fi.imgur.com\u002FHRcvRIV.gif\"\u002F>\u003C\u002Ftd>\n\u003Ctd>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Example\n\nTo run the example project, clone the repo, and start `iOS Example` in Xcode.\n\n## Requirements\n\n- iOS 9.0+\n\n## Installation\n\n### CocoaPods\n\nTo integrate AnimatedCollectionViewLayout into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\nFor Swift 4.2 or above:\n\n```ruby\npod 'AnimatedCollectionViewLayout'\n```\n\nFor Swift 4.1 or below:\n\n```ruby\npod 'AnimatedCollectionViewLayout', '~> 0.3.0'\n```\n\n### Carthage & SPM\n\nCarthage and Swift Package Manager are also supported.\n\n## Usage\n\n### Get Started\n\nImport the library where you want to use it. Create a `AnimatedCollectionViewLayout` object, set its `animator` and assign it to your `UICollectionView`.\n\n```swift\nimport AnimatedCollectionViewLayout\n\n\u002F\u002F ...\n\nlet layout = AnimatedCollectionViewLayout()\nlayout.animator = ParallaxAttributesAnimator()\ncollectionView.collectionViewLayout = layout\n```\n\n### Customization\n\nMost of the built-in animators work best in **Paging** mode and they have additional parameters that you can tweak for better transitions.\nYou can also write your own animators by implementing the protocol `LayoutAttributesAnimator`.\n\n## Author\n\n[Jin Wang](https:\u002F\u002Ftwitter.com\u002Fjinw1990)\n\n\n## License\n\nAnimatedCollectionViewLayout is available under the MIT license. See the LICENSE file for more info.\n","AnimatedCollectionViewLayout 是一个用于为 UICollectionView 添加自定义过渡和动画效果的 UICollectionViewLayout 子类。该项目通过子类化 UICollectionViewLayout，提供了一种简单且不破坏现有代码结构的方式来实现复杂的滚动动画效果，支持包括视差、缩放进出、旋转进出等多种动画类型。适用于需要在 iOS 应用中提升用户体验，特别是希望为集合视图添加平滑过渡效果而不希望大幅修改已有代码库的场景。项目使用 Swift 开发，并支持通过 CocoaPods、Carthage 或 Swift Package Manager 方式集成至 Xcode 项目中。",2,"2026-06-11 03:09:13","top_language"]