Return indices (not hashes) for touch events on iOS.

Uses a home-grown list implementation for speed.
Currently uses standard heap allocation.