Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missed init for public classes #206

Open
chausovSurfStudio opened this issue Mar 14, 2023 · 1 comment
Open

Missed init for public classes #206

chausovSurfStudio opened this issue Mar 14, 2023 · 1 comment
Assignees
Labels

Comments

@chausovSurfStudio
Copy link

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()
        }
    }

}
@NullIsOne
Copy link
Collaborator

NullIsOne commented Mar 24, 2023

Thank you for your request.
We can add init but this animators was not designed to use without rddm.

Could you describe a scenario where you need to use this animator manually?
Maybe we could suggest you better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants