Is there any way to add section name in newly added @IBDesignable
properties for better readability.
//
//MARK: - Badge
//
@IBInspectable
var badgeColor:UIColor = UIColor.darkGray {
didSet {
updateView()
}
}
@IBInspectable
var showBadgeOnIndex:Int = 0 {
didSet {
if showBadgeOnIndex >= buttons.count {
showBadgeOnIndex = 0
}
updateView()
}
}
@IBInspectable
var showAllBadge:Bool = false {
didSet {
updateView()
}
}
@IBInspectable
var hideAllBadge:Bool = true {
didSet {
updateView()
}
}
ex:
In the picture above, the view properties have the section name View.
Any help would be appreciated.
I already know that the name of the custom class will appear as the section name in the Attributes Inspector.