TouchList Class Reference
| Companion guide | |
| Availability | Available in iOS 2.0 and later. |
Overview
The TouchList class is used to represent a collection of Touch objects. For example, the changedTouches method in TouchEvent returns a TouchList object.
Properties
length
The number of Touch objects in this TouchList object.
readonly attribute unsigned long length
Availability
- Available in iOS 2.0 and later.
Methods
item
Returns the Touch object at the given index.
Touch item (in unsigned long index);
Parameters
- index
The index of the item to return.
Availability
- Available in iOS 2.0 and later.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-12-16)