Ross ROSS = Recommend OSS · open-source software intelligence for agents

pinterest/PINCache

Fast, non-deadlocking parallel object cache for iOS, tvOS and OS X observed · 2026-08-28

github.com/pinterest/PINCache · Objective-C · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 98
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4207
  • days_rel: n/a
  • days_push: 12
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2689 stars · 365 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

PINCache is a fast, thread-safe key/value object cache for iOS, tvOS, and macOS, forked from TMCache to eliminate deadlocking. It combines an in-memory cache (PINMemoryCache) with an on-disk cache (PINDiskCache) backed by GCD for safe parallel access from multiple threads.

Use cases

  • cache downloaded images offline in an iOS app
  • persist expensive computation results between app launches
  • avoid deadlocks when accessing a cache from multiple threads
  • automatically clear cached objects on memory warnings
  • trim disk cache by byte count or age limit
  • store NSCoding-conforming objects in memory and on disk

When to choose

  • you need a battle-tested Objective-C/Swift cache for Apple platforms
  • your app caches downloaded data or slow processing results
  • you need thread-safe parallel cache access without deadlocks
  • you want automatic memory-warning eviction plus configurable disk limits

When to avoid

  • you target non-Apple platforms
  • you need a distributed or network-backed cache
  • your objects don't conform to NSCoding
  • you're building a new Swift-first project and prefer a pure Swift cache

Facets

library · maturity stable

caching mobile-development developer-tools performance cpp objective-c memory-cache disk-cache thread-safe gcd cocoapods carthage tvos ios macos swift

1 source

Member repositories

RepositoryRoleHealth v2
pinterest/PINCachemain67

For agents

markdown · JSON · MCP: product_card(name="pinterest/PINCache")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem