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-4.0.0 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.5.0 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.4.2 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.4.1 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.4.0 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.7 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.6 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.5 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.4 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.3 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.2 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.1 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.3.0 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.2.0 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.1.1 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.1.0 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.8 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.7 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.6 lib/ios/sugarcube-ui/uibutton.rb
sugarcube-3.0.5 lib/ios/sugarcube-ui/uibutton.rb