I have a grouped UITableview which is created programatically. Also I have a cell with xib file populated in tableview programmatically as well. So far so good. But I want t
override func layoutSubviews() { super.layoutSubviews() subviews.filter { $0 != contentView && $0.frame.width == frame.width }.first?.removeFromSuperview() }