class MotionKit::UIButtonHelpers
Public Instance Methods
background_image(value)
click to toggle source
# File lib/motion-kit-ios/helpers/uibutton_helpers.rb, line 39 def background_image(value) background_image(value, state: UIControlStateNormal) end
image(value)
click to toggle source
# File lib/motion-kit-ios/helpers/uibutton_helpers.rb, line 47 def image(value) image(value, state: UIControlStateNormal) end
title(value)
click to toggle source
# File lib/motion-kit-ios/helpers/uibutton_helpers.rb, line 7 def title(value) title(value, state: UIControlStateNormal) end
title_color(value)
click to toggle source
# File lib/motion-kit-ios/helpers/uibutton_helpers.rb, line 19 def title_color(value) title_color(value, state: UIControlStateNormal) end
title_font(font)
click to toggle source
# File lib/motion-kit-ios/helpers/uibutton_helpers.rb, line 35 def title_font(font) target.titleLabel.setFont(font) end
title_shadow_color(value)
click to toggle source
# File lib/motion-kit-ios/helpers/uibutton_helpers.rb, line 27 def title_shadow_color(value) title_shadow_color(value, state: UIControlStateNormal) end