Sha256: bb540e37530e87380346a24db03e14e023c6ceb5d512c1c56c44254e26d76097

Contents?: true

Size: 709 Bytes

Versions: 36

Compression:

Stored size: 709 Bytes

Contents

class UIButton

  def title
    titleForState(UIControlStateNormal)
  end

  def setTitle(value)
    setTitle(value, forState: UIControlStateNormal)
  end

  def titleColor
    titleColorForState(UIControlStateNormal)
  end
  alias title_color titleColor

  def setTitleColor(value)
    value = value.uicolor if value.respond_to?(:uicolor)
    setTitleColor(value, forState: UIControlStateNormal)
  end
  alias title_color= setTitleColor

  def attributedTitle
    attributedTitleForState(UIControlStateNormal)
  end
  alias attributed_title attributedTitle

  def setAttributedTitle(value)
    setAttributedTitle(value, forState: UIControlStateNormal)
  end
  alias attributed_title= setAttributedTitle

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
sugarcube-3.0.4 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.3 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.2 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.1 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.0 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.12.3 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.12.2 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.12.1 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.12.0 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.11.1 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.11.0 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.10.0 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.9.1 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.8.2 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.8.1 lib/ios/sugarcube-uikit/uibutton.rb
sugarcube-2.8.0 lib/ios/sugarcube-uikit/uibutton.rb