Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

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

Open
change2hao opened this issue Nov 6, 2018 · 0 comments

Comments

@change2hao
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant