iOS 开发实用技术导航
NSHipster 中文版
› http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
› http://www.cocos2d-iphone.org/
CocoaPods
› http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
› http://code.google.com/mobile/analytics/
WWDC
› https://developer.apple.com/wwdc/
Design Guides and Resources
› https://developer.apple.com/design/
Transcripts of WWDC sessions
› http://asciiwwdc.com
Cocoa with Love
› http://cocoawithlove.com/
Cocoa Dev Central
› http://cocoadevcentral.com/
NSHipster
› http://nshipster.com/
Style Guides
› Google Objective-C Style Guide
› NYTimes Objective-C Style Guide
Useful Tools and Services
› Charles Web Debugging Proxy
› Smore
kitalphaj
V2EX  ›  iDev

让你的 UICollectionView 动起来,简单替换 AnimatedCollectionViewLayout

  •  
  •   kitalphaj · Feb 9, 2017 · 4627 views
    This topic created in 3517 days ago, the information mentioned may be changed or developed.

    这是我目前看到的最简单的实现视差效果动画的方法。而且完全不影响现有代码。

    使用方法

    import AnimatedCollectionViewLayout
    
    // ...
    
    let layout = AnimatedCollectionViewLayout()
    layout.animator = ParallexAttributesAnimator()
    collectionView.collectionViewLayout = layout
    

    项目地址

    https://github.com/KelvinJin/AnimatedCollectionViewLayout

    1 replies  •  2017-02-09 12:35:33 +08:00
    xiubin
        1
    xiubin  
       Feb 9, 2017
    不错不错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   787 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 21:25 · PVG 05:25 · LAX 14:25 · JFK 17:25
    ♥ Do have faith in what you're doing.