Method, equipment and system for iOS-end Mock data, and storage medium
A data and relational table technology, applied in digital transmission systems, transmission systems, data exchange networks, etc., can solve the problems of low Mock data efficiency, low client development efficiency, etc., to ensure development work, avoid memory occupation, and ensure smoothness Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0049] The network output simulation component is imported by pod. The specific usage method is: to import the network output simulation component in the iOS project by pod, only need to call the setup method of the network output simulation component in the appdelegate, and in the Mock interface At any time, use the following implementation method to call the Mock file that exists in the main project; the implementation method is as follows:
[0050] setURLString:(NSString*)url
[0051] JsonName:(NSString*)json
[0052] speedModel: (DYMockDownloadSpeed) speedModel.
[0053] In addition, customize the Mock network speed enumeration value. The network speed enumeration value is set by the staff to the corresponding interface according to the interface and network speed mapping relationship. According to this enumeration value, use the switch syntax to select different Mock data networks. parameters, call the requestTime method of the OHHTTPStubs class to simulate normal netwo...
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