class ControlSuperView

Public Instance Methods

dealloc() click to toggle source
Calls superclass method
# File spec/motion/ui/ui_control_wrapper_spec.rb, line 53
def dealloc
  App.notification_center.post('ControlSuperView dealloc', nil, {'tag'=>tag})
  super
end
initWithFrame(frame) click to toggle source
Calls superclass method
# File spec/motion/ui/ui_control_wrapper_spec.rb, line 43
def initWithFrame(frame)
  super
  subject = UIControl.alloc.init
  subject.when(UIControlEventTouchUpInside) do
    #Can be empty, but we need a block/proc here to potentially create a retain cycle
  end
  addSubview(subject)
  self
end