making some comments readable from option key.
This commit is contained in:
parent
7b2cfb7abb
commit
6dae7e9299
@ -19,14 +19,14 @@ public typealias ActionBlock = () -> Void
|
|||||||
|
|
||||||
public var makeWholeViewClickable = false
|
public var makeWholeViewClickable = false
|
||||||
|
|
||||||
// Set this property if you want updateView to update the font based on this standard and the size passed in.
|
/// Set this property if you want updateView to update the font based on this standard and the size passed in.
|
||||||
public var standardFontSize: CGFloat = 0.0
|
public var standardFontSize: CGFloat = 0.0
|
||||||
|
|
||||||
// Set this to use a custom sizing object during updateView instead of the standard.
|
/// Set this to use a custom sizing object during updateView instead of the standard.
|
||||||
public var sizeObject: MFSizeObject?
|
public var sizeObject: MFSizeObject?
|
||||||
public var scaleSize: NSNumber?
|
public var scaleSize: NSNumber?
|
||||||
|
|
||||||
// Used for scaling the font in updateView.
|
/// Used for scaling the font in updateView.
|
||||||
private var originalAttributedString: NSAttributedString?
|
private var originalAttributedString: NSAttributedString?
|
||||||
|
|
||||||
public var hasText: Bool {
|
public var hasText: Bool {
|
||||||
@ -42,7 +42,7 @@ public typealias ActionBlock = () -> Void
|
|||||||
didSet { isUserInteractionEnabled = !clauses.isEmpty }
|
didSet { isUserInteractionEnabled = !clauses.isEmpty }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Used for tappable links in the text.
|
/// Used for tappable links in the text.
|
||||||
public struct ActionableClause {
|
public struct ActionableClause {
|
||||||
var range: NSRange?
|
var range: NSRange?
|
||||||
var actionBlock: ActionBlock?
|
var actionBlock: ActionBlock?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user