Sha256: f532c9072a0d92b89c6ea34e9c38351e275c08395fe0f7de7e2d09c53d2588c5

Contents?: true

Size: 809 Bytes

Versions: 52

Compression:

Stored size: 809 Bytes

Contents

class UIButton
  class << self
    def custom
      self.buttonWithType(:custom.uibuttontype)
    end
    def rounded
      self.buttonWithType(:rounded.uibuttontype)
    end
    def rounded_rect
      self.buttonWithType(:rounded_rect.uibuttontype)
    end
    def detail
      self.buttonWithType(:detail.uibuttontype)
    end
    def detail_disclosure
      self.buttonWithType(:detail_disclosure.uibuttontype)
    end
    def info
      self.buttonWithType(:info.uibuttontype)
    end
    def info_light
      self.buttonWithType(:info_light.uibuttontype)
    end
    def info_dark
      self.buttonWithType(:info_dark.uibuttontype)
    end
    def contact
      self.buttonWithType(:contact.uibuttontype)
    end
    def contact_add
      self.buttonWithType(:contact_add.uibuttontype)
    end
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
sugarcube-0.7.2 lib/sugarcube/uibutton.rb
sugarcube-0.7.1 lib/sugarcube/uibutton.rb
sugarcube-0.7 lib/sugarcube/uibutton.rb
sugarcube-0.6.1 lib/sugarcube/uibutton.rb
sugarcube-0.6 lib/sugarcube/uibutton.rb
sugarcube-0.5 lib/sugarcube/uibutton.rb
sugarcube-0.4.2 lib/sugarcube/uibutton.rb
sugarcube-0.4.1 lib/sugarcube/uibutton.rb
sugarcube-0.4 lib/sugarcube/uibutton.rb
sugarcube-0.3.2 lib/sugarcube/uibutton.rb
sugarcube-0.3.1 lib/sugarcube/uibutton.rb
sugarcube-0.3.0 lib/sugarcube/uibutton.rb