Skip to content

动画不生效 #1

Description

@martcodex

用代码编写,加入如下代码不生效
let layout = MMCollectionViewFlowLayout()
layout.transition = ParallaxAttributesTransition()
collectionView.collectionViewLayout = layout

你的demo里面必须要在
override func prepare(for segue: UIStoryboardSegue, sender: Any?) 这个函数传参过去才可以

问一下,在不用Storyboard编写的情况下,如何用你的动画框架

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions