发明名称 Application dataflow aware property and bindings
摘要 In one embodiment, a non-transitory computer-readable medium stores instructions for implementing an application dataflow aware property and bindings system that implements two-way binding via a unidirectional directed acyclic graph and propagates data through the graph based on the connections between the graph nodes. In one embodiment, properties in a binding relationship are arranged in an upstream and downstream manner. Each property has an upstream node and a downstream node to send and receive messages from other properties. Where a first property is arranged upstream of a second property in the binding graph, the first property is more authoritative than the second property. The most upstream property is the truth for the binding. Requests to update the value of the property are propagated upstream via the upstream nodes and notifications of changes in the value of the property are propagated downstream via the downstream nodes.
申请公布号 US9286034(B2) 申请公布日期 2016.03.15
申请号 US201414162688 申请日期 2014.01.23
申请人 Apple Inc. 发明人 Iskander Alexis A.;Rivera Mitchell B.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Blakely, Sokoloff, Taylor & Zafman LLP 代理人 Blakely, Sokoloff, Taylor & Zafman LLP
主权项 1. A computer implemented method of binding a property within a data object, the method comprising: providing a first instance of the property, the first instance including a first upstream node and a first downstream node; providing a second instance of the property, the second instance bound to the first instance, the second instance including a second upstream node and a second downstream node; defining the second instance as a truth node, the truth node to store a truth, wherein the truth is an authoritative value of the property; at the first instance, receiving a message including a requested value for the property, and transmitting to the second instance a request to set the truth to the requested value via the first upstream node; at the second instance, receiving the request to set the truth to the requested value, setting the truth to the requested value, and transmitting a notification of the truth to the first instance via the second downstream node; and at the first instance, receiving the notification of the truth and in response to receiving the notification of the truth, setting an instance local value for the property to the truth.
地址 Cupertino CA US