Inherits from NSObject
Declared in SPTouchProcessor.h

Overview

The SPTouchProcesser processes raw touch information and dispatches it on display objects.

This is an internal class. You do not have to use it manually.

Tasks

Initialization

Processes raw touches and dispatches events on the touched display objects.

Properties

  •   root

    The root display container to check for touched targets.

    property

Properties

root

The root display container to check for touched targets.

@property (nonatomic, weak) SPDisplayObjectContainer *root

Discussion

The root display container to check for touched targets.

Declared In

SPTouchProcessor.h

Instance Methods

initWithRoot:

Initializes a touch processor with a certain root object.

- (instancetype)initWithRoot:(SPDisplayObjectContainer *)root

Discussion

Initializes a touch processor with a certain root object.

Declared In

SPTouchProcessor.h

processTouches: