Method: UITableViewCell.subtitle

Defined in:
lib/ios/sugarcube-factories/uitableviewcell.rb

.subtitle(reuse_identifier, options = {}) ⇒ Object

returns a cell in the subtitle style, with reuse identifier reuse_identifier. Supported options are :accessory, :text, :detail, :image, and :selection_style. Valid values for :accessory:

:none, :disclosure, :disclosureindicator, :detail,
:detaildisclosurebutton, :checkmark
or any UITableViewCellAccessory constant

Valid values for :selection_style:

:none, :blue, :gray
or any UITableViewCellSelectionStyle constant


58
59
60
# File 'lib/ios/sugarcube-factories/uitableviewcell.rb', line 58

def subtitle(reuse_identifier, options={})
  return sugarcube_cell_factory(reuse_identifier, :subtitle, options)
end