DianQK / Flix

iOS reusable form library in Swift.
MIT License
726 stars 43 forks source link

I cannot understand why define the type of provider.sectionHeight is ((UITableView) -> CGFloat)? #24

Open change2hao opened 6 years ago

change2hao commented 6 years ago

I always use the following code provider.sectionHeight = { _ in return 180 } Why not define provider.sectionHeight is CGFloat? so I could write like this: provider.sectionHeight = 180