Improved XLFormOptionsViewController customization support#562
Improved XLFormOptionsViewController customization support#562tarbayev wants to merge 4 commits into
Conversation
…w if tableView has been provided.
|
Can I ask how exactly you did this? I've been trying to change the background color of cells for a few days now and can't quite get it. |
|
Did what? Normally you change the background color of a cell by setting view with the color you need to its |
I needed to display images in options cells. So I extended XLFormOptionObject with an optional method
configureCell:. By implementing this method objects can perform extra customization on a cell provided.I also added
cellReuseIdentifieroptional property, which allows the option to be displayed by a custom cell.And one small sort of fix: if
tableViewproperty has been set forXLFormViewControllerthere should be no extra manipulation with the view hierarchy. This allows us to settableViewas a view controller's rootview.