Method, device and electronic device for creating pop-up view
A technology of electronic equipment and views, applied in software engineering design, electrical digital data processing, instruments, etc., can solve the problem of low development efficiency, and achieve the effect of improving development efficiency and reducing the amount of code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0028] Please refer to figure 2 , figure 2 A flowchart of a method for creating a pop-up view provided by an embodiment of the present invention is shown. The method for creating a pop-up view includes the following steps:
[0029] Step S101, creating a bullet-type view protocol according to the general characteristics of the pop-up type view.
[0030] In the embodiment of the present invention, the general characteristics of the pop-up view may be, but not limited to, pop-up / hidden characteristics, user interaction characteristics, layout characteristics, and the like. The pop-up view protocol is a collection of methods, including the layout method, user interaction method, and display and hide methods of the pop-up view. The pop-up view protocol can be a protocol in the iOS SDK.
[0031]As an implementation, creating a pop-up class view protocol may include the following steps, where the pop-up class view can be represented by AlertView:
[0032] First, create a header...
no. 2 example
[0087] Please refer to Image 6 , Image 6 A schematic block diagram of an apparatus 200 for creating a pop-up view provided by an embodiment of the present invention is shown. The pop-up view creation device 200 includes a protocol creation module 201 , a protocol addition module 202 and an execution module 203 .
[0088] The protocol creation module 201 is configured to create a pop-up view protocol according to the general characteristics of the pop-up view.
[0089] In the embodiment of the present invention, the protocol creating module 201 may be used to execute step S101.
[0090] The protocol adding module 202 is used to add the implementation of the pop-up class view protocol to UIView by using the extension class, wherein UIView is the base class of all views in the iOS system.
[0091] In the embodiment of the present invention, the protocol adding module 202 may be used to execute step S102.
[0092] Please refer to Figure 7 , Figure 7 for Image 6 A schem...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com