What is YTKNetwork?

YTKNetwork is a high level request util based on AFNetworking. It’s developed by the iOS Team of YuanTiKu. It provides a High Level API for network request.

YTKNetwork is used in all products of YuanTiKu, including: YuanTiKu, YuanSoTi, YuanFuDao, FenBiZhiBoKe.

Features:

  • Response can be cached by expiration time
  • Response can be cached by version number
  • Set common base URL and CDN URL
  • Validate JSON response
  • Resume download
  • block and delegate callback
  • Batch requests (see YTKBatchRequest)
  • Chain requests (see YTKChainRequest)
  • URL filter, replace part of URL, or append common parameter
  • Plugin mechanism, handle request start and finish. A plugin for show “Loading” HUD is provided

Overview

  • Pricing: Free
  • Resource Link: https://github.com/yuantiku/YTKNetwork
  • Resource Maker: yuantiku
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Objective-C
  • iOS Versions Supported: iOS 7.0+, iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: YTKNetwork
  • Carthage: yuantiku/YTKNetwork