Method and device for simplifying codes
A code and source code technology, applied in the computer field, can solve problems such as function expansion and maintenance and application difficulties, and achieve the effect of facilitating maintenance and simplifying the code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0034] Embodiments of the present invention provide a code simplification method and device for simplifying code in UIViewController.
[0035] In order to solve the above technical problems, the technical solution idea provided by the present invention is as follows:
[0036] In the technical solution of the embodiment of the present invention, an interface controller class, a target function class and a target function proxy class are first created, wherein the target function class is used to realize the target function of the target application, and then the interface controller class is created in the A target proxy object of the target proxy class, and controlling the target proxy class to proxy the target function class. Compared with creating each target proxy object and proxy method in the interface controller class in the prior art, since the embodiment of the present invention uses the target proxy class to proxy the target function class, and simultaneously creates ...
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