Memory management
AssigneeApple Inc.
InventorAndrew Platzer
Life of this patent
Estimating the term…
Abstract
At least certain embodiments of the present disclosure include a method for memory management of a view of an application displayed on a display of a device. The method includes constructing a data structure having a hierarchy of layers with at least one layer being associated with the view. The method further includes storing the data structure in memory. The method further includes maintaining a retained count of the number of references to the view from other objects. The method further includes deallocating the view from memory if the retained count is zero. As discussed above, the retained count of the view will be decremented if the layer is removed from the data structure. Removing the layer from the data structure may occur based on the view associated with the layer being removed from the display of the device.
Claims29
In an environment with a user interface software of a device interacting with a software application, a method for operating through an application programming interface (API), comprising:
- constructing, with the device, a hierarchy of views operating on top of a hierarchy of layers within the user interface software;
- and
- providing, with the device, access between the software application and the hierarchy of views via the API without accessing the hierarchy of layers.
A machine readable non-transitory medium storing executable program instructions which when executed cause a data processing system to perform a method comprising:
- constructing, with the device, a hierarchy of views operating on top of a hierarchy of layers within the user interface software;
- and
- providing, with the device, access between the software application and the hierarchy of views via the API without accessing the hierarchy of layers.
An apparatus, comprising:
- means for constructing a hierarchy of views operating on top of a hierarchy of layers within a user interface software;
- and;
- means for providing access between a software application and the hierarchy of views via an application programming interface without accessing the hierarchy of layers.
A device comprising:
- an input panel which is configured to receive user input;
- a display device integrated with the input panel;
- one or more processing systems coupled to the input panel;
- a storage device coupled to the one or more processing systems, the storage device being configured to store one or more programs, wherein the one or more programs to be executed by the one or more processing systems, the programs including:
- instructions for constructing a hierarchy of views operating on top of a hierarchy of layers within a user interface software;
- and
- instructions for providing access between a software application and the hierarchy of views via an application programming interface without accessing the hierarchy of layers.
Dependencies are inferred from the claim text.