CN112506599A - iOS popup manager - Google Patents

iOS popup manager Download PDF

Info

Publication number
CN112506599A
CN112506599A CN202011439650.8A CN202011439650A CN112506599A CN 112506599 A CN112506599 A CN 112506599A CN 202011439650 A CN202011439650 A CN 202011439650A CN 112506599 A CN112506599 A CN 112506599A
Authority
CN
China
Prior art keywords
popup
manager
display
tool
window
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
CN202011439650.8A
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.)
Sichuan Business Easy Co ltd
Original Assignee
Chengdu Shangtong Digital 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 Shangtong Digital Technology Co ltd filed Critical Chengdu Shangtong Digital Technology Co ltd
Priority to CN202011439650.8A priority Critical patent/CN112506599A/en
Publication of CN112506599A publication Critical patent/CN112506599A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an iOS popup manager, which comprises the following steps: s1, establishing a popup manager tool for controlling popup display and disappearance, animation effect, cache, specific display time, display sequence, display priority, memory overhead optimization and code redundancy reduction; s2, calling up a popup manager in an interface, creating a popup to be displayed, and adding the popup into the popup manager; s3, setting the property of the popup in the popup manager; and S4, displaying according to the set attributes. The method solves the problems that one interface uses the priorities of a plurality of popup windows, the popup windows are overlapped and displayed, the popup windows are sequentially displayed, popup frames are intercepted and cached firstly, other popup windows are allowed to disappear and then displayed, the animation effect is increased, the memory overhead user experience is reduced, the development time of developers is greatly reduced, and the expansion can be flexibly realized according to the requirements of products.

Description

iOS popup manager
Technical Field
The invention relates to the technical field of iOS development, in particular to an iOS popup manager.
Background
The use of a plurality of popup windows is likely to occur on one interface due to the requirements of a plurality of services of the original iOS popup window manager, and the use of a plurality of popup windows generally easily causes the problems of disorder, poor interface display and effect, increased memory overhead, influence on user experience, increased development period, poor maintenance and management and the like.
Disclosure of Invention
The invention aims to provide an iOS popup manager to solve the problems mentioned in the middle of the background art.
In order to achieve the purpose, the invention provides the following technical scheme: an iOS popup manager, comprising the steps of:
s1, establishing a popup manager tool for controlling popup display and disappearance, animation effect, cache, specific display time, display sequence, display priority, memory overhead optimization and code redundancy reduction;
s2, calling up a popup manager in an interface, creating a popup to be displayed, and adding the popup into the popup manager;
s4, setting the property of the popup in the popup manager;
and S5, displaying according to the set attributes.
Preferably, the pop-up manager tool comprises a plurality of pop-up tools;
the display and disappearance pop-up window tool is used for acquiring the display mode and the disappearance mode;
the animation effect popup tool acquires the priority animation based on the display popup tool;
caching the popup tool, and acquiring popup data based on the display and disappearance popup tool and the animation effect popup tool;
and other popup window tools can be used for self-defining adjustment.
Preferably, the popup manager is provided with a plurality of bullet windows, the bullet windows operate independently, and each bullet window corresponds to one popup tool.
Preferably, the popup manager sets a script, the script is internally provided with a command for popping up a new window, a file name of the popup window, window height, window width and attributes of pixel values of the window above a screen, and each attribute is mutually related;
when the previous script attribute is completed, YES is popped, and the corresponding next attribute is popped until the script is completed.
Preferably, setting the property of the popup;
aging: how much time is available;
the times are that the ammunition can be shot for many times;
the rule is that whether the bullet is played once a day, or the bullet is played once when entering the interface, or the bullet is played once, etc.;
priority: showing the highest priority of the display;
animation: and selecting an animation effect to display and disappear.
Preferably, the display priority is highest, and other display queues are added, and the next display queue is displayed after the previous popup window disappears;
and judging whether the time efficiency is overdue or not when the popup is displayed, judging whether the time efficiency accords with the display rule or not, and if the time efficiency accords with the display rule, selecting the animations and displaying the animations in sequence.
Preferably, the pop-up window manager further comprises a hidden pop-up window, a storage pop-up window and a management pop-up window;
the hidden popup is associated with the interface popup manager, and the storage popup is connected with the management popup.
Compared with the prior art, the invention has the beneficial effects that:
the method solves the problems that one interface uses the priorities of a plurality of popup windows, the popup windows are overlapped and displayed, the popup windows are sequentially displayed, popup frames are intercepted and cached firstly, other popup windows are allowed to disappear and then displayed, the animation effect is increased, the memory overhead user experience is reduced, the development time of developers is greatly reduced, and the expansion can be flexibly realized according to the requirements of products.
Drawings
FIG. 1 is a flow diagram of an iOS popup manager according to the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be described below in detail with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the first embodiment, the first step is,
referring to fig. 1, in an embodiment of the present invention, an iOS popup manager includes the steps of:
s1, establishing a popup manager tool for controlling popup display and disappearance, animation effect, cache, specific display time, display sequence, display priority, memory overhead optimization and code redundancy reduction;
s2, calling up a popup manager in an interface, creating a popup to be displayed, and adding the popup into the popup manager;
s4, setting the property of the popup in the popup manager;
and S5, displaying according to the set attributes.
In the second embodiment, the first embodiment of the method,
referring to fig. 1, in an embodiment of the present invention, an iOS popup manager includes the steps of:
s1, establishing a popup manager tool for controlling popup display and disappearance, animation effect, cache, specific display time, display sequence, display priority, memory overhead optimization and code redundancy reduction;
s2, calling up a popup manager in an interface, creating a popup to be displayed, and adding the popup into the popup manager;
s4, setting the property of the popup in the popup manager;
and S5, displaying according to the set attributes.
The pop-up manager tool comprises a plurality of pop-up tools;
the display and disappearance pop-up window tool is used for acquiring the display mode and the disappearance mode;
the animation effect popup tool acquires the priority animation based on the display popup tool;
caching the popup tool, and acquiring popup data based on the display and disappearance popup tool and the animation effect popup tool;
and other popup window tools can be used for self-defining adjustment.
The popup window manager is provided with a plurality of bullet windows which operate independently, and each bullet window corresponds to one popup tool.
Setting a script by the popup window manager, wherein the script is internally provided with a command for popping up a new window, a file name of the popup window, a window height, a window width and attributes of pixel values above a window distance screen, and each attribute is mutually related;
when the previous script attribute is completed, YES is popped, and the corresponding next attribute is popped until the script is completed.
Setting the property of the popup;
aging: how much time is available;
the times are that the ammunition can be shot for many times;
the rule is that whether the bullet is played once a day, or the bullet is played once when entering the interface, or the bullet is played once, etc.;
priority: showing the highest priority of the display;
animation: and selecting an animation effect to display and disappear.
Firstly, displaying the queue with the highest priority, adding other display queues, and displaying the next popup after the previous popup disappears;
and judging whether the time efficiency is overdue or not when the popup is displayed, judging whether the time efficiency accords with the display rule or not, and if the time efficiency accords with the display rule, selecting the animations and displaying the animations in sequence.
The popup manager also comprises a hidden popup, a storage popup and a management popup;
the hidden popup is associated with the interface popup manager, and the storage popup is connected with the management popup.
The method solves the problems that one interface uses the priorities of a plurality of popup windows, the popup windows are overlapped and displayed, the popup windows are sequentially displayed, popup frames are intercepted and cached firstly, other popup windows are allowed to disappear and then displayed, the animation effect is increased, the memory overhead user experience is reduced, the development time of developers is greatly reduced, and the expansion can be flexibly realized according to the requirements of products.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (7)

