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.11 lib/sugarcube/uibutton.rb
sugarcube-0.10 lib/sugarcube/uibutton.rb
sugarcube-0.9.4 lib/sugarcube/uibutton.rb
sugarcube-0.9.3 lib/sugarcube/uibutton.rb
sugarcube-0.9.2 lib/sugarcube/uibutton.rb
sugarcube-0.9.1 lib/sugarcube/uibutton.rb
sugarcube-0.9 lib/sugarcube/uibutton.rb
sugarcube-0.8.7 lib/sugarcube/uibutton.rb
sugarcube-0.8.6 lib/sugarcube/uibutton.rb
sugarcube-0.8.5 lib/sugarcube/uibutton.rb
sugarcube-0.8.4 lib/sugarcube/uibutton.rb
sugarcube-0.8.3 lib/sugarcube/uibutton.rb
sugarcube-0.8.2 lib/sugarcube/uibutton.rb
sugarcube-0.8.1 lib/sugarcube/uibutton.rb
sugarcube-0.8 lib/sugarcube/uibutton.rb
sugarcube-0.7.9 lib/sugarcube/uibutton.rb
sugarcube-0.7.7 lib/sugarcube/uibutton.rb
sugarcube-0.7.6 lib/sugarcube/uibutton.rb
sugarcube-0.7.4 lib/sugarcube/uibutton.rb
sugarcube-0.7.3 lib/sugarcube/uibutton.rb