Intuit Inc.
Metadata-driven binding of platform-agnostic content to platform-specific user-interface elements
Last updated:
Abstract:
The disclosed embodiments provide a system that facilitates use of an application on an electronic device. During operation, the system obtains a first metadata definition containing a mapping of view components in a user interface of the application to a set of attribute-specific types associated with an attribute of the electronic device, and a second metadata definition containing a set of rules for binding the attribute-specific types to a set of platform-specific user-interface elements for a platform of the electronic device. Next, the system generates a view for display in the user interface by applying, based on the attribute and the platform, the first and second metadata definitions to content describing the view to select one or more platform-specific user-interface elements for rendering one or more of the view components in the content. The system then instantiates the platform-specific user-interface element(s) to render the view component(s).
Utility
29 Jul 2015
13 Oct 2020