Tag

UIView

0 views collected around this technical thread.

NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 6, 2023 · Mobile Development

A Declarative Animation Framework for iOS: Design and Implementation

The article introduces a lightweight, protocol‑oriented iOS animation framework that uses type erasure and declarative animators to replace nested callback code, providing simple factory methods, serial and parallel execution support, and clearer, more maintainable animation sequences.

DeclarativeSwiftType Erasure
0 likes · 11 min read
A Declarative Animation Framework for iOS: Design and Implementation
Tencent Music Tech Team
Tencent Music Tech Team
Oct 4, 2021 · Mobile Development

Tree Structures in iOS, Android, Web, and Flutter: Views, Layers, and Rendering

The article compares the view‑and‑layer tree architectures of iOS, Android, Web, and Flutter, explaining iOS’s UIView/CALayer hierarchy, coordinate system, and model‑presentation‑render trees, while detailing Flutter’s widget, element, render‑object, and layer trees, and highlighting their shared parse‑layout‑render pipeline and differing animation approaches.

CALayerFlutterUIView
0 likes · 12 min read
Tree Structures in iOS, Android, Web, and Flutter: Views, Layers, and Rendering
JD Retail Technology
JD Retail Technology
Mar 29, 2021 · Mobile Development

How iOS Touch Events Are Generated, Propagated, and Handled

This article explains how iOS generates a touch event, encapsulates it in UITouch and UIEvent objects, propagates it through UIApplication to the view hierarchy using hitTest and pointInside, and finally processes it via UIResponder methods and the responder chain.

TouchEventUIResponderUIView
0 likes · 10 min read
How iOS Touch Events Are Generated, Propagated, and Handled
Qunar Tech Salon
Qunar Tech Salon
Feb 20, 2017 · Mobile Development

Understanding CoreAnimation: UIView Animation Mechanics, PresentationLayer and ModelLayer

This article explains how iOS CoreAnimation works behind UIView animations, detailing the role of CALayer, the actionForLayer:forKey: delegate method, animation overlapping behavior, and the distinction between presentationLayer and modelLayer during screen refreshes.

CoreAnimationMobileUIView
0 likes · 12 min read
Understanding CoreAnimation: UIView Animation Mechanics, PresentationLayer and ModelLayer