Skip to content

1.1.2

Compare
Choose a tag to compare
@fanglinwei fanglinwei released this 30 Jun 07:47
· 21 commits to main since this release

OnTap 泛型支持推导cell

            NavigationRow<NavigationCell>("自定义 Navigation Cell")
                .height(52)
                .onTap { cell in
                    print(cell) // NavigationCell
                }
            
            TableRow<BannerCell>(1993)
                .onTap { (view, data) in
                    print(view, data) // BannerCell 1993
                }
            
            WrapperRow<BannerView>(1994)
                .onTap { (view, data) in
                    print(view, data) // BannerView 1994
                }