Sha256: bbc0e0fd94ac4aab0c373c1a03eb420907514f40cc5090c522cbb943ebb9b440

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

class DMViewWithSection < UIView
  attr_accessor :section

  def setSection(section)
    @section = WeakRef.new(section)
  end

  def drawRect(rect)
    section.draw_in(rect)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
motion-prime-0.1.3 motion-prime/support/dm_view_with_section.rb
motion-prime-0.1.2 motion-prime/support/dm_view_with_section.rb
motion-prime-0.1.1 motion-prime/support/dm_view_with_section.rb
motion-prime-0.1.0 motion-prime/support/dm_view_with_section.rb