// 設置邊框的寬度
cell.layer.borderWidth = 1
// 設置邊框的顏色
cell.layer.borderColor = UIColor.blackColor().CGColor
// 設置UIView的邊框為圓角和展現
cell.layer.cornerRadius = 10
//自動遮罩不可見區域,超出的不顯示
cell.layer.masksToBounds = true
cell.backgroundColor = UIColor.whiteColor()