To create a user interface, code the application to first add a window object. Inside a window, place a view. The application can then add additional NativeUI objects into the view. For more information, see
Hierarchy of NativeUI
Objects for a User Interface.
NativeUI objects can be thought of as parent objects and elements. Parent objects contain other NativeUI objects, which are referred to as elements. Examples of parent objects are views, scrollable containers, and table cells. Examples of elements are text entry fields, buttons, and images.