Sha256: 5823555068c7100d79811648ed78f112f0a51ff67ceffd4ea7c47cbf46926ada
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
class MPCellWithSection < UITableViewCell attr_accessor :section def setSection(section) @section = section.try(:weak_ref) @section_name = section.name end def drawRect(rect) super draw_in(rect) end def draw_in(rect) return unless section section.draw_in(rect) if section.respond_to?(:draw_in) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-prime-0.4.5 | motion-prime/support/mp_cell_with_section.rb |