lib/ProMotion/helpers/MeasureHelper.rb in ProMotion-0.1.2 vs lib/ProMotion/helpers/MeasureHelper.rb in ProMotion-0.2.0

- old
+ new

@@ -2,9 +2,11 @@ class MeasureHelper class << self def content_height(view) height = 0 view.subviews.each do |sub_view| + $stderr.puts sub_view + next if sub_view.isHidden y = sub_view.frame.origin.y h = sub_view.frame.size.height if (y + h) > height height = y + h end \ No newline at end of file