1. An iOS popup manager, comprising the steps of:
s1, establishing a popup manager tool for controlling popup display and disappearance, animation effect, cache, specific display time, display sequence, display priority, memory overhead optimization and code redundancy reduction;
s2, calling up a popup manager in an interface, creating a popup to be displayed, and adding the popup into the popup manager;
s3, setting the property of the popup in the popup manager;
and S4, displaying according to the set attributes.
2. The iOS popup manager of claim 1, wherein the popup manager tool comprises a plurality of popup tools;
the display and disappearance pop-up window tool is used for acquiring the display mode and the disappearance mode;
the animation effect popup tool acquires the priority animation based on the display popup tool;
caching the popup tool, and acquiring popup data based on the display and disappearance popup tool and the animation effect popup tool;
and other popup window tools can be used for self-defining adjustment.
3. The iOS popup manager of claim 1, wherein a plurality of bullet windows are provided in the popup manager, the plurality of bullet windows operate independently of each other, and each bullet window corresponds to a popup tool.
4. The iOS popup manager as recited in claim 1, wherein the popup manager sets a script in which a command to pop up a new window, a file name of the popup window, a window height, a window width, attributes of a pixel value of the window above a screen, and a correlation between each attribute are set;
when the previous script attribute is completed, YES is popped, and the corresponding next attribute is popped until the script is completed.
5. The iOS popup manager of claim 1, wherein a property of the popup is set;
aging: how much time is available;
the times are that the ammunition can be shot for many times;
the rule is that whether the bullet is played once a day, or the bullet is played once when entering the interface, or the bullet is played once, etc.;
priority: showing the highest priority of the display;
animation: and selecting an animation effect to display and disappear.
6. An iOS popup manager as recited in claim 1, wherein the highest priority popup is displayed first, the other popup queues are added, and the previous popup is displayed next after the previous popup disappears;
and judging whether the time efficiency is overdue or not when the popup is displayed, judging whether the time efficiency accords with the display rule or not, and if the time efficiency accords with the display rule, selecting the animations and displaying the animations in sequence.
7. The iOS popup manager of claim 1, wherein the popup manager further comprises a hidden popup, a store popup, a manage popup;
the hidden popup is associated with the interface popup manager, and the storage popup is connected with the management popup.
CN202011439650.8A 2020-12-11 2020-12-11 iOS popup manager Pending CN112506599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011439650.8A CN112506599A (en) 2020-12-11 2020-12-11 iOS popup manager

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011439650.8A CN112506599A (en) 2020-12-11 2020-12-11 iOS popup manager

