SectionAnimationConfig

public struct SectionAnimationConfig

The struct that allows you to configure animation for the section behaviour

  • Constructor where you set different type of animation for the section behaviour.

    Declaration

    Swift

    public init(deleteAnimation: UITableView.RowAnimation = .automatic,
                insertAnimation: UITableView.RowAnimation = .automatic,
                updateAnimation: UITableView.RowAnimation = .automatic,
                collapseAnimation: UITableView.RowAnimation = .top,
                expandAnimation: UITableView.RowAnimation = .top)

    Parameters

    deleteAnimation

    UITableView.RowAnimation

    insertAnimation

    UITableView.RowAnimation

    updateAnimation

    UITableView.RowAnimation

    collapseAnimation

    UITableView.RowAnimation

    expandAnimation

    UITableView.RowAnimation