Event Recognition
First Claim
1. A method, comprising:
- at an electronic device configured to execute software that includes a view hierarchy with a plurality of views;
displaying one or more views of the view hierarchy;
executing one or more software elements, each software element being associated with a particular view that includes one or more event recognizers;
detecting a sequence of one or more sub-events;
identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; and
delivering a respective sub-event to event recognizers for multiple actively involved views within the view hierarchy,wherein each event recognizer for the multiple actively involved views in the view hierarchy processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events.
0 Assignments
0 Petitions
Accused Products
Abstract
A method executes software including a view hierarchy with a plurality of views which displays one or more views of the view hierarchy. The method executes software elements associated with a particular view, wherein each particular view includes event recognizers. Each event recognizer has an event definition based on sub-events, and an event handler that specifies an action for a target, and is configured to send the action to the target in response to an event recognition. The method detects a sequence of sub-events, and identifies one of the views of the view hierarchy as a hit view that establishes which views in the hierarchy are actively involved views. The method delivers a respective sub-event to event recognizers for each actively involved view, wherein each event recognizer for actively involved views in the view hierarchy processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events.
-
Citations
30 Claims
-
1. A method, comprising:
at an electronic device configured to execute software that includes a view hierarchy with a plurality of views; displaying one or more views of the view hierarchy; executing one or more software elements, each software element being associated with a particular view that includes one or more event recognizers; detecting a sequence of one or more sub-events; identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; and delivering a respective sub-event to event recognizers for multiple actively involved views within the view hierarchy, wherein each event recognizer for the multiple actively involved views in the view hierarchy processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
21. A method, comprising:
at an electronic device configured to execute software that includes a view hierarchy with a plurality of views; displaying one or more views of the view hierarchy; executing one or more software elements, each software element being associated with a particular view, wherein each particular view includes one or more event recognizers; detecting a sequence of one or more sub-events; identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; delivering a respective sub-event to event recognizers for multiple actively involved views within the view hierarchy; and at event recognizers for the multiple actively involved views in the view hierarchy, making a sub-event recognition decision while processing the respective sub-event. - View Dependent Claims (22)
-
23. A non-transitory computer readable storage medium storing one or more programs for execution by one of more processors of a computer system or device, the one or more programs including:
-
one or more application programs for displaying one or more views of a view hierarchy with a plurality of views, the one or more application programs including one or more software elements, each software element being associated with a particular view that includes one or more event recognizers; and event management instructions, which when executed by the one or more processors of the computer system or device, cause the computer system or device to; detect a sequence of one or more sub-events; identify one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; and deliver a respective sub-event to event recognizers for multiple actively involved view within the view hierarchy, wherein each event recognizer for the multiple actively involved views in the view hierarchy processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events. - View Dependent Claims (25)
-
-
24. An apparatus, comprising:
-
a display; one or more processors; and memory storing; one or more programs for displaying one or more views of a view hierarchy with a plurality of views, the one or more programs including one or more software elements, each software element being associated with a particular view that includes one or more event recognizers; and an event delivery program, which, when executed by the one or more processors of the apparatus, causes the apparatus to; detect a sequence of one or more sub-events; identify one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; deliver a respective sub-event to event recognizers for multiple actively involved view within the view hierarchy; and make a sub-event recognition decision while event recognizers for the multiple actively involved views in the view hierarchy process the respective sub-event. - View Dependent Claims (26)
-
-
27. An electronic device, comprising:
-
a display; one or more processors; and memory storing one or more programs for execution by the one or more processors, the one or more programs including instructions for; displaying one or more views of a view hierarchy with a plurality of views; executing one or more software elements, each software element being associated with a particular view that includes one or more event recognizers; detecting a sequence of one or more sub-events; identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; and delivering a respective sub-event to event recognizers for multiple actively involved views within the view hierarchy, wherein each event recognizer for the multiple actively involved views in the view hierarchy processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events. - View Dependent Claims (28)
-
-
29. A non-transitory computer readable storage medium storing one or more programs for execution by one of more processors of a computer system or device, the one or more programs including instructions for:
-
displaying one or more views of a view hierarchy with a plurality of views; executing one or more software elements, each software element being associated with a particular view that includes one or more event recognizers; detecting a sequence of one or more sub-events; identifying one of the views of the view hierarchy as a hit view, wherein the hit view establishes which views in the view hierarchy are actively involved views; and delivering a respective sub-event to event recognizers for multiple actively involved views within the view hierarchy, wherein each event recognizer for the multiple actively involved views in the view hierarchy processes the respective sub-event prior to processing a next sub-event in the sequence of sub-events. - View Dependent Claims (30)
-
Specification