eleme/Stinger
Stinger is a high-efficiency library with great compatibility, for aop in Objective-C, using libffi instead of Objective-C message forwarding. It is 20+ times faster than the Aspects, from message-sending to Aspect-oriented code ends. observed · 2026-09-03
Health v2 · maintenance only
23/100
- Activity 0
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3193
- days_rel: n/a
- days_push: 859
- n_releases_24m: 0
Adoption not part of the score
1002 stars · 129 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Stinger is a high-performance Objective-C library for aspect-oriented programming (AOP) that hooks into existing methods before/instead/after execution using libffi instead of message forwarding. It claims to be 20+ times faster than the Aspects library while handling super calls automatically.
Use cases
- hook into existing Objective-C methods without subclassing
- add logging or analytics code before/after method calls
- replace method implementations at runtime for testing or patching
- avoid fragile manual method swizzling
- run a block once and auto-remove the hook
- manage and remove named hooks by identifier
When to choose
- you need AOP-style method hooking in Objective-C with better performance than Aspects
- you want a safer, higher-level API over raw method swizzling
- you need fine-grained control over hook lifecycle with identifiers
When to avoid
- you are working in Swift-only codebases without Objective-C interop
- you need AOP in languages other than Objective-C
- your project requires actively maintained libraries with frequent updates
Facets
library · maturity maintenance
middleware developer-tools mobile-development developer-tools aop method-swizzling libffi hooking objective-c cocoapods ios macos
1 source
- readme: https://github.com/eleme/Stinger · fetched 2026-09-03 · 3ba8226f30b2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| eleme/Stinger | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem