Tag

Auto Layout

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Dec 25, 2024 · Mobile Development

Masonry Layout Framework: Bundle Size Impact and Optimization Solutions

Masonry, a lightweight iOS layout framework, simplifies constraints with chainable syntax but its block‑based APIs can add several megabytes to an app’s bundle when heavily used; replacing those blocks with non‑block alternatives reduces the size increase to roughly one kilobyte, preserving performance.

Auto LayoutMasonryNSLayoutConstraint
0 likes · 2 min read
Masonry Layout Framework: Bundle Size Impact and Optimization Solutions
Sohu Tech Products
Sohu Tech Products
Nov 6, 2024 · Mobile Development

UIStackView Tutorial: A Comprehensive Guide to iOS Linear Layout

This tutorial explains UIStackView, Apple’s iOS 9 linear layout container that mirrors Flexbox concepts, covering axis, distribution, alignment, and spacing, showing how to add arranged subviews, hide them dynamically, adjust hugging and compression priorities, and noting its limitations such as lacking order, flex‑grow, and flex‑basis controls.

Auto LayoutLinear LayoutSwift
0 likes · 8 min read
UIStackView Tutorial: A Comprehensive Guide to iOS Linear Layout
Snowball Engineer Team
Snowball Engineer Team
Mar 22, 2022 · Mobile Development

Optimizing iOS UI Smoothness: Hitch Detection and Performance Tuning for Feed and Article Pages

This article details practical strategies for improving iOS app UI smoothness by defining and measuring frame hitches, utilizing profiling tools like Instruments and flame graphs, and implementing targeted optimizations for rich text rendering, constraint layouts, and view management to significantly reduce hitch ratios.

Auto LayoutFrame HitchesInstruments Profiling
0 likes · 11 min read
Optimizing iOS UI Smoothness: Hitch Detection and Performance Tuning for Feed and Article Pages
Sohu Tech Products
Sohu Tech Products
Dec 9, 2020 · Mobile Development

iOS Layout Guidelines and Localization Techniques

This article explains essential iOS layout principles for internationalization, demonstrates Xcode’s preview and debugging tools, shows how to adapt interfaces for right‑to‑left languages, and provides code examples for dynamic type and automatic stack view orientation to ensure a seamless multilingual user experience.

Auto LayoutDynamic TypeRTL
0 likes · 13 min read
iOS Layout Guidelines and Localization Techniques