I saw in the inspector that I can change the background color, but I'd like to also change the border color and thickness, is this possible?
I saw in the inspector that I can change the background color, but I'd like to also change the border color and thickness, is this possible?
item's border color in swift 4.2:
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell_lastOrderId") as! Cell_lastOrder
cell.layer.borderWidth = 1
cell.layer.borderColor = UIColor.white.cgColor
cell.layer.cornerRadius = 10
[self.view.layer setBorderColor: [UIColor colorWithRed:0.265 green:0.447 blue:0.767 alpha:1.0f].CGColor];