-
Notifications
You must be signed in to change notification settings - Fork 28
Link Validators
Jeff Hurray edited this page Apr 13, 2017
·
2 revisions
There is a LinkValidatorAttributes
protocol provided which is a subprotocol of TextSelectionValidator
. It provides extra control for displaying selectable links.
##LinkValidatorAttributes
public protocol LinkValidatorAttributes: TextSelectionValidator {
var tintColor: UIColor? {get}
var underlined: Bool {get}
}
-
tintColor: UIColor?
provides the color of the link. Defaults tonil
. -
underlined: Bool
determines whether or not the link is underlined. Defaults totrue