Sha256: 44a5130c7e04a00792fb20c30e86c5ac4c4c8f237cfb9d279f8b763c91bc48f1
Contents?: true
Size: 520 Bytes
Versions: 3
Compression:
Stored size: 520 Bytes
Contents
class MPCellWithSection < UITableViewCell attr_reader :section def setSection(section) @section = section.try(:weak_ref) @section_name = section.try(:name) # TODO: remove after debug end def drawRect(rect) super draw_in(rect) end def draw_in(rect) # pp '++ drawing', @section_name, self.object_id section.draw_in(rect) if section && section.respond_to?(:draw_in) end # def dealloc # pp '--- deallog cell with section', @section_name, self.object_id # super # end end
Version data entries
3 entries across 3 versions & 1 rubygems