Class: UIView

Inherits:
Object
  • Object
show all
Defined in:
lib/motion-wiretap-polluting/ios/polluting_ios.rb

Instance Method Summary collapse

Instance Method Details

#wiretap(property = nil, &block) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/motion-wiretap-polluting/ios/polluting_ios.rb', line 3

def wiretap(property=nil, &block)
  if property.nil?
    MotionWiretap::WiretapView.new(self, &block)
  else
    MotionWiretap::WiretapKvo.new(self, property, &block)
  end
end