I\'ve a plain UITableView (not grouped) that I want to add a dropshadow to left and to the right.
Adding Swift version of solution (which helped me a lot) provided by @mattjgalloway
your_TableView.clipsToBounds = false
your_TableView..layer.masksToBounds = false
your_TableView..layer.shadowColor = UIColor.lightGray.cgColor
your_TableView..layer.shadowOffset = CGSize(width: 0, height: 0)
your_TableView..layer.shadowRadius = 5.0
your_TableView..layer.shadowOpacity = 0.5