override func draw(_ rect: CGRect) {
let size: CGFloat = 20
let currencyLbl = UILabel(frame: CGRect(x: 5, y: (frame.size.height/2) - size, width: size, height: size))
currencyLbl.backgroundColor = #colorLiteral(red: 0.2549019754, green: 0.2745098174, blue: 0.3019607961, alpha: 0.5)
currencyLbl.textAlignment = .center
currencyLbl.textColor = #colorLiteral(red: 0.2549019754, green: 0.2745098174, blue: 0.3019607961, alpha: 1)
currencyLbl.layer.cornerRadius = 5.0
let formatter = NumberFormatter()
formatter.numberStyle = .currency
formatter.locale = .current
currencyLbl.text = formatter.currencySymbol
addSubview(currencyLbl)
}
addSubview's explanation in Xcode is "Adds a view to the end of the receiver’s list of subviews" and it says "This method establishes a strong reference to view and sets its next responder to the receiver, which is its new superview "
Could you explain "receiver" and "view - superview" in that context.