A lightweight but powerful iOS network library with simplified and expressive syntax, built on AFNetworking.
XMNetworking is an iOS networking library built on top of AFNetworking that simplifies HTTP communication with a centralized, expressive API. It handles common tasks like requests, uploads, downloads, and complex scenarios like batch or chain requests while providing global configuration and custom processing hooks.
iOS developers building apps that interact with RESTful APIs and need a robust, maintainable networking layer with advanced features like request chaining or SSL pinning.
Developers choose XMNetworking for its balance of simplicity and power—it reduces AFNetworking boilerplate, offers centralized management, and supports complex networking patterns out of the box, all with a clean Objective-C API.
A lightweight but powerful network library with simplified and expressive syntax based on AFNetworking.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows setting global server URLs, headers, and parameters via XMCenter, reducing boilerplate code and ensuring consistency across requests, as detailed in the '全局网络配置' section.
Supports batch and chain requests natively, enabling complex dependent network operations without manual handling, evidenced in the '批量请求' and '链式请求' sections.
Offers configurable request and response serializers for JSON, Plist, XML, and raw data, adapting to diverse RESTful APIs, as shown in the '序列化' section.
Provides global preprocessing, response processing, and error handling blocks, allowing unified logic like model conversion or error filtering, highlighted in the '预处理和后处理插件' section.
Lacks native network caching support, requiring developers to implement custom solutions or rely on external libraries, as admitted in the '待完善' (to be improved) list.
Written entirely in Objective-C, which may not integrate smoothly with modern Swift codebases or leverage Swift-specific features like value types or protocol-oriented design.
Acknowledges missing features such as breakpoint downloads and multi-platform support (tvOS/watchOS/macOS), limiting its out-of-the-box utility for some use cases.