Systems having discrete and continuous gesture recognizers
First Claim
1. A method, comprising:
- at an electronic device having a touch-sensitive surface and configured to execute a software application;
displaying views of the software application, wherein the displayed views are associated with a plurality of gesture recognizers, the plurality of gesture recognizers including;
at least one discrete gesture recognizer, the discrete gesture recognizer configured to recognize a respective discrete gesture in accordance with a discrete gesture definition and send to the software application only a single action message that indicates recognition of the respective discrete gesture in response to the respective discrete gesture; and
at least one continuous gesture recognizer, the continuous gesture recognizer configured to recognize a respective continuous gesture in accordance with a continuous gesture definition that is distinct from the discrete gesture definition and send to the software application action messages for successive recognized sub-events of the respective continuous gesture, wherein;
each discrete gesture recognizer is configured to send only a single action message for each gesture recognized by the discrete gesture recognizer, and each continuous gesture recognizer is configured to send a sequence of action messages for each gesture recognized by the continuous gesture recognizer;
detecting one or more touches;
processing the one or more touches using one or more of the gesture recognizers, the processing of a respective touch of the one or more touches including;
processing the respective touch at a respective gesture recognizer in accordance with a respective gesture definition corresponding to the respective gesture recognizer, andconditionally sending one or more respective action messages from the respective gesture recognizer to the software application in accordance with an outcome of the processing of the respective touch at the respective gesture recognizer; and
executing the software application in accordance with one or more action messages received from one or more of the gesture recognizers corresponding to one or more of the touches.
2 Assignments
0 Petitions
Accused Products
Abstract
A software application includes a plurality of views and an application state. The method includes displaying one or more views, where a respective view includes a respective gesture recognizer having a corresponding delegate to the respective gesture recognizer. The method includes detecting one or more events and processing a respective event of the one or more events using the respective gesture recognizer. The processing of the respective event includes processing the respective event at the respective gesture recognizer in accordance with a respective gesture definition corresponding to the respective gesture recognizer, executing the corresponding delegate to determine one or more values, and conditionally sending information corresponding to the respective event to the software application in accordance with the one or more values determined by the delegate. The method includes executing the software application in accordance with information, received from the respective gesture recognizer.
517 Citations
36 Claims
-
1. A method, comprising:
at an electronic device having a touch-sensitive surface and configured to execute a software application; displaying views of the software application, wherein the displayed views are associated with a plurality of gesture recognizers, the plurality of gesture recognizers including; at least one discrete gesture recognizer, the discrete gesture recognizer configured to recognize a respective discrete gesture in accordance with a discrete gesture definition and send to the software application only a single action message that indicates recognition of the respective discrete gesture in response to the respective discrete gesture; and at least one continuous gesture recognizer, the continuous gesture recognizer configured to recognize a respective continuous gesture in accordance with a continuous gesture definition that is distinct from the discrete gesture definition and send to the software application action messages for successive recognized sub-events of the respective continuous gesture, wherein; each discrete gesture recognizer is configured to send only a single action message for each gesture recognized by the discrete gesture recognizer, and each continuous gesture recognizer is configured to send a sequence of action messages for each gesture recognized by the continuous gesture recognizer; detecting one or more touches; processing the one or more touches using one or more of the gesture recognizers, the processing of a respective touch of the one or more touches including; processing the respective touch at a respective gesture recognizer in accordance with a respective gesture definition corresponding to the respective gesture recognizer, and conditionally sending one or more respective action messages from the respective gesture recognizer to the software application in accordance with an outcome of the processing of the respective touch at the respective gesture recognizer; and executing the software application in accordance with one or more action messages received from one or more of the gesture recognizers corresponding to one or more of the touches. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
15. An electronic device, comprising:
-
a touch-sensitive surface; one or more processors; memory; one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including a software application, the software application including instructions for; displaying views of the software application, wherein the displayed views are associated with a plurality of gesture recognizers, the plurality of gesture recognizers including; at least one discrete gesture recognizer, the discrete gesture recognizer configured to recognize a respective discrete gesture in accordance with a discrete gesture definition and send to the software application only a single action message that indicates recognition of the respective discrete gesture in response to the respective discrete gesture; and at least one continuous gesture recognizer, the continuous gesture recognizer configured to recognize a respective continuous gesture in accordance with a continuous gesture definition that is distinct from the discrete gesture definition and send to the software application action messages for successive recognized sub-events of the respective continuous gesture, wherein; each discrete gesture recognizer is configured to send only a single action message for each gesture recognized by the discrete gesture recognizer, and each continuous gesture recognizer is configured to send a sequence of action messages for each gesture recognized by the continuous gesture recognizer; detecting one or more touches; processing the one or more touches using one or more of the gesture recognizers, the processing of a respective touch of the one or more touches including; processing the respective touch at a respective gesture recognizer in accordance with a respective gesture definition corresponding to the respective gesture recognizer, and conditionally sending one or more respective action messages from the respective gesture recognizer to the software application in accordance with an outcome of the processing of the respective touch at the respective gesture recognizer; and executing the software application in accordance with one or more action messages received from one or more of the gesture recognizers corresponding to one or more of the touches. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A non-transitory computer readable storage medium storing one or more programs for execution by one of more processors of an electronic device having a touch-sensitive surface, the one or more programs including a software application, the software application including instructions for:
-
displaying views of the software application, wherein the displayed views are associated with a plurality of gesture recognizers, the plurality of gesture recognizers including; at least one discrete gesture recognizer, the discrete gesture recognizer configured to recognize a respective discrete gesture in accordance with a discrete gesture definition and send to the software application only a single action message that indicates recognition of the respective discrete gesture in response to the respective discrete gesture; and at least one continuous gesture recognizer, the continuous gesture recognizer configured to recognize a respective continuous gesture in accordance with a continuous gesture definition that is distinct from the discrete gesture definition and send to the software application action messages for successive recognized sub-events of the respective continuous gesture, wherein; each discrete gesture recognizer is configured to send only a single action message for each gesture recognized by the discrete gesture recognizer, and each continuous gesture recognizer is configured to send a sequence of action messages for each gesture recognized by the continuous gesture recognizer; detecting one or more touches; processing the one or more touches using one or more of the gesture recognizers, the processing of a respective touch of the one or more touches including; processing the respective touch at a respective gesture recognizer in accordance with a respective gesture definition corresponding to the respective gesture recognizer, and conditionally sending one or more respective action messages from the respective gesture recognizer to the software application in accordance with an outcome of the processing of the respective touch at the respective gesture recognizer; and executing the software application in accordance with one or more action messages received from one or more of the gesture recognizers corresponding to one or more of the touches. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36)
-
Specification