Class: UITableView

Inherits:
Object
  • Object
show all
Defined in:
lib/cha_work/sugar/uitableview.rb

Class Method Summary collapse

Class Method Details

.grouped(frame = [[0, 0], [0, 0]]) ⇒ Object



8
9
10
# File 'lib/cha_work/sugar/uitableview.rb', line 8

def grouped(frame=[[0, 0], [0, 0]])
  UITableView.alloc.initWithFrame(frame, style: UITableViewStyleGrouped)
end

.plain(frame = [[0, 0], [0, 0]]) ⇒ Object



4
5
6
# File 'lib/cha_work/sugar/uitableview.rb', line 4

def plain(frame=[[0, 0], [0, 0]])
  UITableView.alloc.initWithFrame(frame, style: UITableViewStylePlain)
end