I've UITableView and I wants set corner radius and a margin/padding to Top/Right/Left/Bottom. But, if I try set this, my layout is messing. And, when I try: cell.cellView.layer.cornerRadius = 20.0
fires nil pointer exception.
My layout is like this:
A example of I like that my layout be:
I wants that my cells stay "floating" with corner radius and margins, without mess my layout builded.
Also about UITableView, how I remove the unused cells? I have only 3 cells, but TableView shows all cell possibles, leaving others cell not useds.
Also (4): Why my cells appears united? This not appears "floating"