lib/ios/sugarcube-uikit/uibutton.rb in sugarcube-2.7.0 vs lib/ios/sugarcube-uikit/uibutton.rb in sugarcube-2.7.1
- old
+ new
@@ -6,6 +6,14 @@
def setTitle(value)
setTitle(value, forState: UIControlStateNormal)
end
+ def attributedTitle
+ attributedTitleForState(UIControlStateNormal)
+ end
+
+ def setAttributedTitle(value)
+ setAttributedTitle(value, forState: UIControlStateNormal)
+ end
+
end