surfstudio / ReactiveDataDisplayManager

MIT License
34 stars 13 forks source link

Missed init for public classes #206

Open chausovSurfStudio opened 1 year ago

chausovSurfStudio commented 1 year ago

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 commented 1 year ago

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.