# weng1250/WZLBadge

//An one-line tool to show  styles of badge for UIView

Repository: https://github.com/weng1250/WZLBadge
Canonical: https://ross.abutalabs.com/products/wzlbadge
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2020-01-03T07:10:41+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4086, "days_push": 2434, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1767, forks 315 (observed 2026-08-28T04:05:33.562680+00:00)

## What it is
WZLBadge is an Objective-C library that adds badge indicators (red dot, number, 'new' label) to any UIView on iOS with a single line of code, implemented as a UIView category. It supports multiple badge styles, animations (shake, scale, bounce, breathe), and extensive customization of color, size, and position.

## Use cases
- show a red dot badge on a tab bar icon
- display a notification count on a button
- add a 'new' badge to a UIView
- animate a badge with shake or bounce effects
- customize badge color and position on any view

## When to choose
- you need badges on arbitrary UIViews in an Objective-C iOS app
- you want a lightweight one-line API with animation options
- you need to support older iOS versions (iOS 5+)

## When to avoid
- you are building in Swift and prefer a Swift-native solution
- you only need badges on UITabBarItem, which UIKit already supports
- you need a actively developed library with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, frontend
- platform: -
- tags: objective-c, uiview, badge, cocoapods, notification-badge, ios, mobile

## Member repositories
- weng1250/WZLBadge (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:33.562680+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:26:28.060405+00:00, confidence not recorded.
  - readme: https://github.com/weng1250/WZLBadge (fetched 2026-08-28T04:05:33.562680+00:00, sha e581788d8eb0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
