ReactiveDataDisplayManager icon indicating copy to clipboard operation
ReactiveDataDisplayManager copied to clipboard

Missed init for public classes

Open chausovSurfStudio opened this issue 2 years ago • 1 comments

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

}

chausovSurfStudio avatar Mar 14 '23 11:03 chausovSurfStudio

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.

NullIsOne avatar Mar 24 '23 09:03 NullIsOne