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

hyperoslo/Sugar

:coffee: Something sweet that goes great with your Cocoa observed · 2026-08-28

github.com/hyperoslo/Sugar · homepage · Swift · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: no_license

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: 4073
  • days_rel: n/a
  • days_push: 2267
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1059 stars · 70 forks observed · 2026-08-28

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

Sugar is a Swift library that adds convenient extensions and helpers to Cocoa and Cocoa Touch, covering app info, screen/simulator checks, keyboard observation, dates, GCD, regex, localization, method swizzling, and testing utilities. It aims to make common iOS and macOS development tasks terser and sweeter.

Use cases

  • read app bundle info like name, version, and URL schemes in Swift
  • detect if code is running on the iOS simulator
  • observe keyboard show/hide events easily
  • compare and construct dates with less boilerplate
  • run closures once and simplify GCD usage
  • use regex and string helpers in Swift
  • simplify unit and UI testing setup

When to choose

  • you want lightweight Swift extensions for common UIKit/Foundation tasks
  • you maintain an older Swift/Cocoa codebase and want terser syntax
  • you need small helpers like keyboard observation or simulator detection without a big framework

When to avoid

  • you need a actively maintained library with recent Swift concurrency support
  • you prefer writing your own extensions over a dependency
  • your project targets modern Swift versions beyond what Sugar supports

Facets

library · maturity maintenance

developer-tools concurrency internationalization testing developer-tools mobile-development cross-platform cocoa swift-extensions syntactic-sugar uikit-helpers foundation-helpers ios macos swift

2 sources

Member repositories

RepositoryRoleHealth v2
hyperoslo/Sugarmain23

For agents

markdown · JSON · MCP: product_card(name="hyperoslo/Sugar")

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