Framework providing application programming interface for user interfaces and animation
AssigneeApple Inc.
InventorsJacob A. Xiao, Kyle S. Macomber, Joshua H. Shaffer, John S. Harper
Life of this patent
Estimating the term…
Abstract
The subject technology sends, from a parent node of a hierarchy of views, information related to a preference list, the preference list include preference keys corresponding to respective attributes of a UI, where the hierarchy of views represents the UI. The subject technology receives, at a child node of the parent node, the information related to the preference list. The subject technology updates, by the child node, a particular preference key from the preference list to a particular value, the particular preference key related to an attribute of the UI.
Claims16
A method comprising:
- sending, from a parent node of a hierarchy of views, information related to a preference list, the preference list include preference keys corresponding to respective attributes of a user interface (UI), wherein the hierarchy of views represents the UI;
- receiving, at a plurality of child nodes of the parent node, the information related to the preference list;
- updating, by at least one sub-node of at least one of the plurality of child nodes, a particular preference key from the preference list to a particular value, the particular preference key related to an attribute of the UI;
- sending, after the particular preference key was updated by the at least one sub-node of the at least one of the plurality of child nodes, the particular preference key to the parent node;
- and
- updating, by the parent node, the attribute of the UI based at least in part on the particular preference key that was updated by the at least one sub-node of the at least one of the plurality of child nodes and was sent from the at least one of the plurality of child nodes.
A system comprising:
- a processor;
- a memory device containing instructions, which when executed by the processor cause the processor to provide:
- a root process executing on the processor that is configured to receive an event related to a user interface (UI) and forward the event to a transaction manager and an event handler;
- the transaction manager executing on the processor that is configured to receive the event forwarded from the root process and track a value of time related to the event to forward to a node of a tree structure, wherein the tree structure is related to a hierarchy of views representing the UI;
- the event handler executing on the processor that is configured to receive the event from the root process and process the event to determine a particular node of the tree structure to receive the event, the event handler being separate from the transaction manager and the root process;
- a preferences manager executing on the processor that is configured to send a preference list to the determined particular node of the tree structure;
- and
- a node manager executing on the processor that is configured to provide a graph structure including different attributes of the UI.
A non-transitory machine-readable medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
- sending, from a parent node of a hierarchy of views, information related to a preference list, the preference list include preference keys corresponding to respective attributes of a user interface (UI), wherein the hierarchy of views represents the UI;
- receiving, at a plurality of child nodes of the parent node, the information related to the preference list;
- updating, by at least one sub-node of at least one of the plurality of child nodes, a particular preference key from the preference list to a particular value, the particular preference key related to an attribute of the UI;
- sending, after the particular preference key was updated by the at least one sub-node of the at least one of the plurality of child nodes, the particular preference key to the parent node;
- and
- updating, by the parent node, the attribute of the UI based at least in part on the particular preference key that was updated by the at least one sub-node of the at least one of the plurality of child nodes and was sent from the at least one of the plurality of child nodes.
Dependencies are inferred from the claim text.