[go: up one dir, main page]

CN116483240A - Method and device for realizing space data occupying view based on list and electronic equipment - Google Patents

Method and device for realizing space data occupying view based on list and electronic equipment Download PDF

Info

Publication number
CN116483240A
CN116483240A CN202310384571.9A CN202310384571A CN116483240A CN 116483240 A CN116483240 A CN 116483240A CN 202310384571 A CN202310384571 A CN 202310384571A CN 116483240 A CN116483240 A CN 116483240A
Authority
CN
China
Prior art keywords
view
list
attribute
control
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310384571.9A
Other languages
Chinese (zh)
Inventor
王辉
唐如意
叶松林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Selis Phoenix Intelligent Innovation Technology Co ltd
Original Assignee
Chengdu Seres Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Seres Technology Co Ltd filed Critical Chengdu Seres Technology Co Ltd
Priority to CN202310384571.9A priority Critical patent/CN116483240A/en
Publication of CN116483240A publication Critical patent/CN116483240A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a method and a device for realizing a space data occupation view based on a list and electronic equipment. The method comprises the following steps: adding an expansion attribute and an expansion method for the list view control, and creating a global constant; creating a prompt view attribute in the list view control; calling a correlation function to correlate the list view control, the global constant and the prompt view attribute; acquiring an object associated with the current list view control, and returning an associated object; traversing grouping attributes of the current list view control, and judging whether data exist in a list according to the total number of lines of all groups; and initializing a prompt view attribute when no data exists in the list, and adding the image view container and the label control to the initialized prompt view attribute so as to display a blank data occupation view in the list of the current list view control. The method and the device have the advantages that extra calculation amount is greatly reduced, performance is improved, data refreshing and empty data view display can be simultaneously realized, and time is saved.

Description

