Sha256: 4d8353af637036f2576b00afb3de1d856f9236ffd5e58832bb9e2517904e3383
Contents?: true
Size: 974 Bytes
Versions: 9
Compression:
Stored size: 974 Bytes
Contents
##| ##| UIView.frame ##| Teacup.handler UIView, :left, :x { |view, x| f = view.frame f.origin.x = x view.frame = f } Teacup.handler UIView, :right { |view, r| f = view.frame f.origin.x = r - f.size.width view.frame = f } Teacup.handler UIView, :top, :y { |view, y| f = view.frame f.origin.y = y view.frame = f } Teacup.handler UIView, :bottom { |view, b| f = view.frame f.origin.y = b - f.size.height view.frame = f } Teacup.handler UIView, :width { |view, w| f = view.frame f.size.width = w view.frame = f } Teacup.handler UIView, :height { |view, h| f = view.frame f.size.height = h view.frame = f } Teacup.handler UIView, :origin { |view, origin| f = view.frame f.origin = origin view.frame = f } Teacup.handler UIView, :size { |view, size| f = view.frame f.size = size view.frame = f } ##| ##| UIButton ##| Teacup.handler UIButton, :title { |view, title| view.setTitle(title, forState: UIControlStateNormal) }
Version data entries
9 entries across 9 versions & 1 rubygems