Protocols
The following protocols are available globally.
-
KDIBorderedView is a protocol that describes a view that can display borders around its content. On iOS, CALayer sublayers are used to display the borders in conforming classes (KDIView, KDITextField, KDITextView, KDIButton, KDILabel). On macOS, drawRect: is overriden to display the borders in conforming classes (KDIView).
See moreDeclaration
Objective-C
@protocol KDIBorderedView <NSObject>