Method and device for realizing space data occupying view based on list and electronic equipment
Technical Field
The present disclosure relates to the field of application program development technologies, and in particular, to a method and an apparatus for implementing a space data space view based on a list, and an electronic device.
Background
In iOS systems, UITableView is a common list view control that is used to expose a vertically scrolled list of multiple items. When the list data is empty, a null data occupancy map is often required to be displayed in order to enhance the user experience.
However, the existing implementation logic of the tool library for the empty data placeholder function usually creates a separate empty data placeholder view in addition to the UITableView w, and manually hides the UITableView when the list has no data, and also manually adds the empty data placeholder view to the current screen. The performance and the like are not improved by utilizing the characteristics of the iOS, so that the problems of complicated logic, performance reduction, excessive attributes and the like exist.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method, an apparatus, and an electronic device for implementing a list-based space data space view, so as to solve the problems of complex logic, reduced performance, and excessive attributes in the prior art.
In a first aspect of an embodiment of the present application, a method for implementing a list-based null data placeholder view is provided, including: adding an expansion attribute and an expansion method for the list view control, and creating a global constant; creating a prompt view attribute in the list view control, wherein the prompt view attribute is used for representing a null data occupation view displayed on a screen when list data is null; when the attribute value of the prompt view attribute is set, calling a correlation function to correlate the list view control, the global constant and the prompt view attribute; when the operation of the prompt view attribute of the current list view control is triggered, acquiring an object associated with the current list view control, and returning an associated object; traversing the grouping attribute of the current list view control to obtain the total number of lines of all the groupings, and judging whether data exist in the list of the current list view control according to the total number of lines of all the groupings; and initializing a prompt view attribute when judging that no data exists in the list of the current list view control, creating an image view container and a label control, and adding the image view container and the label control into the initialized prompt view attribute so as to display a space data occupation view in the list of the current list view control.
In a second aspect of the embodiments of the present application, there is provided a list-based null data placeholder view implementation apparatus, including: the adding module is configured to add extension attributes and extension methods for the list view control and create a global constant; a creation module configured to create a hint view attribute in the list view control, the hint view attribute being used to represent a null data placeholder view displayed on the screen when the list data is null; the association module is configured to call an association function to associate the list view control, the global constant and the prompt view attribute when the attribute value of the prompt view attribute is set; the acquisition module is configured to acquire an object associated with the current list view control and return an associated object when triggering the operation of the prompt view attribute of the current list view control; the judging module is configured to traverse the grouping attribute of the current list view control to obtain the total number of lines of all the groups, and judge whether data exist in the list of the current list view control according to the total number of lines of all the groups; and the display module is configured to initialize the prompt view attribute when judging that the data does not exist in the list of the current list view control, create an image view container and a label control, and add the image view container and the label control into the initialized prompt view attribute so as to display the empty data space view in the list of the current list view control.
In a third aspect of the embodiments of the present application, there is provided an electronic device including a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
In a fourth aspect of the embodiments of the present application, there is provided a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above method.
The above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect:
adding an expansion attribute and an expansion method for the list view control, and creating a global constant; creating a prompt view attribute in the list view control, wherein the prompt view attribute is used for representing a null data occupation view displayed on a screen when list data is null; when the attribute value of the prompt view attribute is set, calling a correlation function to correlate the list view control, the global constant and the prompt view attribute; when the operation of the prompt view attribute of the current list view control is triggered, acquiring an object associated with the current list view control, and returning an associated object; traversing the grouping attribute of the current list view control to obtain the total number of lines of all the groupings, and judging whether data exist in the list of the current list view control according to the total number of lines of all the groupings; and initializing a prompt view attribute when judging that no data exists in the list of the current list view control, creating an image view container and a label control, and adding the image view container and the label control into the initialized prompt view attribute so as to display a space data occupation view in the list of the current list view control. The method and the device utilize the characteristics of the system level, greatly reduce the extra calculated amount, improve the performance, and simultaneously realize data refreshing and empty data view display, thereby saving time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a list-based space data placeholder view implementation method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a list-based space data placeholder view implementation device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
As described in the background, when the list data in the UITableView is empty, it is often necessary to display a null data occupation map in the null data page in order to remind the user that no content is currently available for display. A null data page generally refers to a placeholder page that is displayed for a user to have a good interactive experience when data is null or missing. This page may display some hints such as "pause data" or some pictures such as a blank list. In general, the design of an empty data page should be simple, aesthetically pleasing, and help the user better understand the current page state.
In the prior art, the implementation logic of the existing tool library of the iOS is basically the same as that of the empty data occupation map function, and an independent empty data occupation view is additionally created outside the UITableView, so that the UITableView is manually hidden when the list has no data, and meanwhile, the empty data occupation view is manually added to the current screen. Since the conventional implementation principle of the null data occupancy map function does not improve performance or the like by utilizing the characteristics of the iOS itself, the following problems are liable to occur:
1. The system level features are not used, making the logic cumbersome and the file bulky.
2. Excessive custom control nesting calls waste a great deal of resources and obviously reduce the performance.
3. The added attributes are too many, so that a lot of time is needed before the application is used to be familiar with the roles and the application scenes of most of the attributes, time is wasted, and the situation that the application crashes due to incomplete configuration is very easy to occur.
4. The required functions cannot be arbitrarily expanded according to own needs, and the method is invasive to the protospecies.
In view of this, in order to solve the above-mentioned problems, an embodiment of the present application provides a method for implementing a list-based null data placeholder view. The implementation of the space data occupation map function is optimized by expanding the UITableView. By adding the extension attribute and the extension method to the UITableView by using extension UITableView, the code quantity and the use of additional controls are reduced, so that the realization logic is simpler. According to the method and the device, the UITabaleView object is associated with the global constant tableTipVie wKey and the current InnerTipView attribute by utilizing the characteristic of the associated object specific to the iOS, so that the number of control nesting calls is reduced, and the performance is improved. The application also simplifies the use of the attribute by setting the default value and the internal calculation method, and reduces the error probability of the user in the configuration process. The application also provides an expansion method and an attribute, which are convenient for users to expand and customize according to the requirements. Meanwhile, due to the fact that extension is used, the scheme is low in invasiveness and does not affect functions of the protospecies.
The following describes the technical scheme of the present application in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flow chart of a method for implementing a list-based null data placeholder view according to an embodiment of the present application. The list-based null data placeholder view implementation of fig. 1 may be performed by an application. As shown in fig. 1, the method for implementing the list-based null data placeholder view specifically includes:
s101, adding an expansion attribute and an expansion method for a list view control, and creating a global constant;
s102, creating a prompt view attribute in the list view control, wherein the prompt view attribute is used for representing a space data occupation view displayed on a screen when list data are space;
s103, when the attribute value of the prompt view attribute is set, calling a correlation function to correlate the list view control, the global constant and the prompt view attribute;
s104, when the operation of the prompt view attribute of the current list view control is triggered, acquiring an object associated with the current list view control, and returning an associated object;
s105, traversing grouping attributes of the current list view control to obtain total line numbers of all groups, and judging whether data exist in a list of the current list view control according to the total line numbers of all groups;
And S106, initializing a prompt view attribute when judging that no data exists in the list of the current list view control, creating an image view container and a label control, and adding the image view container and the label control into the initialized prompt view attribute so as to display a space data occupation view in the list of the current list view control.
Firstly, explaining some technical terms involved in the practical application scene in the embodiment of the present application, the specific terms may include the following:
extension: a key identifier in iOS (Swift programming language) indicates "extension". Its purpose is to add new properties and methods to existing data types (e.g., classes, constructs, enumerations, etc.), thereby extending these types of functions without modifying their original definitions. The code can be modularized and clear by using the extension, and the maintainability of the code is improved.
UITableView: a list control in iOS that can scroll longitudinally and each row represents a piece of data can be used to present a large amount of data, such as a contact list, chat log, etc. The UITableVie w automatically manages multiplexing and reuse of each cell to reduce memory occupation and improve performance. The UITABL eView also supports a plurality of editing modes, and can allow a user to add, delete, move and the like on the cells. The list display function can be conveniently realized by using the UITableView, and the method has good expandability and customization.
tableTipViewKey: a custom constant name that is used to store and associate null data presentation views. This constant name can be arbitrarily named according to the needs of the actual scenario, the main purpose of which is to provide a unique identifier to associate and store the empty data presentation view.
String: a character string is a type of data used to store text data. It is a sequence of characters including Chinese characters, english letters, numerals, punctuation marks, etc. In computer programming, character strings are typically used to represent text information such as file names, web addresses, mail content, and the like. The string is inflexible, i.e. its content cannot be modified once created, so when a string needs to be modified, a new string variable needs to be used to store the modified result.
private: one type of rights, representing the variables and methods modified by the identifier, is only accessible within the current scope.
static: static type, one of data type.
InnerTipView: a custom variable name that is used to represent the empty data presentation view that is actually displayed on the screen. The variable name can be arbitrarily named according to the requirements of the actual scene, and the main purpose of the variable name is to provide a name which is easy to understand and use to represent the empty data presentation view. When access or modification of this view is required, an operation can be performed by this variable name.
Uikiew: view controls, which can be used to load other controls.
Any: may be used to represent any type.
The UnsafeRawPointer: a pointer type in the Swift language is used to represent the original byte address in memory, without regard to the data type to which the address points. In the Swift programming language UnsafeRa wPointer is a special pointer type that can be used to represent any type of memory address. This pointer type does not specify any specific type of information and can therefore be used to represent any type of data.
Bool: boolean values, there are both true and false values.
Int: integer, representing an integer.
tipLabel: a custom tag type, which is a user interface control for displaying text content on a screen. Typically, a label (e.g., tipLabel) may be used to present some of the hints, titles, or other text content. This name can be arbitrarily named according to the needs of the actual scenario, the main purpose being to facilitate the referencing and manipulation of this text label control in the code.
readdata: a method carried by the UITableView is used for updating the data in the list. When the list data in the UITableView changes, this method may be invoked to reload the data so that the content displayed in the list is consistent with the most current data.
In some embodiments, adding extension properties and extension methods to the list view control and creating a global constant includes:
adding an expansion attribute and an expansion method for the list view control by using a preset expansion keyword, and creating a global constant in the expansion keyword, wherein the global constant adopts a character string type, and the global constant contains a private modifier.
Specifically, in the embodiment of the application, an extension attribute and an extension method are added to the UITableView (i.e. list view control) through extension UITableView, and a tableTipV iewKey (i.e. global constant) is created in the extension, the global constant is of a String type, and the value of the global constant is set to be the tableTipViewKey. The following details of the adding process and principle of the expansion attribute and the expansion method in combination with the specific embodiments may specifically include the following:
in the embodiment of the application, the extension key (namely the extension key) is used to add the extension attribute and the extension method for the UITableView, and a global constant named as a tableTipViewKey is firstly created inside the extension. This global constant is of the String type, and its value is also set to "tableTipViewKey". The main role of this global constant is to store and associate empty data pages as keys of the associated objects. Since this global constant is only used internally, a private modifier is added to it in front, thus declaring it private to prevent external access and tampering. Also, since it is a constant, it needs to be stored in the global area, and thus a static modifier needs to be added in front of the attribute. That is, embodiments of the present application add an extension to the UITableView that has a private, global constant tableTipViewKey in it that will be used to store empty data pages.
In some embodiments, creating the hint view attribute in the list view control includes:
creating a hint view attribute in the list view control, the hint view attribute inherits the view control in the iOS used to load other controls, the hint view attribute used to represent a null data placeholder view displayed on the screen.
Specifically, embodiments of the present application create an attribute, innerTipView (i.e., hint view attribute), such that the attribute inherits from UIView-! The following! Representing the attribute may be set to null, i.e. its value may be nil. The role of this attribute is: representing a real empty data presentation view (i.e., an empty data placeholder view) that is actually needed to be displayed on the screen and that can be seen by the user.
In practical application, the application creates a prompt view attribute innerTipView and makes it of the type Uiview-! . Uiiview is a view base class in iOS for representing various visual elements on the screen, adding exclamation marks behind the type-! Meaning that this attribute is optional, i.e. it may have a specific view value or nil. This hint view attribute innerTipView functions to represent an empty data presentation view that is actually displayed on the screen, i.e., a hint view that the user sees when the list data is empty. Through this hint view attribute innerTipView, embodiments of the present application can easily access and manage this empty data presentation view.
In some embodiments, invoking the association function associates the list view control, the global constant, and the hint view attribute, including:
and taking the list view control as an associated object, taking the address of the global constant as an associated key, taking the value of the currently stored prompt view attribute as an associated value, taking the associated object, the associated key, the associated value and the associated policy as parameters, transmitting the associated object, the associated key, the associated value and the associated policy into an associated function, and executing the association operation by using the associated function.
Specifically, the embodiment of the application realizes the association among the list view control UITableView, the global constant tableTipViewKey and the prompt view attribute innerTipView by a set method of rewriting innerTipView. The specific implementation principle and the steps of the association function are as follows: by utilizing the characteristic of the related object specific to the iOS, the method of setting the related object by calling func objc_setassociatedobject (object: any, key: unsa feRawPointer, value: any |, policy: objc_associationPolicy) is used for transmitting the object as the current object self; transmitting the key as an address of a tableTipViewKey and a tab leTipViewKey; transmitting the value as a newValue which is really wanted to be stored at present; policy is passed as the reference type obj_association_request. The UITableView object is associated with the global constant tableTipViewKey and the current innerTipView attribute created by the previous embodiment through an association function, so that the native attribute of the UITableView is completely consistent with that of the call form.
The following details of the association operation procedure and principle of the association function in conjunction with table 1 and the specific embodiments may specifically include the following:
the embodiment of the application needs a set method for rewriting the InnerTipView attribute, namely an operation to be executed when assigning value to the InnerTipView. The set method of the incerTipView attribute is a method that is automatically invoked when the incerTipView attribute value is set. In this specific implementation, the purpose of storing and accessing the innerTi pView attribute in the UITableView object is achieved by associating the UITableView object with the global constant tableTipViewKey and the hint view attribute innerTipView by using the association attribute mechanism of the iOS.
When the set method of the innerTipView is called, the specific implementation is that the attribute value of the innerTipView is related to the current UITableView object through the method of the objc_ setAssociatedObj ect. Thus, when the InnerTipView attribute is required to be accessed later, the InnerTipView object can be obtained, so that specific operations can be performed when the value of the attribute is set. In practice, the present application uses the property of an associated object specific to iOS to associate an object with a key and assign it a value by calling the obj_setassocipedobject function (i.e., the association function). This correlation function has the following four parameters (see table 1).
Table 1 parameter introduction table of correlation function
Wherein, object: representing the objects that need to be associated. Here, the current UITableView object (i.e., self) is taken as the object to be associated.
key: representing a key for association. The address of the previously created global constant tableTipViewKey (i.e., & tableTipViewKey) is used as an association key.
value: representing the value to be associated. Here newValue is taken as the association value, which represents the empty data presentation view to be currently set.
policy: representing the association policy. The use of obj_association_request here indicates that the associated object should be referenced and retained.
In this way, the UITABLeView object is associated with the previously created global constant tableTipViewKey and the current innerTipView attribute, which allows embodiments of the present application to invoke this associated attribute as the native attribute that invoked the UITABLeView.
That is, through such an operation, the present embodiment associates the list view control UITableView object with the global constant tableTipViewKey and the current hint view attribute innerTipView, which makes the native attributes that use this extended attribute and use UITableView appear to be completely identical at the time of invocation.
In some embodiments, after associating the list view control, the global constant, and the hint view attribute using the association attribute mechanism of the iOS, when an operation of the hint view attribute of the current list view control is triggered, the embodiment of the present application obtains an object associated with the current list view control, and returns the associated object. That is, in the embodiment of the present application, the get method of the innerTipView attribute is a method for obtaining the value of the attribute, and in the embodiment of the present application, the related object is obtained by calling the obj_getassocityObject method, that is, the value of the innerTipView attribute is obtained, because the related object is used. Since the type returned by the method is Any, it needs to be forcefully converted into UIView type to return the true value of the attribute.
Further, when the prompt view attribute is accessed externally, the embodiment of the application obtains the value of the prompt view attribute by the following method, and the principle and operation of implementing the method comprise:
when an external attempt is made to obtain the InnerTipView attribute, the iOS's associated object properties need to be used. The object associated with the UITABILEView object is obtained by calling the objc_getAssociateObject function, which is specifically as follows: the object parameter is set to the current object self, i.e. the UITableView object. The key parameter is set to the address of the tableTipViewKey & tableTipViewKey, which is a previously created global constant. The return value of this function is of the Any type, which is named view. Since the type of the InnerTipView is UIView and the view type at this time is Any, the view cannot be returned directly because the types do not match. To solve this problem, embodiments of the present application require the use of as-! The translator translates view into UIView type. After conversion, the embodiment of the application can convert view as-! UIView returns as the value of incertipview.
In some embodiments, traversing the grouping attribute of the current list view control to obtain the total number of rows of all the groupings, and judging whether data exists in the list of the current list view control according to the total number of rows of all the groupings, including:
calling a preset calculation algorithm to create a local variable, wherein the local variable is used for recording the total number of lines of the list;
traversing the grouping attribute of the current list view control, obtaining the row number corresponding to each grouping, adding the row numbers of all the groupings to obtain the total row number of all the groupings, and storing the total row number of all the groupings in a local variable;
judging whether the total line number of all the groups is smaller than or equal to 0, if the total line number of all the groups is smaller than or equal to 0, judging that no data exists in the list of the current list view control, and if the total line number of all the groups is larger than 0, judging that data exists in the list of the current list view control.
Specifically, the embodiment of the present application also creates a method func caculateCells () - > Bool (which may be simply referred to as a cell calculation method) that is only used for internal calculation, so the modifier pr ivate needs to be added. The function of this method is to calculate whether the current list has data. The implementation principle and the steps are as follows:
First, a local variable named cellCount is created, the type of local variable being Int, which is used to record the total number of rows in the list.
Next, the number of lines of all packets (sections) is counted by traversing the number ofsections attribute (i.e., packet attribute) of the current list view control UITableView itself. Specifically, the number of lines cellCountOf Section possessed by each packet (section) is obtained by using a self.number ofRows (in section) method, and then the number of lines of all packets is added up to obtain the total number of lines, which is stored in the local variable cellCount.
Finally, judging whether the total line number in the local variable cellCount is smaller than or equal to 0, if so, indicating that no data exists in the list, and returning true at the moment; if it is greater than 0, the list is interpreted as having data, and false is returned. Thus, by calling the calllatecells () method, it can be determined whether the current list has data, thereby displaying or hiding the empty data presentation view when needed.
In some embodiments, initializing the hint view attributes includes:
judging whether a background view attribute exists in the current list view control, when the background view attribute exists in the current list view control, assigning a value of the background view attribute to the prompt view attribute, and when the background view attribute does not exist in the current list view control, creating a new background view, and assigning a value of the new background view to the prompt view attribute.
Specifically, the embodiment of the application also creates a method named showNoData (simply called a view prompting method), which has a parameter tipString, and the default value of the parameter is set to any custom character string, for example, the default value is set to "temporary nothing". The purpose of the view hint method is to let the outside call it on its own initiative when needed to display the appropriate hint when there is no data. The realization process and principle of the view prompting method are as follows:
first, the calllatecells method is called to determine whether there is data. If there is data, the inner TipView is removed and set to nil, meaning that no empty data view needs to be created, and then returned directly. If there is no data, an InnerTipView needs to be initialized and created, and in practical application, the initialization process of the InnerTipView comprises the following steps: if the backspace view (i.e., background view attribute) of the current list view control UITableView exists, the backspace view is directly assigned to the InnerTipView; if not, a new background view backView is created and assigned to the background view attribute backGroundView of the current list view control UITableView.
Then, an imageView container (i.e., an image view container) is created, which is used to display the placeholder pictures when empty data is displayed. Next, a label control tipLabel is created for displaying the default prompt.
Further, the addSubview method is used to add the image view container imageView and the label control tipLabel (tipLabel is a label control, which can also be understood as a hint label) to the innortipvi view (here, the initialized hint view property). Finally, constraints are added to imageView and tipLabel, placing them one above the other.
In this way, by calling the showNoData method, the embodiment of the application can display a prompt view when no data exists in the list of the current list view control UITableView, so as to remind the user that no content is available for display currently.
Wherein, the backspace view attribute of the UITableView refers to the background view of the table view. It is a uiiview type object that can be used to set the context of the list view. The background effect of the list can be changed by setting the backspace view attribute to a custom view. When there is no data in the list, a hint may typically be added to the background view, for example: prompt characters such as "pause no content".
The imageView container is referred to as an image view container, which refers to a view that displays a picture, and is an object of the UIImageView type, so the imageView container refers to a view container that displays a picture.
In some embodiments, the method of embodiments of the present application further comprises:
when the data is acquired externally, updating initial data in a list of the current list view control by using the acquired data, and judging whether the updated list of the current list view control has data or not;
and when judging that the updated list of the current list view control does not contain data, creating and displaying a null data space view, and when judging that the updated list of the current list view control contains data, removing the null data space view.
Specifically, after the data is obtained externally and the reloadData method of the UITableView is called, the obtained data is refreshed into the list of the UITableView, if the showNoDat a method is called, the empty data occupation map can be automatically displayed or hidden according to whether the data exists or not. If the UITabl eView has no data, a showNoData method is called to create and display a null data occupation map; if there is data on the UITableView, the ShowNoData method is called to remove the null data occupancy map and hide it. Thus, the effect of automatically displaying the empty data occupation map when the UITableView has no data can be realized.
It should be noted that, in the embodiment of the present application, the calling order of the reloadData method and the showNoData method is not changeable, and the reloadData method and the showNoData method need to be strictly used in a manner of calling the reloadData first and then calling the showNoData, because the implementation principle of the showNoData is calculated according to the latest cell number after calling the reloadData.
In practical application, in order to solve the problem that the calling sequence of the reloadData method and the showNoData method is disordered, the embodiment of the application can extend a method re loadDatas to the UITbaleView, and the implementation principle of the method is as follows: and the final actual refreshing function is packaged in the interior, the reloadData is called first, and then the showNoData is called, so that when the method is used externally, the final effect can be realized only by calling the reloadDat as, and the problem of disordered sequence caused by separate calling is not worried.
According to the technical scheme provided by the embodiment of the application, the embodiment of the application utilizes the associated object characteristics of the iOS, and simplifies the realization of the null data occupation map function by adding the expansion attribute and the expansion method to the UITableView. By the implementation mode, the code quantity is reduced, the use of extra controls can be avoided, and therefore performance is improved. Meanwhile, the default value and the internal calculation method provided by the scheme enable the attribute to be used more conveniently. Finally, due to the fact that extension is used, the scheme is low in invasiveness and convenient for users to expand and customize according to requirements.
In addition, the core functions of the embodiment of the application are realized by using the functions and the characteristics of the system, and the principle is simple and reliable. The method and the device utilize the characteristics of the system level, thereby greatly reducing the additional calculation amount and greatly improving the performance. Because the method capable of realizing data refreshing and empty data view display simultaneously is packaged, all functions can be realized by simply calling one method, any additional consideration and processing are not needed, and the time is saved for a user. The method has the advantages that the expansibility is extremely high, new expansion functions can be added at any time when new demands are met, the original hierarchical structure is not disturbed, and a bulky tool class is not needed to be specially created for implementation, so that the efficiency is greatly improved.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Fig. 2 is a schematic structural diagram of a list-based space data placeholder view implementation device according to an embodiment of the present application. As shown in fig. 2, the list-based null data placeholder view implementation device includes:
an adding module 201 configured to add extension properties and extension methods to the list view control and create a global constant;
A creation module 202 configured to create a hint view attribute in the list view control, the hint view attribute representing a null data placeholder view displayed on the screen when the list data is null;
the association module 203 is configured to call an association function to associate the list view control, the global constant and the prompt view attribute when the attribute value of the prompt view attribute is set;
an obtaining module 204 configured to obtain an object associated with the current list view control and return an associated object when an operation of the prompt view attribute of the current list view control is triggered;
the judging module 205 is configured to traverse the grouping attribute of the current list view control to obtain the total number of lines of all the groupings, and judge whether data exists in the list of the current list view control according to the total number of lines of all the groupings;
and the display module 206 is configured to initialize the prompt view attribute when judging that no data exists in the list of the current list view control, create an image view container and a label control, and add the image view container and the label control to the initialized prompt view attribute so as to display the empty data space view in the list of the current list view control.
In some embodiments, the adding module 201 of fig. 2 adds the extended attribute and the extended method to the list view control by using a preset extended keyword, and creates a global constant in the extended keyword, where the global constant adopts a string type, and the global constant includes a private modifier.
In some embodiments, the creation module 202 of FIG. 2 creates a hint view attribute in the list view control that inherits the view control in the iOS that is used to load other controls, the hint view attribute being used to represent the null data placeholder view that is displayed on the screen.
In some embodiments, the association module 203 of fig. 2 takes the list view control as an associated object, takes the address of the global constant as an association key, takes the value of the currently stored prompt view attribute as an association value, takes the associated object, the association key, the association value and the association policy as parameters to enter an association function, and performs an association operation by using the association function.
In some embodiments, the determining module 205 of fig. 2 invokes a preset computing algorithm to create a local variable that is used to record the total number of rows of the list; traversing the grouping attribute of the current list view control, obtaining the row number corresponding to each grouping, adding the row numbers of all the groupings to obtain the total row number of all the groupings, and storing the total row number of all the groupings in a local variable; judging whether the total line number of all the groups is smaller than or equal to 0, if the total line number of all the groups is smaller than or equal to 0, judging that no data exists in the list of the current list view control, and if the total line number of all the groups is larger than 0, judging that data exists in the list of the current list view control.
In some embodiments, the display module 206 of FIG. 2 determines whether a background view attribute is present in the current list view control, assigns a value of the background view attribute to the hint view attribute when the background view attribute is present in the current list view control, creates a new background view when the background view attribute is not present in the current list view control, and assigns a value of the new background view to the hint view attribute.
In some embodiments, when the update module 207 of fig. 2 externally acquires data, updating initial data in the list of the current list view control with the acquired data, and determining whether there is data in the updated list of the current list view control; and when judging that the updated list of the current list view control does not contain data, creating and displaying a null data space view, and when judging that the updated list of the current list view control contains data, removing the null data space view.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Fig. 3 is a schematic structural diagram of the electronic device 3 provided in the embodiment of the present application. As shown in fig. 3, the electronic apparatus 3 of this embodiment includes: a processor 301, a memory 302 and a computer program 303 stored in the memory 302 and executable on the processor 301. The steps of the various method embodiments described above are implemented when the processor 301 executes the computer program 303. Alternatively, the processor 301, when executing the computer program 303, performs the functions of the modules/units in the above-described apparatus embodiments.
Illustratively, the computer program 303 may be partitioned into one or more modules/units, which are stored in the memory 302 and executed by the processor 301 to complete the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 303 in the electronic device 3.
The electronic device 3 may be an electronic device such as a desktop computer, a notebook computer, a palm computer, or a cloud server. The electronic device 3 may include, but is not limited to, a processor 301 and a memory 302. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the electronic device 3 and does not constitute a limitation of the electronic device 3, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device may also include an input-output device, a network access device, a bus, etc.
The processor 301 may be a central processing unit (Central Processing Unit, CPU) or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 302 may be an internal storage unit of the electronic device 3, for example, a hard disk or a memory of the electronic device 3. The memory 302 may also be an external storage device of the electronic device 3, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 3. Further, the memory 302 may also include both an internal storage unit and an external storage device of the electronic device 3. The memory 302 is used to store computer programs and other programs and data required by the electronic device. The memory 302 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in this application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the apparatus/computer device embodiments described above are merely illustrative, e.g., the division of modules or elements is merely a logical functional division, and there may be additional divisions of actual implementations, multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow in the methods of the above embodiments, or may be implemented by a computer program to instruct related hardware, and the computer program may be stored in a computer readable storage medium, where the computer program may implement the steps of the respective method embodiments described above when executed by a processor. The computer program may comprise computer program code, which may be in source code form, object code form, executable file or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. The method for realizing the space data occupying view based on the list is characterized by comprising the following steps:
adding an expansion attribute and an expansion method for the list view control, and creating a global constant;
creating a prompt view attribute in the list view control, wherein the prompt view attribute is used for representing a null data occupation view displayed on a screen when list data are null;
when the attribute value of the prompt view attribute is set, an association function is called to associate the list view control, the global constant and the prompt view attribute;
when triggering the operation of the prompt view attribute of the current list view control, acquiring an object associated with the current list view control, and returning an associated object;
Traversing the grouping attribute of the current list view control to obtain the total number of lines of all groups, and judging whether data exists in the list of the current list view control according to the total number of lines of all groups;
and initializing the prompt view attribute when judging that no data exists in the list of the current list view control, creating an image view container and a label control, and adding the image view container and the label control into the initialized prompt view attribute so as to enable the list of the current list view control to display a space data occupation view.
2. The method of claim 1, wherein adding extended properties and extended methods to the list view control and creating a global constant comprises:
adding an expansion attribute and an expansion method for the list view control by using a preset expansion keyword, and creating a global constant in the expansion keyword, wherein the global constant adopts a character string type, and the global constant contains a private modifier.
3. The method of claim 1, wherein creating a hint view attribute in the list view control comprises:
Creating the prompt view attribute in the list view control, wherein the prompt view attribute inherits view controls used for loading other controls in the iOS, and the prompt view attribute is used for representing a null data space view displayed on a screen.
4. The method of claim 1, wherein the invoking the association function to associate the list view control, the global constant, and the hint view attribute comprises:
and taking the list view control as an associated object, taking the address of the global constant as an associated key, taking the value of the currently stored prompt view attribute as an associated value, taking the associated object, the associated key, the associated value and the associated policy as parameters, transmitting the associated object, the associated key, the associated value and the associated policy into the associated function, and executing the associated operation by utilizing the associated function.
5. The method of claim 1, wherein traversing the group attribute of the current list view control to obtain a total number of rows of all groups, and determining whether data exists in the list of the current list view control according to the total number of rows of all groups comprises:
calling a preset calculation algorithm to create a local variable, wherein the local variable is used for recording the total number of rows of the list;
Traversing the grouping attribute of the current list view control, obtaining the row number corresponding to each grouping, adding the row numbers of all the groupings to obtain the total row number of all the groupings, and storing the total row number of all the groupings in the local variable;
judging whether the total line number of all the groups is smaller than or equal to 0, if the total line number of all the groups is smaller than or equal to 0, judging that no data exists in the list of the current list view control, and if the total line number of all the groups is larger than 0, judging that data exists in the list of the current list view control.
6. The method of claim 1, wherein the initializing the hint view attribute comprises:
judging whether a background view attribute exists in the current list view control, when the background view attribute exists in the current list view control, assigning the value of the background view attribute to the prompt view attribute, and when the background view attribute does not exist in the current list view control, creating a new background view, and assigning the value of the new background view to the prompt view attribute.
7. The method according to claim 1, wherein the method further comprises:
When the data is acquired externally, updating initial data in the list of the current list view control by using the acquired data, and judging whether the updated list of the current list view control has data or not;
and when judging that the updated list of the current list view control does not contain data, creating and displaying the empty data occupying view, and when judging that the updated list of the current list view control contains data, removing the empty data occupying view.
8. A list-based null data placeholder view implementation apparatus, comprising:
the adding module is configured to add extension attributes and extension methods for the list view control and create a global constant;
a creation module configured to create a hint view attribute in the list view control, the hint view attribute being used to represent a null data placeholder view displayed on a screen when list data is null;
the association module is configured to call an association function to associate the list view control, the global constant and the prompt view attribute when the attribute value of the prompt view attribute is set;
The acquisition module is configured to acquire an object associated with the current list view control and return an associated object when triggering the operation of the prompt view attribute of the current list view control;
the judging module is configured to traverse the grouping attribute of the current list view control to obtain the total number of lines of all groups, and judge whether data exists in the list of the current list view control according to the total number of lines of all groups;
and the display module is configured to initialize the prompt view attribute when judging that no data exists in the list of the current list view control, create an image view container and a label control, and add the image view container and the label control into the initialized prompt view attribute so as to display a space data occupation view in the list of the current list view control.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 7 when the program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 7.
CN202310384571.9A 2023-04-12 2023-04-12 Method and device for realizing space data occupying view based on list and electronic equipment Pending CN116483240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310384571.9A CN116483240A (en) 2023-04-12 2023-04-12 Method and device for realizing space data occupying view based on list and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310384571.9A CN116483240A (en) 2023-04-12 2023-04-12 Method and device for realizing space data occupying view based on list and electronic equipment

