# jkpang/PPNetworkHelper

AFNetworking 3.x 与YYCache封装

Repository: https://github.com/jkpang/PPNetworkHelper
Canonical: https://ross.abutalabs.com/products/ppnetworkhelper
Language: Objective-C
License: MIT
License Family: permissive
Topics: afnetworking, yycache, cache, cocoapods, ios, objective-c
Archived: true
Last push: 2018-12-14T03:53:44+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3673, "days_push": 2819, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1574, forks 344 (observed 2026-08-28T04:05:05.684770+00:00)

## What it is
PPNetworkHelper is an Objective-C wrapper around AFNetworking 3.x and YYCache for iOS, providing simple one-line APIs for GET/POST requests, file/image upload and download, and network status monitoring. It adds automatic HTTP response caching backed by YYCache so cached data can be returned without writing SQL or manual cache code.

## Use cases
- make GET and POST requests with a simple block-based API on iOS
- cache network responses automatically and fall back to cached data offline
- upload single or multiple images with progress callbacks
- upload and download files with progress tracking
- monitor network status in an iOS app
- print Chinese characters in JSON directly in the console for easier debugging

## When to choose
- you are building an Objective-C iOS app already using AFNetworking 3.x and want built-in response caching
- you want a concise wrapper covering requests, uploads, downloads, and network monitoring in one class
- you prefer YYCache-based caching over writing FMDB/SQLite code yourself

## When to avoid
- you are starting a new project - the library has had no release since December 2018 and is effectively unmaintained
- you use Swift or modern stacks like URLSession, Alamofire, or Moya
- you need advanced features like request interceptors, retry policies, or async/await support

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, caching, file-upload
- domain: mobile-development, networking, developer-tools
- platform: -
- tags: afnetworking, yycache, objective-c, cocoapods, network-wrapper, http-cache, ios, mobile

## Member repositories
- jkpang/PPNetworkHelper (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.684770+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:39.227508+00:00, confidence not recorded.
  - readme: https://github.com/jkpang/PPNetworkHelper (fetched 2026-08-28T04:05:05.684770+00:00, sha 0917c3d322ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
