liuzhiyi1992/ZYCornerRadius
一句代码,圆角风雨无阻。A Category to make cornerRadius for UIImageView have no Offscreen-Rendered, be more efficiency. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases 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: 3834
- days_rel: n/a
- days_push: 2842
- n_releases_24m: 0
Adoption not part of the score
1431 stars · 228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity maintenance
image-processing ui-components mobile-development graphics performance uiimageview corner-radius offscreen-rendering objective-c-category cocoapods ios swift objective-c mobile
1 source
- readme: https://github.com/liuzhiyi1992/ZYCornerRadius · fetched 2026-08-28 · 5f82d815c6bc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| liuzhiyi1992/ZYCornerRadius | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="liuzhiyi1992/ZYCornerRadius")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem