Skip to content
Amr Aboelela edited this page Mar 17, 2015 · 1 revision

Parent page: Linux

  • Examples:

      myos/ubuntu/frameworks/UIKit$ grep "currentEvent" *
      UIApplication.h:    UIEvent *_currentEvent;
      UIApplication.m:        _currentEvent = [ [alloc](UIEvent) initWithEventType:UIEventTypeTouches];
      UIApplication.m:        [_setTouch:[ [ [UITouch alloc](_currentEvent) init] autorelease] ];
      UIApplication.m:    [release](_currentEvent);
      UIApplication.m:    UITouch *touch = [ [allTouches](_currentEvent) anyObject];
      UIApplication.m:        [sendEvent:_currentEvent](self);
      UIApplication.m:    for (UITouch *touch in [allTouches](_currentEvent)) {
    
Clone this wiki locally