supermarin/ObjectiveSugar
ObjectiveC additions for humans. Ruby style. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
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: 5033
- days_rel: n/a
- days_push: 3655
- n_releases_24m: 0
Adoption not part of the score
2158 stars · 189 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ObjectiveSugar is a small Objective-C library that adds Ruby-style functional helpers to Foundation classes like NSNumber, NSArray, NSSet, and NSDate. It provides expressive methods such as times, upto, map, select, reject, and date arithmetic to make Objective-C code more readable.
Use cases
- iterate over arrays with a Ruby-style each and map in Objective-C
- run a block a fixed number of times with @3 times
- filter collections with select and reject instead of verbose predicates
- do date math like 7.days until or 30.days since
- sort and manipulate NSArray/NSSet with concise helpers
When to choose
- you maintain a legacy Objective-C iOS/macOS codebase and want more expressive collection and number APIs
- you prefer Ruby-like syntax sugar in Objective-C
- you want lightweight Foundation additions without a large dependency
When to avoid
- you are starting a new project in Swift, which has these features natively
- you need a library with active maintenance and recent updates
- you need functional helpers beyond Foundation collections and dates
Facets
library · maturity abandoned
developer-tools developer-tools programming-languages objective-c cocoapods functional-programming syntax-sugar foundation ruby-style macos ios
1 source
- readme: https://github.com/supermarin/ObjectiveSugar · fetched 2026-08-28 · b871b6152374
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| supermarin/ObjectiveSugar | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="supermarin/ObjectiveSugar")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem