Method and plug-in for automatically detecting protocol unimplemented function based on Xcode
A technology for automatic detection and realization of functions, applied in software engineering design, electrical digital data processing, instruments, etc., can solve problems such as inability to intuitively acquire protocols and optional protocols, inability to efficiently acquire protocols, and prone to errors, etc. Good code readability, reducing trial and error and maintenance costs, and saving development costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Please refer to figure 1 , based on Xcode automatic detection protocol unimplemented function method, including steps:
[0026] S1. Obtain the configuration file of the Xcode project currently in the foreground;
[0027] Step S1 is specifically:
[0028] Obtain the configuration file of the Xcode project currently in the foreground through an AppleScript script.
[0029] The configuration file is to directly specify a list of protocol names to be detected, to specify a directory to be detected, or to traverse all subdirectories recursively.
[0030] S2. Perform analysis according to the configuration file to obtain all class and protocol data of the project;
[0031] Step S2 is specifically:
[0032] S21. Receive the binary file directory to be compiled and output specified by the user according to the configuration file;
[0033] S22. Parse the binary file according to the binary file directory to obtain all class and protocol data of the project.
[0034] S3. Ca...
Embodiment 2
[0040] The difference between this embodiment and Embodiment 1 is that this embodiment will further illustrate how the above-mentioned method based on the Xcode automatic detection protocol unrealized function of the present invention is implemented in combination with specific application scenarios:
[0041] Early preparation:
[0042] 1. Download and install the plug-in on the Mac system, and check the plug-in in Settings-Extensions to authorize the use of the plug-in;
[0043] 2. Set a custom shortcut key for the plug-in in the Xcode compiler to quickly invoke the plug-in;
[0044] 3. Add a configuration file to the project. The configuration file directly specifies the list of protocol names to be detected, specifies the directory to be detected, or recursively traverses all protocols in all subdirectories.
[0045] Implementation:
[0046] 1. Actively trigger the plug-in through shortcut keys or buttons;
[0047] 2. The plug-in obtains the configuration file of the Xco...
Embodiment 3
[0055] A plug-in that does not implement a function based on Xcode automatic detection protocol, and the plug-in implements each step in the first embodiment.
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