Class: UIControl
- Inherits:
-
Object
- Object
- UIControl
- Defined in:
- lib/motion-wiretap-polluting/ios/polluting_ios.rb
Instance Method Summary collapse
Instance Method Details
#wiretap(property = nil, &block) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/motion-wiretap-polluting/ios/polluting_ios.rb', line 16 def wiretap(property=nil, &block) if property.nil? MotionWiretap::WiretapControl.new(self, &block) else MotionWiretap::WiretapKvo.new(self, property, &block) end end |