Page display method, device and equipment and storage medium

A page display and page technology, applied in visual/graphics programming, creating/generating source code, etc., can solve the problems of lack of flexibility, incremental compilation, low view rendering efficiency, etc., to improve flexibility and achieve diversity. Effect

Active Publication Date: 2019-04-16
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] From the creation process of the page view, we can see that the two commonly used iOS page view creation methods require developers to do repetitive operations, such as creating subviews, configuring subview properties, adding subviews, subview layout, etc., so that in When using the above methods to develop mobile applications with complex pages and many pages, the development efficiency is greatly reduced
Moreover, the creation methods of these two iOS page views will also affect the compilation speed of the application. For example, in the application view tuning stage, it is necessary to repeatedly modify the view properties to meet t

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Page display method, device and equipment and storage medium
  • Page display method, device and equipment and storage medium
  • Page display method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0074] Example one

[0075] figure 1 Shows a flow chart of a page display method provided in the first embodiment of the present disclosure. The embodiment of the present disclosure may be applicable to the situation of displaying a page in an application based on the iOS system. The method may be executed by a page display device. The device can be implemented by software and / or hardware, and is integrated in a terminal with a display function, such as a smart phone, a tablet computer, etc.

[0076] Such as figure 1 As shown, the page display method provided in the embodiment of the present disclosure specifically includes the following steps:

[0077] S110: Load a page view description file in a structured language corresponding to the page to be displayed.

[0078] Among them, the page view description file is a file generated by using a structured language to describe the page view information of the page to be displayed in advance. Developers can create page view description fil...

Example Embodiment

[0101] Example two

[0102] figure 2 Shows a flow chart of a page display method provided in the second embodiment of the present disclosure. This embodiment is based on the various alternatives in the above-mentioned embodiment, and performs page display based on the acquired data source and view control hierarchy. Rendering and display" have been optimized. The explanation of the terms that are the same as or corresponding to the above-mentioned embodiment will not be repeated here.

[0103] Such as figure 2 As shown, the page display method provided in the embodiment of the present disclosure specifically includes the following steps:

[0104] S210: Load a page view description file in a structured language corresponding to the page to be displayed.

[0105] S220. Parse the page view description file to obtain page view metadata, where the page view metadata includes the attribute parameters of the page view contained in the page to be displayed, the data binding protocol of the...

Example Embodiment

[0120] Example three

[0121] image 3 It shows a schematic diagram of the structure of a page display device provided in the fourth embodiment of the present disclosure. The embodiment of the present disclosure may be suitable for displaying a page in an application based on the iOS system. Such as image 3 As shown, the page display device in the embodiment of the present disclosure specifically includes: a page view description file loading module 310, a page view description file parsing module 320, a view control hierarchical structure creation module 330, and a page display module 340.

[0122] Among them, the page view description file loading module 310 is used to load the page view description file in the structured language corresponding to the page to be displayed; the page view description file parsing module 320 is used to parse the page view description file to obtain the page view element Data, where the page view metadata includes the attribute parameters of the pag...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a page display method, a page display device, page display equipment and a storage medium. The method comprises the following steps of: loading a page view description file adopting a structured language corresponding to a to-be-displayed page; Analyzing the page view description file to obtain the page view metadata; wherein the page view metadata comprises attribute parameters of a page view contained in a to-be-displayed page, a data binding protocol of the page view and hierarchical structure information between the page views, and the data bindingprotocol is used for defining a binding relationship between the attribute parameters of the corresponding page view and data in a data source; Creating a view control hierarchical structure of the page to be displayed according to the page view metadata; And rendering and displaying the page based on the acquired data source and the view control hierarchical structure. Through the technical scheme of the embodiment of the invention, the page configuration flexibility can be improved, and the page display diversity is realized.

Description

technical field [0001] The embodiments of the present disclosure relate to the technical field of application program development, and in particular, to a page display method, device, device, and storage medium. Background technique [0002] When developing mobile applications based on the iOS operating system, developers usually create and configure the view hierarchy of a page in two ways. The first way is the native code way; the second way is to use the WYSIWYG view editing tool that comes with the development environment, such as the storyboard (Storyboard) provided by the Xcode development environment. [0003] The above-mentioned first method of creating a page view using native code is as follows: [0004] Step 1): Call the creation method of the view control to create a view instance; [0005] Step 2): Configure the properties of the view through the view instance, such as the background color, foreground color, text font, font size, font color, etc. of the view; ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/34
CPCG06F8/34
Inventor 温增葵
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products