From bddb1d9e97ec93f640105b0ab18d5f91a8fb0f9f Mon Sep 17 00:00:00 2001 From: Kyosuke Takayama Date: Mon, 19 Sep 2016 21:52:36 +0900 Subject: [PATCH] Fix typo (#155) --- Source/UIKit/UILabel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UIKit/UILabel.swift b/Source/UIKit/UILabel.swift index c47746f..ab61ef1 100644 --- a/Source/UIKit/UILabel.swift +++ b/Source/UIKit/UILabel.swift @@ -12,7 +12,7 @@ import UIKit extension UILabel { /// Wraps a label's `text` value in a bindable property. public var rex_text: MutableProperty { - return associatedProperty(self, key: &attributedTextKey, initial: { $0.text }, setter: { $0.text = $1 }) + return associatedProperty(self, key: &textKey, initial: { $0.text }, setter: { $0.text = $1 }) } /// Wraps a label's `attributedText` value in a bindable property.