Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for constructing list view in iOS system

A technology of list view and construction method, applied in the field of list expansion, can solve the problem of high maintenance cost and achieve the effect of simplifying the judgment steps

Active Publication Date: 2018-08-03
南方电网互联网服务有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Moreover, if the cell style needs to be extended in the future, it is necessary to maintain and modify these large numbers of judgments, and the maintenance cost is very high

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
  • Method and system for constructing list view in iOS system
  • Method and system for constructing list view in iOS system
  • Method and system for constructing list view in iOS system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0035] see figure 1 As shown, the embodiment of the present invention provides a method for constructing a list view in an IOS system, comprising the following steps: a method for constructing a list view in an IOS system comprises the following steps:

[0036] S1, the client obtains the preset section (content display module) protocol and cell (content display unit) protocol; the section protocol includes methods for obtaining the number of cells, methods for obtaining cells, methods for adding cells, methods for removing cells, and clearing The method of the cell; the cell protocol includes the reuse identifier of the cell, the layout configuration method of the cell, the assembly method of the cell, and the type of the cell;

[0037] S2, the client creates a corresponding section class according to each section style required to build a list...

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

A method and system for creating list views in an iOS system, relating to the technical field of list expansion in an iOS system, comprising S1: a client acquires a preset section protocol and cell protocol; S2, the client creates a section type which achieves the section protocol and a cell type which achieves the cell protocol according to a section style and a cell style needed to create a list view; S3, the client acquires source data from a server to create the list view, and creates an example of the section type and an example of the cell type; S4, various call back methods from a data source mechanism are used to acquire information needed to create the list view, completing the creation of the list view; S5, various call back methods from a delegate mechanism are used to acquire list view layout configuration information, and setting layout configuration information of a section view and a cell view in the list.

Description

technical field [0001] The invention relates to the technical field of list expansion in the IOS system, in particular to a method and system for constructing a list view in the IOS system. Background technique [0002] The list in the IOS system is realized through the native control UITableView or UICollectionView provided by the IOS system. After providing datasource information and delegate information for UITableView or UICollectionView, the corresponding list effect can be realized. [0003] Since the cell used to display the content of the list is provided by the datasource, and the corresponding logic of the corresponding cell is processed in the corresponding delegate, in the IOS system, it is necessary to make a lot of judgments in the callback datasource information and delegate information to provide different Styles to provide different cells and handle the corresponding logic. If there are many types of cells in the list, a lot of judgment needs to be processe...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 黄露洋
Owner 南方电网互联网服务有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products