Tagged articles
8 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Sep 10, 2025 · Mobile Development

Mastering CAEmitterLayer: Create Stunning Particle Effects in iOS

This article provides a comprehensive guide to using CAEmitterLayer in iOS, covering its core concepts, key properties of both the layer and its cells, practical Swift code examples for effects like snow, rain and fireworks, performance considerations, and advanced techniques for integrating with UIKit and physics engines.

CAEmitterLayerCoreAnimationParticleEffects
0 likes · 14 min read
Mastering CAEmitterLayer: Create Stunning Particle Effects in iOS
Baidu Geek Talk
Baidu Geek Talk
Jul 3, 2023 · Mobile Development

Sweep Light Loading Effects: Principles and Cross‑Platform Implementation

Sweep‑light loading effects, such as skeleton‑screen and logo sweeps, improve perceived performance by overlaying a moving translucent gradient mask, and can be implemented on iOS using Core Animation layers and timers, while Android uses shape drawables, ObjectAnimator or Canvas PorterDuff blending, with theme and performance considerations.

AndroidCanvasCoreAnimation
0 likes · 16 min read
Sweep Light Loading Effects: Principles and Cross‑Platform Implementation
DaTaobao Tech
DaTaobao Tech
Jun 1, 2022 · Mobile Development

How to Build a Gradient Border Voting Button with Custom Animations on iOS

This article walks through the design and implementation of a voting component featuring a transparent gradient border and gradient‑filled irregular button, covering three solution options, detailed path calculations, CoreGraphics and CoreAnimation techniques, and complete Swift code for drawing and animating the UI.

CoreAnimationCoreGraphicsGradientBorder
0 likes · 15 min read
How to Build a Gradient Border Voting Button with Custom Animations on iOS
JD Retail Technology
JD Retail Technology
Mar 24, 2022 · Mobile Development

Understanding Offscreen Rendering and Its Performance Impact in iOS

Offscreen rendering, a technique where the GPU or CPU renders content to a separate buffer outside the current screen framebuffer, can cause performance overhead due to buffer creation and context switches, and the article explains its principles, common trigger scenarios, and strategies to avoid it in iOS development.

CoreAnimationGPUiOS
0 likes · 11 min read
Understanding Offscreen Rendering and Its Performance Impact in iOS
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
Tencent Music Tech Team
Tencent Music Tech Team
Jul 2, 2020 · Mobile Development

Lottie Animation Principles and Implementation Overview

The article thoroughly examines Lottie animation technology, describing how After Effects projects are converted into JSON, parsed into Objective‑C data models such as LOTComposition and LOTLayer, and rendered on iOS/Android via Core Animation, detailing asset handling, layer hierarchy, frame interpolation, and implementation specifics.

AndroidCoreAnimationJSON
0 likes · 13 min read
Lottie Animation Principles and Implementation Overview