The current case study registers directly manipulable to each sticker view directly. This ensures that each sticker view is individually manipulable, but doesn't allow you to pinch outside of a sticker in order to affect it.
Ideally it would be possible to register a single gesture recognizer set to the parent view and to only have them modify the top-most view at the centroid of the gestural interaction. This logic could be built into DirectlyManipulable as a feature with the following characteristics:
Only one set of gesture recognizers is added to the parent view.
The gesture recognizer delegate allows simultaneous recognition, as before.
The gesture recognizer only begins if one of the target views is within the centroid of the gesture.
Only the top-most target view is affected by the gesture.
Context: sticker picker case study.
The current case study registers directly manipulable to each sticker view directly. This ensures that each sticker view is individually manipulable, but doesn't allow you to pinch outside of a sticker in order to affect it.
Ideally it would be possible to register a single gesture recognizer set to the parent view and to only have them modify the top-most view at the centroid of the gestural interaction. This logic could be built into DirectlyManipulable as a feature with the following characteristics: