Skip to content

list_insertRows(_:at:with:)_argokit

aisleep edited this page Dec 17, 2020 · 3 revisions

简介

在指定位置插入新行数据

声明

func insertRows(_ rowData: [D], at indexPaths: [IndexPath], with animation: UITableView.RowAnimation) -> Self where D : ArgoKit.ArgoKitIdentifiable

参数

rowData

插入的每行数据源,数据源必须遵循 ArgoKitIdentifiable 协议

indexPaths

插入行的索引

animation

更新时的动画类型

Clone this wiki locally