Sha256: 1db8ab1aa047c1c8200bf646cc7131ad27c63729d1faeae2050af7721da12abc

Contents?: true

Size: 186 Bytes

Versions: 47

Compression:

Stored size: 186 Bytes

Contents

class MPViewWithSection < UIView
  attr_accessor :section

  def setSection(section)
    @section = section.try(:weak_ref)
  end

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

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
motion-prime-1.0.7 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.6 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.5 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.4 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.3 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.2 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.1 motion-prime/support/mp_view_with_section.rb
motion-prime-1.0.0 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.9.2 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.9.1 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.9 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.8 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.7 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.6 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.5 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.4 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.3 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.2 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.1 motion-prime/support/mp_view_with_section.rb
motion-prime-0.9.0 motion-prime/support/mp_view_with_section.rb