Publications (1)

Publication Number Publication Date
CN112506599A true CN112506599A (en) 2021-03-16

Family

ID=74970832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011439650.8A Pending CN112506599A (en) 2020-12-11 2020-12-11 iOS popup manager

Country Status (1)

Country Link
CN (1) CN112506599A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115097971A (en) * 2022-08-24 2022-09-23 中国中金财富证券有限公司 Display control method of popup frame and related device
CN115794074A (en) * 2023-01-06 2023-03-14 北京中科网威信息技术有限公司 Popup window creating method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153545A (en) * 2017-05-09 2017-09-12 北京酷我科技有限公司 A kind of method that pop-up is managed collectively in iOS system
CN110941468A (en) * 2019-11-13 2020-03-31 北京奇艺世纪科技有限公司 Popup management method and device, electronic equipment and storage medium
CN111722900A (en) * 2020-05-29 2020-09-29 五八有限公司 Display method and device for pop-up window
CN111752664A (en) * 2020-06-29 2020-10-09 浙江传化绿色慧联物流有限公司 Terminal multi-window popup management method and device
CN111857938A (en) * 2020-08-05 2020-10-30 广州繁星互娱信息科技有限公司 Management method and device of popup view, terminal and storage medium
CN111949347A (en) * 2020-07-06 2020-11-17 北京奇保信安科技有限公司 Popup window information display method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153545A (en) * 2017-05-09 2017-09-12 北京酷我科技有限公司 A kind of method that pop-up is managed collectively in iOS system
CN110941468A (en) * 2019-11-13 2020-03-31 北京奇艺世纪科技有限公司 Popup management method and device, electronic equipment and storage medium
CN111722900A (en) * 2020-05-29 2020-09-29 五八有限公司 Display method and device for pop-up window
CN111752664A (en) * 2020-06-29 2020-10-09 浙江传化绿色慧联物流有限公司 Terminal multi-window popup management method and device
CN111949347A (en) * 2020-07-06 2020-11-17 北京奇保信安科技有限公司 Popup window information display method and device and electronic equipment
CN111857938A (en) * 2020-08-05 2020-10-30 广州繁星互娱信息科技有限公司 Management method and device of popup view, terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115097971A (en) * 2022-08-24 2022-09-23 中国中金财富证券有限公司 Display control method of popup frame and related device
CN115794074A (en) * 2023-01-06 2023-03-14 北京中科网威信息技术有限公司 Popup window creating method and system

Similar Documents

Publication Publication Date Title
AU2020233755B2 (en) Controlling display performance
CN112506599A (en) iOS popup manager
US10204473B2 (en) Systems and methods of gaming machine image transitions
CN104244024B (en) Video cover generation method and device and terminal
US10169302B2 (en) Method and system for page display, server-end device, client device and storage medium
CN103677777B (en) Call the method and device of application component
EP3567480A1 (en) Condensed transitions of graphical elements presented in graphical user interfaces
CN110286979B (en) Rendering method and system for reducing Overdraw caused by UI occlusion
CN109903359B (en) Particle display method and device, mobile terminal and storage medium
CN112714357B (en) Video playing method, video playing device, electronic equipment and storage medium
CN108989872B (en) Android television background fast switching method, framework, server and storage medium
CN111651700A (en) Message display method and device, electronic equipment and storage medium
CN107479897B (en) A kind of vector graphics interface Zoom method used on video monitoring equipment
CN105354090A (en) Management method and device of virtual equipment
WO2024067319A1 (en) Method and system for creating stickers from user-generated content
CN114626974A (en) Image processing method, image processing device, computer equipment and storage medium
CN115937380A (en) Method and device for rendering graph and storage medium
CN111078785B (en) Method and device for visual display of data, electronic equipment and storage medium
CN114285936A (en) Screen brightness adjusting method and device, storage medium and terminal
EP3459041A1 (en) Apparatus and method for mapping frame buffers to logical displays
US20110298816A1 (en) Updating graphical display content
CN106354449A (en) Document online demonstration method and client
CN115437709A (en) Method and device for loading application home page splash screen resources
CN115129444A (en) Application program display method and device and computer readable storage medium
CN110825390A (en) Visualization large screen project rapid deployment

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
TA01 Transfer of patent application right

Effective date of registration: 20220505

Address after: No. 36 and 37, 11th floor, Seattle business building, No. 69, Xi'an south road, Jinniu District, Chengdu, Sichuan 610000

Applicant after: SICHUAN BUSINESS EASY CO.,LTD.

Address before: No. 1506, 15th floor, unit 1, building 2, No. 1537, middle section of Jiannan Avenue, high tech Zone, Chengdu, Sichuan 610000

Applicant before: Chengdu Shangtong Digital Technology Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316