ra1028 / Former

Former is a fully customizable Swift library for easy creating UITableView based form.
MIT License
1.3k stars 135 forks source link

.automaticDimension for viewHeight of ViewFormer #109

Open Gerz-inc opened 4 years ago

Gerz-inc commented 4 years ago

Why you didn't use UITableView.automaticDimension as default value for viewHeight?

open class ViewFormer {

    // MARK: Public

    open var viewHeight: CGFloat = UITableView.automaticDimension // was 10

    .....
}
ZacharyKhan commented 4 years ago

This would definitely be a great improvement. Feel free to open a PR :)