nicklockwood/AutoCoding
AutoCoding is a category on NSObject that provides automatic support for NSCoding and NSCopying to every object. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 5320
- days_rel: n/a
- days_push: 3233
- n_releases_24m: 0
Adoption not part of the score
1063 stars · 132 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AutoCoding is an Objective-C category on NSObject that automatically implements NSCoding (including NSSecureCoding) for any object, eliminating the need to write initWithCoder: and encodeWithCoder: methods manually. It also supports saving and loading objects to files and offers optional NSCopying support.
Use cases
- persist model objects to disk without writing NSCoding boilerplate
- add NSSecureCoding support to existing classes automatically
- save and load object graphs from files in an iOS or macOS app
- make legacy Objective-C classes serializable with minimal code changes
- protect against object-substitution attacks when decoding archived data
When to choose
- you maintain an older Objective-C codebase that relies on NSKeyedArchiver serialization
- you want automatic NSCoding/NSSecureCoding conformance without per-class boilerplate
- you need thread-safe, secure serialization for Apple-platform model objects
When to avoid
- you are starting a new project and can use Swift Codable or other modern serialization
- your model classes rely on non-NSCoding-compliant structs or Core Data managed objects with special copying needs
- you need actively maintained software with recent updates
Facets
library · maturity maintenance
serialization security developer-tools mobile-development desktop-applications objective-c nscoding nscopying nssecurecoding object-categorization apple-platforms ios macos
1 source
- readme: https://github.com/nicklockwood/AutoCoding · fetched 2026-08-28 · 0c600f083951
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nicklockwood/AutoCoding | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="nicklockwood/AutoCoding")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem