Skip to content

Commit

Permalink
Fix typo (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktakayama authored and RuiAAPeres committed Sep 19, 2016
1 parent 6243fc5 commit bddb1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/UIKit/UILabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import UIKit
extension UILabel {
/// Wraps a label's `text` value in a bindable property.
public var rex_text: MutableProperty<String?> {
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.
Expand Down

0 comments on commit bddb1d9

Please sign in to comment.