Hi Brian
I'm getting error while creating indetLabel code at UIEdgeInsetsInsetRect class. can you help me.
class IndentLabel: UILabel {
override func drawText(in rect: CGRect) {
let insert = UIEdgeInsets(top: 0, left: 16, bottom: 0, right: 0)
let customRect = UIEdgeInsetsInsetRect(rect, insert) // error
super.drawText(in: customRect)
}
}
Thanks
Sa Sha