Tagged articles

CADisplayLink

7 articles · Page 1 of 1
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Mobile Development

Mastering iOS Timers: CADisplayLink, NSTimer, RunLoop and Memory‑Leak Solutions Explained

This article dives deep into iOS timing mechanisms, explaining how CADisplayLink synchronizes with the screen refresh, how NSTimer works, the role of RunLoop modes, common memory‑leak pitfalls, and practical code solutions for smooth animations and accurate frame‑rate handling across iOS versions.

CADisplayLinkNSTimerRunLoop
0 likes · 31 min read
Mastering iOS Timers: CADisplayLink, NSTimer, RunLoop and Memory‑Leak Solutions Explained
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.

CADisplayLinkFrame RateGPU Optimization
0 likes · 11 min read
Reducing Frame Rate in iOS Animations to Lower GPU Usage
WeChat Client Technology Team
WeChat Client Technology Team
Nov 19, 2015 · Mobile Development

Unlocking iOS Event Handling & Rendering: RunLoop, UI Threads, and Core Animation

This article explains iOS’s event processing pipeline—from hardware events through the RunLoop’s observer, source, timer, and dispatch mechanisms—detailing why UI must run on the main thread, how CALayer and Core Animation render, and the roles of CADisplayLink, NSTimer, and async display techniques.

AsyncDisplayCADisplayLinkRendering
0 likes · 20 min read
Unlocking iOS Event Handling & Rendering: RunLoop, UI Threads, and Core Animation