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

nmdias/DefaultsKit

Simple, Strongly Typed UserDefaults for iOS, macOS and tvOS observed · 2026-08-28

github.com/nmdias/DefaultsKit · Swift · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

34/100

  • Activity 0
  • Release rhythm 40
  • 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: 0
  • age_days: 3301
  • days_rel: 654
  • days_push: 653
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1440 stars · 91 forks observed · 2026-08-28

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

DefaultsKit is a lightweight Swift library providing a strongly typed, Codable-based wrapper around UserDefaults for iOS, macOS, and tvOS. It lets developers store and retrieve values, including complex Codable objects, using type-safe keys in under 100 lines of code.

Use cases

  • store user preferences with type-safe keys in swift
  • persist codable structs to userdefaults
  • save and read settings on ios and macos apps
  • avoid stringly-typed userdefaults keys
  • check if a defaults key exists without deserializing
  • wrap userdefaults for tvos apps

When to choose

  • you want a minimal, strongly typed UserDefaults wrapper in Swift
  • you need to persist Codable structs or classes to user defaults
  • you prefer lightweight libraries with few dependencies

When to avoid

  • you need large-scale persistence like a database or file storage
  • you want reactive/observable preference bindings
  • you target platforms outside Apple's ecosystem

Facets

library · maturity stable

serialization developer-tools developer-tools mobile-development cross-platform userdefaults codable key-value-storage swift-package preferences ios macos swift

1 source

Member repositories

RepositoryRoleHealth v2
nmdias/DefaultsKitmain34

For agents

markdown · JSON · MCP: product_card(name="nmdias/DefaultsKit")

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