ra1028 / Former

Former is a fully customizable Swift library for easy creating UITableView based form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.automaticDimension for viewHeight of ViewFormer

Gerz-inc opened this issue · comments

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

    .....
}

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