Tag

CADisplayLink

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jun 14, 2023 · Mobile Development

Understanding CADisplayLink, NSTimer, and RunLoop in iOS: Implementation, Issues, and Solutions

This article explains the principles, usage, and internal mechanisms of CADisplayLink and NSTimer in iOS, compares their advantages and drawbacks, discusses common pitfalls such as retain cycles, explores RunLoop modes and sources, and provides code examples and solutions for reliable timer handling.

CADisplayLinkMobile DevelopmentNSTimer
0 likes · 24 min read
Understanding CADisplayLink, NSTimer, and RunLoop in iOS: Implementation, Issues, and Solutions
Sohu Tech Products
Sohu Tech Products
Mar 17, 2021 · Mobile Development

Understanding CADisplayLink, RunLoop, and CoreAnimation in iOS Rendering

This article explains how CADisplayLink registers VSync signals via a mach port, how RunLoop sources and observers process those signals, the impact of adding multiple display links, and the role of CATransaction in committing layer updates and driving iOS UI animation.

CADisplayLinkCoreAnimationMobile Development
0 likes · 12 min read
Understanding CADisplayLink, RunLoop, and CoreAnimation in iOS Rendering
Sohu Tech Products
Sohu Tech Products
Dec 24, 2020 · Mobile Development

Reducing Frame Rate in iOS Animations to Lower GPU Usage

The article explains why lowering the frame rate of iOS animations can trade a slight loss in visual smoothness for significant GPU load reduction, describes the Core Animation rendering pipeline, compares different frame‑rate reduction techniques, and presents test results showing the impact on CPU, GPU, and overall app performance.

CADisplayLinkCore AnimationGPU optimization
0 likes · 11 min read
Reducing Frame Rate in iOS Animations to Lower GPU Usage
JD Retail Technology
JD Retail Technology
Jan 10, 2020 · Mobile Development

Understanding iOS Timers: NSTimer, CADisplayLink, and GCD Dispatch Sources

This article explains the three main iOS timer mechanisms—NSTimer, CADisplayLink, and GCD dispatch sources—detailing their creation methods, differences, common pitfalls such as RunLoop mode and thread issues, and practical solutions for accurate scheduling.

CADisplayLinkMobile DevelopmentNSTimer
0 likes · 14 min read
Understanding iOS Timers: NSTimer, CADisplayLink, and GCD Dispatch Sources