Publications (1)

Publication Number Publication Date
CN116483240A true CN116483240A (en) 2023-07-25

Family

ID=87224377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310384571.9A Pending CN116483240A (en) 2023-04-12 2023-04-12 Method and device for realizing space data occupying view based on list and electronic equipment

Country Status (1)

Country Link
CN (1) CN116483240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149036A (en) * 2023-08-31 2023-12-01 重庆赛力斯新能源汽车设计院有限公司 Implementation method and device of data-free placeholder view based on iOS sliding view

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245121A1 (en) * 2013-02-28 2014-08-28 Ricoh Co., Ltd. Creating and Switching a View of a Collection Including Image Data and Symbolic Data
CN109739611A (en) * 2019-01-25 2019-05-10 北京城市网邻信息技术有限公司 List View method for drafting, device, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245121A1 (en) * 2013-02-28 2014-08-28 Ricoh Co., Ltd. Creating and Switching a View of a Collection Including Image Data and Symbolic Data
CN109739611A (en) * 2019-01-25 2019-05-10 北京城市网邻信息技术有限公司 List View method for drafting, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIAOLEI123: "打造一个无数据显示无数据提示信息的ListView", pages 1 - 4, Retrieved from the Internet <URL:https://cloud.tencent.com/developer/article/1153083?shareByChannel=link> *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117149036A (en) * 2023-08-31 2023-12-01 重庆赛力斯新能源汽车设计院有限公司 Implementation method and device of data-free placeholder view based on iOS sliding view
CN117149036B (en) * 2023-08-31 2024-09-27 重庆赛力斯新能源汽车设计院有限公司 IOS sliding view-based implementation method and device for non-data occupation view

