 
 	public var font = UIFont.preferredFontForTextStyle(UIFontTextStyleBody) {
 		didSet {
-		guard font != oldValue else {
-			return
-		}
-
-		invalidateIntrinsicContentSize()
-		setNeedsUpdateFinalizedText()
+			guard font != oldValue else {
+				return
+			}
+
+			invalidateIntrinsicContentSize()
+			setNeedsUpdateFinalizedText()
 		}
 	}
 


	public var lineBreakMode = NSLineBreakMode.ByWordWrapping {
		didSet {
		guard lineBreakMode != oldValue else {
			return
		}

		textContainer.lineBreakMode = lineBreakMode

		invalidateIntrinsicContentSize()
		setNeedsUpdateFinalizedText()
		}
	}


	public var maximumNumberOfLines: Int? = 1 {
		didSet {
		if let maximumNumberOfLines = maximumNumberOfLines {
			precondition(maximumNumberOfLines > 0, "Label.maximumNumberOfLines must be either larger than zero or nil.")
		}

		guard maximumNumberOfLines != oldValue else {
			return
		}

		textContainer.maximumNumberOfLines = maximumNumberOfLines ?? 0

		invalidateIntrinsicContentSize()
		setNeedsDisplay()
		}
	}


	public var minimumScaleFactor = CGFloat(1) {
		didSet {
		minimumScaleFactor = minimumScaleFactor.clamp(min: 0, max: 1)

		guard minimumScaleFactor != oldValue else {
			return
		}

		invalidateIntrinsicContentSize()
		setNeedsDisplay()
		}
	}


	@NSCopying
	public var attributedText = NSAttributedString() {
		didSet {
			guard attributedText != oldValue else {
				return
			}

			invalidateIntrinsicContentSize()
			setNeedsUpdateFinalizedText()
		}
	}

