# liuzhiyi1992/ZYCornerRadius

一句代码，圆角风雨无阻。A Category to make cornerRadius for UIImageView have no Offscreen-Rendered, be more efficiency.

Repository: https://github.com/liuzhiyi1992/ZYCornerRadius
Canonical: https://ross.abutalabs.com/products/zycornerradius
Homepage: http://zyden.vicp.cc/zycornerradius/
Language: Objective-C
License Family: other
Last push: 2018-11-21T03:14:31+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": 3834, "days_push": 2842, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1431, forks 228 (observed 2026-08-28T04:04:42.465337+00:00)

## What it is
An Objective-C category (and UIImageView subclass) that applies corner radius to UIImageView images without triggering offscreen rendering, improving scroll performance. It offers one-line APIs for rounded or circular images with optional borders.

## Use cases
- round image corners in iOS without offscreen rendering
- improve table view scrolling frame rate with rounded images
- create circular avatar image views in one line of code
- add borders to rounded UIImageView images
- avoid masksToBounds performance cost in UIKit

## When to choose
- You need performant rounded corners on UIImageViews in Objective-C or Swift iOS apps
- Your scrolling UI drops frames due to offscreen rendering from cornerRadius
- You want a drop-in category with minimal code changes

## When to avoid
- You need rounded corners on views other than UIImageView
- You use SwiftUI or want a modern maintained solution
- You need active support - the project has not been updated since 2018

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, ui-components
- domain: mobile-development, graphics, performance
- platform: -
- tags: uiimageview, corner-radius, offscreen-rendering, objective-c-category, cocoapods, ios, swift, objective-c, mobile

## Member repositories
- liuzhiyi1992/ZYCornerRadius (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:42.465337+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-30T04:37:07.823592+00:00, confidence not recorded.
  - readme: https://github.com/liuzhiyi1992/ZYCornerRadius (fetched 2026-08-28T04:04:42.465337+00:00, sha 5f82d815c6bc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