Similar Documents

Publication Publication Date Title
US11003321B2 (en) Integrated multidimensional view of hierarchical objects
KR101130484B1 (en) Common charting using shapes
US7137066B2 (en) Binary cache file format for themeing the visual appearance of a computer system
EP0504085B1 (en) Method and apparatus for accessing a relational database without exiting an object-oriented environment
US7934162B2 (en) Running state migration of platform specific graphical user interface widgets between heterogeneous device platforms
US7386835B1 (en) Technique for graphical user interface modification
US7392483B2 (en) Transformation of platform specific graphical user interface widgets migrated between heterogeneous device platforms
TW202141300A (en) Page processing method, device, apparatus and storage medium
US6121981A (en) Method and system for generating arbitrary-shaped animation in the user interface of a computer
US20130066947A1 (en) System and Method for Managing Applications for Multiple Computing Endpoints and Multiple Endpoint Types
JP2000048016A (en) Format and display method for text executable on computer processor, computer device capable of formatting and displaying text and computer readable storage medium storing program capable of formatting and displaying text, and method for adding new style to text editor capable of formatting and displaying text
MXPA06003282A (en) System and method for a unified composition engine in a graphics processing system.
CN108958731B (en) Application program interface generation method, device, equipment and storage medium
US20050289450A1 (en) User interface virtualization
CN102193806A (en) Method and device for updating animation
US20090287724A1 (en) Data Viewer Management
CN116483240A (en) Method and device for realizing space data occupying view based on list and electronic equipment
GB2256511A (en) Invoking method in object-oriented languages.
SE533322C2 (en) Method, module and apparatus for displaying graphical information
KR20070047675A (en) Method and apparatus for organizing the representation of objects and entities
US8091018B2 (en) Method and system for creating and implementing dynamic graphic media
CN113656723A (en) Display method and device for web page view
CN113504862A (en) View data processing method and device, target device and storage medium
US7490133B1 (en) Context-sensitive content level semantic information propagation system and method
CN106354449B (en) A kind of online demenstration method of document and client

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240116

Address after: No. 13 Xingxiang Road, Zengjia Town, High tech Zone, Shapingba District, Chongqing, 400039

Applicant after: Chongqing Selis Phoenix Intelligent Innovation Technology Co.,Ltd.

Address before: 610095 No. 2901, floor 29, unit 1, building 1, No. 151, Tianfu Second Street, high tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan Province

Applicant before: Chengdu Thalys Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20230725

RJ01 Rejection of invention patent application after publication