Skip to content

Missed init for public classes #206

Description

@chausovSurfStudio

It seems that for CollectionBatchUpdatesAnimator and for similar classes init-method was missed. Can you add it on next update?)

public class CollectionBatchUpdatesAnimator: Animator<UICollectionView> {

    public override func perform(in collection: UICollectionView, animated: Bool, operation: () -> Void) {
        if animated {
            collection.performBatchUpdates(operation)
        } else {
            operation()
        }
    }

}

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions