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

Make custom expandable cell

Recouse opened this issue · comments

How to make a custom expandable cell? I tried:

    let passwordRow = CustomRowFormer<PasswordCell>().onSelected {
        $0.cell.passwordTextFieldsView.isHidden = false
        $0.update()
    }.dynamicRowHeight { tableView, indexPath -> CGFloat in
        return 50
    }

but it's not working.
Maybe someone already did this.

Hello @Recouse, were you able to figure this out or did you still need help?

@ZacharyKhan thanks, I think I already figured it out)