Tagged articles
1034 articles
Page 4 of 11
Sohu Tech Products
Sohu Tech Products
Jun 8, 2022 · Mobile Development

Understanding iOS RunLoop: Architecture, Modes, and Message Handling

This article provides an in‑depth technical overview of iOS RunLoop, explaining its relationship to threads, event loops, RunLoop modes, sources, timers, observers, and the underlying Mach message mechanisms, while including original source code excerpts for reference.

CoreFoundationMachRunLoop
0 likes · 30 min read
Understanding iOS RunLoop: Architecture, Modes, and Message Handling
Sohu Tech Products
Sohu Tech Products
Jun 8, 2022 · Mobile Development

Practical Uses of RunLoop in iOS: Thread Keep‑Alive, Stopping, Lazy Image Loading, Lag Detection, Crash Protection, and Integration in the Matrix Framework

This article explains how iOS RunLoop can be leveraged for thread keep‑alive, controlled termination, lazy image loading, various lag‑detection techniques, crash protection strategies, and demonstrates its integration within the open‑source Matrix framework, providing concrete Swift and Objective‑C code examples.

Mobile DevelopmentObjective‑CPerformance Monitoring
0 likes · 18 min read
Practical Uses of RunLoop in iOS: Thread Keep‑Alive, Stopping, Lazy Image Loading, Lag Detection, Crash Protection, and Integration in the Matrix Framework
DeWu Technology
DeWu Technology
Jun 8, 2022 · Mobile Development

Real-Time Debugging with Xcode Attach to Process for iOS Apps

The team built a real‑time debugging workflow for a large Swift iOS app by using Xcode’s Attach to Process feature, restoring the exact source commit, disabling Swift optimizations, configuring LLDB source‑maps for the app and CocoaPods, and ensuring debug symbols so breakpoints work without recompiling.

Attach to ProcessDebuggingReal-time Debugging
0 likes · 14 min read
Real-Time Debugging with Xcode Attach to Process for iOS Apps
HomeTech
HomeTech
Jun 8, 2022 · Mobile Development

Handling iOS Camera Preview vs Captured Image Discrepancy in VIN Recognition

This article investigates the mismatch between iOS camera preview and captured images in VIN recognition, explains the aspect‑ratio scaling cause, derives compensation formulas, and provides Objective‑C code to adjust crop rectangles for accurate framing.

CameraImage ProcessingObjective‑C
0 likes · 9 min read
Handling iOS Camera Preview vs Captured Image Discrepancy in VIN Recognition
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
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 31, 2022 · Frontend Development

Fin Line Height Fix Tool: Solving Visual Fidelity Issues in Design-Development Collaboration

The article introduces the Fin Line Height Fix Tool, an open‑source solution from NetEase’s Dolphin team that resolves visual fidelity problems caused by inconsistent font heights between design tools and implementation, offering Figma and Sketch plugins plus iOS, Android, and React Native code to ensure pixel‑level line‑height consistency and streamline designer‑developer collaboration.

AndroidSketchUI/UX
0 likes · 8 min read
Fin Line Height Fix Tool: Solving Visual Fidelity Issues in Design-Development Collaboration
Kuaishou Large Model
Kuaishou Large Model
May 27, 2022 · Mobile Development

How Kuaishou Optimizes Mobile AI Effects with Dynamic Device Grading

To ensure consistent user experience across the wide range of Android and iOS devices, Kuaishou’s Y‑tech team designed a dynamic model‑grading framework that evaluates CPU, GPU, NPU, memory and other hardware metrics, then dispatches appropriately sized AI effect models and configurations in real time.

AndroidKuaishouMobile AI
0 likes · 12 min read
How Kuaishou Optimizes Mobile AI Effects with Dynamic Device Grading
转转QA
转转QA
May 23, 2022 · Fundamentals

Third Issue: QA Roles, Delivery Quality Evaluation, Distributed Locks, Defensive Coding, and iOS Stability Testing

This issue presents five technical articles covering QA contributions in de‑QA projects, methods for evaluating team delivery quality, quality assurance for concurrency using distributed locks, defensive coding practices, and iQIYI's iOS stability testing approach, offering practical insights for software quality improvement.

Defensive CodingQAiOS
0 likes · 4 min read
Third Issue: QA Roles, Delivery Quality Evaluation, Distributed Locks, Defensive Coding, and iOS Stability Testing
Sohu Tech Products
Sohu Tech Products
May 18, 2022 · Mobile Development

iOS IPA Package Size Optimization: Practices, Settings, and Monitoring

This article provides a comprehensive guide to analyzing and reducing iOS IPA package size by unpacking the .ipa, examining its internal components, applying Xcode compile and code optimizations, compressing resources, removing unused assets, and establishing monitoring mechanisms to maintain a lean binary.

IPAPackage SizeResource Compression
0 likes · 17 min read
iOS IPA Package Size Optimization: Practices, Settings, and Monitoring
Ctrip Technology
Ctrip Technology
May 12, 2022 · Mobile Development

iOS Widget Development: App Extension Basics, Architecture, and Practical Implementation Tips

This article explains the fundamentals of iOS App Extensions, details the WidgetKit framework, shows how to configure single and multiple widgets, describes data sharing, refresh strategies, interaction patterns, and shares practical lessons learned from building flight‑ticket widgets for a production app.

App ExtensionMobile DevelopmentSwift
0 likes · 14 min read
iOS Widget Development: App Extension Basics, Architecture, and Practical Implementation Tips
Sohu Tech Products
Sohu Tech Products
May 11, 2022 · Mobile Development

Implementing Multi‑QR Code Detection and Interaction in iOS

This article explains how to detect multiple QR codes in an iOS image using Core Image, mark each code's location, and let users select a specific code either by adding transparent buttons or by handling touch events, covering coordinate conversion, scaling, and offset calculations.

Core ImageObjective‑CQR code
0 likes · 11 min read
Implementing Multi‑QR Code Detection and Interaction in iOS
ByteDance Terminal Technology
ByteDance Terminal Technology
May 11, 2022 · Fundamentals

Common Misconceptions in iOS15 Dynamic Linking and Mach‑O Fixup Chains

This article clarifies three frequent misunderstandings about iOS15+ dynamic linking—namely the encoding of b/bl instructions, the need for rebase/bind in __TEXT segments, and the mismatch between Mach‑O segment VM size and file size—by explaining the underlying ARM64 architecture, PIC concepts, and providing concrete dyld tool examples.

AssemblyMach-Obinary analysis
0 likes · 11 min read
Common Misconceptions in iOS15 Dynamic Linking and Mach‑O Fixup Chains
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
May 11, 2022 · Mobile Development

iOS Development Knowledge Map and Recommended Resources

An organized iOS development knowledge map and a comprehensive list of recommended resources—including language fundamentals, UI libraries, networking tools, data storage solutions, performance monitoring, architecture design, algorithms, and multimedia development—are presented to help iOS developers systematically learn and build applications.

DevelopmentMobileObjective‑C
0 likes · 7 min read
iOS Development Knowledge Map and Recommended Resources
JD Retail Technology
JD Retail Technology
Apr 26, 2022 · Mobile Development

Unit Testing with OCMock: Concepts, Integration, and Usage in iOS

This article explains the necessity and goals of unit testing, outlines common testing concerns such as independent paths, data structures, error handling, and boundary conditions, and provides a detailed guide to integrating and using OCMock in iOS, covering installation, mock types, stubbing, expectations, verification, and advanced techniques.

OCMockSoftware TestingiOS
0 likes · 15 min read
Unit Testing with OCMock: Concepts, Integration, and Usage in iOS
ByteDance Terminal Technology
ByteDance Terminal Technology
Apr 22, 2022 · Mobile Development

MetricKit Overview: iOS Performance and Diagnostic Monitoring

MetricKit, introduced in iOS 13 and expanded in iOS 14, provides a low‑overhead, system‑driven way to collect app performance, power, and crash diagnostics over the last 24 hours, enabling developers to upload, analyze, and optimize their iOS applications without third‑party SDKs.

MetricKitMobile DevelopmentPerformance Monitoring
0 likes · 18 min read
MetricKit Overview: iOS Performance and Diagnostic Monitoring
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Apr 21, 2022 · Mobile Development

How Kuaishou Optimized iOS App Startup and Prevented Performance Degradation

This article details Kuaishou's systematic approach to iOS app startup optimization, covering premain and postmain phases, dynamic library lazy loading, +load and static initializer monitoring, binary reordering, task scheduling, background fetch, prewarm mechanisms, and a comprehensive anti‑degradation framework to sustain launch performance.

Mobile Developmentapp startupdegradation prevention
0 likes · 26 min read
How Kuaishou Optimized iOS App Startup and Prevented Performance Degradation
Sohu Tech Products
Sohu Tech Products
Apr 20, 2022 · Mobile Development

Video Download Acceleration: 2.5× Optimization for iOS Apps

This article presents a comprehensive optimization of video caching on iOS, detailing background analysis, a dynamic concurrency design based on network conditions and device performance, test results showing up to 2.5‑fold speed gains, and the core implementation code.

Performance TestingQUICVideo Download
0 likes · 13 min read
Video Download Acceleration: 2.5× Optimization for iOS Apps
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 18, 2022 · Mobile Development

How Cube Achieved High‑Performance Cross‑Platform Rendering with Asynchronous Bitmap Rendering

This article explains Cube's evolution from early native rendering challenges to a sophisticated asynchronous, cross‑platform rendering architecture that uses bitmap caching, platform‑specific layers, and a multi‑stage optimization process to boost mobile UI performance on both Android and iOS.

AndroidCube frameworkMobile UI
0 likes · 15 min read
How Cube Achieved High‑Performance Cross‑Platform Rendering with Asynchronous Bitmap Rendering
Sohu Tech Products
Sohu Tech Products
Apr 13, 2022 · Mobile Development

Swift Protocols and Associated Types

This article explains Swift protocols with associated types, discusses their limitations compared to plain protocols, demonstrates how to resolve related compile‑time errors through generic constraints, protocol composition, and associated‑type constraints, and provides practical code examples for customizing UITabBar items.

Associated TypesGenericsProtocol Composition
0 likes · 16 min read
Swift Protocols and Associated Types
Alibaba Terminal Technology
Alibaba Terminal Technology
Apr 11, 2022 · Mobile Development

How Youku’s iOS Plugin Architecture Supercharges Build Speed and Modularity

The article explains how Youku tackled explosive module growth by introducing an iOS plugin system that decouples components, improves compile times, reduces disk and memory usage, enables simulator support, and provides automated dependency management, ultimately boosting development efficiency and product quality.

Build OptimizationMobile Developmentcontinuous integration
0 likes · 13 min read
How Youku’s iOS Plugin Architecture Supercharges Build Speed and Modularity
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Apr 11, 2022 · Mobile Development

How to Shrink Your iOS App by 31%: Practical Thinning & Optimization Guide

This article explains why iOS app size matters for download conversion, breaks down the components of an IPA, and provides a step‑by‑step guide to Apple’s App Thinning techniques, compiler optimizations, third‑party library management, resource cleanup, and CI/CD automation that together reduced the Yanxuan app from 210 MB to 144 MB.

App ThinningBinary OptimizationMobile Development
0 likes · 22 min read
How to Shrink Your iOS App by 31%: Practical Thinning & Optimization Guide
Baidu Geek Talk
Baidu Geek Talk
Apr 7, 2022 · Mobile Development

Uncovering NSTimer Memory Leaks, Android Focus Mechanics, and Cookie Management

This article analyzes why NSTimer can cause memory leaks in iOS, presents two ways to break the retain cycle, then dives into Android's focus system—including acquisition, distribution, and clearing—and finally explains how WebView and native code handle cookies on Android.

Android FocusCookie ManagementMobile Development
0 likes · 16 min read
Uncovering NSTimer Memory Leaks, Android Focus Mechanics, and Cookie Management
Youku Technology
Youku Technology
Apr 6, 2022 · Mobile Development

iOS Module Pluginization: Architecture and Implementation at Youku

Youku tackled explosive module growth and tangled dependencies by decomposing its iOS app into independent, Xcode‑based plugins that define modules and relationships, dramatically speeding compilation, enabling hot‑reload and simulator builds, cutting disk usage, and improving debugging, monitoring, and specialized app development.

Build Optimizationdependency managementdevelopment efficiency
0 likes · 9 min read
iOS Module Pluginization: Architecture and Implementation at Youku
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 30, 2022 · Backend Development

DeepLink Service Architecture and Implementation for Mobile App Promotion

This article explains the concept of DeepLink, its iOS and Android application scenarios, the design of deployment links across versions, the integration of APK Signature Scheme v2, and the caching strategies (Caffeine) used to efficiently serve channel‑specific packages in a backend service.

AndroidDeepLinkMobile
0 likes · 11 min read
DeepLink Service Architecture and Implementation for Mobile App Promotion
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
Architecture Digest
Architecture Digest
Mar 23, 2022 · Mobile Development

One-Click Mobile Number Login and Verification Services by Chinese Telecom Operators

Chinese telecom operators provide one‑click mobile number login and verification services that leverage carrier gateway authentication, allowing iOS, Android, H5, and mini‑program apps to obtain the device’s phone number or validate it without passwords, improving user experience and security across various scenarios.

AndroidMobile AuthenticationPhone Verification
0 likes · 10 min read
One-Click Mobile Number Login and Verification Services by Chinese Telecom Operators
58 Tech
58 Tech
Mar 22, 2022 · Game Development

Swift Native Mini‑Game Development in the Same‑City App: Architecture, Mixed‑Language Integration, and Performance Optimizations

This article describes how the Same‑City team migrated H5 mini‑games to a native Swift/SpriteKit solution, detailing the mixed Objective‑C/Swift environment, core game architecture, use of Swift functional and generic features, and the resulting improvements in package size, startup time, FPS, and memory consumption.

Game DevelopmentGenericsMixed Language
0 likes · 27 min read
Swift Native Mini‑Game Development in the Same‑City App: Architecture, Mixed‑Language Integration, and Performance Optimizations
Sohu Tech Products
Sohu Tech Products
Mar 16, 2022 · Mobile Development

Exploring the OC Message Sending Mechanism

This article provides an in‑depth analysis of Objective‑C's runtime message‑sending process, covering the roles of objc_msgSend, method caching, dynamic method resolution, and message forwarding, with detailed code examples and assembly snippets to illustrate each step.

Dynamic Method ResolutionMessage DispatchMessage Forwarding
0 likes · 26 min read
Exploring the OC Message Sending Mechanism
ByteDance Terminal Technology
ByteDance Terminal Technology
Mar 15, 2022 · Mobile Development

Understanding Fixup Chain: Apple’s New Dynamic Linking Technique in iOS 15

Fixup chain, introduced in iOS 15, replaces the previous compressed‑byte‑stream rebase/bind format with a linked‑list style structure that stores dynamic‑link information more compactly, improves space locality, reduces binary size, and speeds up app launch by allowing a single pass rebase and bind process.

BINDMach-Odynamic linking
0 likes · 31 min read
Understanding Fixup Chain: Apple’s New Dynamic Linking Technique in iOS 15
Sohu Tech Products
Sohu Tech Products
Mar 9, 2022 · Mobile Development

How GPUImage2’s Pipeline Works: Inside the Swift Image‑Processing Engine

This article provides a detailed technical analysis of GPUImage2’s pipeline architecture, explaining the core concepts, operator overloads, internal relationships such as TargetContainer and SourceContainer, framebuffer management, OpenGL ES integration, and thread‑dispatch mechanisms, all illustrated with Swift code examples and diagrams.

FramebufferGPUImage2ImageProcessing
0 likes · 24 min read
How GPUImage2’s Pipeline Works: Inside the Swift Image‑Processing Engine
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 7, 2022 · Mobile Development

How We Cut a 420 MB iOS App to 330 MB: Real‑World Package Size Optimization

This article details the systematic analysis and practical techniques—resource cleaning, Asset Catalog migration, compression, cloud migration, unused‑code removal, library trimming, and compiler flags—that reduced the Cloud Music iOS client’s install size by 87 MB and download size by 65 MB, while establishing safeguards against future bloat.

Mobile DevelopmentResource Compressionapp size optimization
0 likes · 22 min read
How We Cut a 420 MB iOS App to 330 MB: Real‑World Package Size Optimization
GrowingIO Tech Team
GrowingIO Tech Team
Mar 3, 2022 · Mobile Development

Unveiling iOS AutoreleasePool Changes: TLS Magic and Compiler Optimizations

This article explores the evolution of the iOS main.m AutoreleasePool since Xcode 11, explains how Thread‑Local Storage and compiler optimizations like tail‑call elimination affect object lifetimes, and demonstrates practical code examples and assembly insights for developers seeking deeper memory‑management understanding.

AutoreleasePoolCompiler OptimizationTail Call Elimination
0 likes · 14 min read
Unveiling iOS AutoreleasePool Changes: TLS Magic and Compiler Optimizations
Sohu Tech Products
Sohu Tech Products
Mar 2, 2022 · Mobile Development

Overview of iOS Live Streaming Workflow

This article provides a comprehensive overview of the iOS live‑streaming workflow, detailing the six stages—capture, processing, encoding, packaging, network transmission, and playback—along with sample code for video/audio capture, encoding settings, and RTMP transmission.

AVFoundationMobile DevelopmentRTMP
0 likes · 18 min read
Overview of iOS Live Streaming Workflow
BaiPing Technology
BaiPing Technology
Feb 28, 2022 · Mobile Development

How to Build a Unified Cross‑Platform Routing SDK for iOS Apps

This article explains the design and implementation of a unified routing SDK for iOS that enables page jumps, parameter passing, return values, interceptors, redirection, and cross‑technology integration (Native, Flutter, HTML5, Mini‑Programs) while remaining non‑intrusive to existing codebases.

Objective‑CSDKSwift
0 likes · 22 min read
How to Build a Unified Cross‑Platform Routing SDK for iOS Apps
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 24, 2022 · Mobile Development

Exploring ByteDance's iOS Automation Testing Driver Tool BDC: Architecture, Features, and Implementation

This article details the background, functional capabilities, development journey, technical architecture, and deployment experience of ByteDance's iOS automation testing driver tool BDC, illustrating how it automates device interaction, app management, UI control, and large‑scale testing on both macOS and Linux environments.

DockerUI Interactionautomation testing
0 likes · 13 min read
Exploring ByteDance's iOS Automation Testing Driver Tool BDC: Architecture, Features, and Implementation
WeChat Client Technology Team
WeChat Client Technology Team
Feb 22, 2022 · Mobile Development

How iOS WeChat Supercharged Search with SQLite FTS5 and Custom Tokenizers

This article details the 2021 overhaul of iOS WeChat's full‑text search, covering engine selection, segment‑merge optimization, a new VerbatimTokenizer, multi‑level separator support, table schema choices, asynchronous index updates, and extensive performance gains across chat, contacts, and favorites.

FTS5Full‑Text SearchPerformance Optimization
0 likes · 27 min read
How iOS WeChat Supercharged Search with SQLite FTS5 and Custom Tokenizers
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 15, 2022 · Operations

Distributed Compilation and Build Caching for Large iOS Projects

This article explains how ByteDance's distributed compilation and build caching solution dramatically reduces compile times for large iOS projects by analyzing dependency bottlenecks, employing distributed builds, caching mechanisms, and various optimization techniques such as inverted indexes and cross-task caches.

Dependency AnalysisDevOpsiOS
0 likes · 16 min read
Distributed Compilation and Build Caching for Large iOS Projects
BaiPing Technology
BaiPing Technology
Feb 14, 2022 · Mobile Development

How to Make Long‑TCP Connections as Simple as Short Requests on iOS

This article explains a technique for writing long‑TCP connection business code on mobile devices that is as efficient and concise as short‑link code, using request_id mapping, protobuf messages, and a lightweight SendCore layer with timeout handling.

Mobile NetworkingObjective‑CRequest ID
0 likes · 10 min read
How to Make Long‑TCP Connections as Simple as Short Requests on iOS
IT Services Circle
IT Services Circle
Feb 13, 2022 · Information Security

How to Reset a Forgotten iPhone Lock Screen Password via Remote Erase (iOS 15.2+ and Earlier Versions)

This guide explains how to unlock an iPhone that is locked due to a forgotten or repeatedly mistyped screen password by using the built‑in remote‑erase feature in iOS 15.2 and later, and provides step‑by‑step recovery‑mode instructions for earlier iOS versions, while warning about data loss.

data backupiOSiPhone
0 likes · 5 min read
How to Reset a Forgotten iPhone Lock Screen Password via Remote Erase (iOS 15.2+ and Earlier Versions)
Sohu Tech Products
Sohu Tech Products
Jan 26, 2022 · Mobile Development

Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C

This article documents a runtime crash triggered by mutating an NSMutableSet while enumerating it, explains how the Objective‑C copy attribute works, demonstrates shallow and deep copy behavior for strings and collections, and provides low‑level source analysis of the copy implementation in the Apple runtime.

CrashDeepCopyMutableSet
0 likes · 14 min read
Crash Caused by Mutating a Collection During Enumeration and the Mechanics of copy vs mutableCopy in Objective‑C
Python Programming Learning Circle
Python Programming Learning Circle
Jan 15, 2022 · Mobile Development

Python Script for Generating iOS and Android App Icons and Screenshots

This article introduces a Python 2.7 script that automates the creation of iOS and Android app icons and screenshots, detailing required environments, usage commands, code explanation, and platform-specific considerations such as icon sizes, rounding for Android, and handling of portrait and landscape images.

AndroidAutomationMobile Development
0 likes · 7 min read
Python Script for Generating iOS and Android App Icons and Screenshots
转转QA
转转QA
Jan 12, 2022 · Mobile Development

UI Automation Element Locating for Android and iOS Using WEditor and Appium

This guide explains how to set up and use WEditor for Android and tidevice/Appium for iOS to locate UI elements efficiently, covering prerequisite tools, installation commands, step‑by‑step connection procedures, error handling, and best‑practice strategies for reliable mobile UI automation.

AndroidAppiumElement Locating
0 likes · 6 min read
UI Automation Element Locating for Android and iOS Using WEditor and Appium
ByteDance SE Lab
ByteDance SE Lab
Jan 7, 2022 · Mobile Development

Systematic iOS Stability Management: From Crash Classification to Advanced Attribution

This article presents a comprehensive framework for identifying, classifying, and resolving iOS stability issues—covering crash types, governance methodology, deep-dive attribution techniques, real-world case studies, and practical tools such as Zombie monitoring, Coredump, MemoryGraph, and MetricKit—to dramatically improve app reliability.

APMPerformance Monitoringcrash analysis
0 likes · 30 min read
Systematic iOS Stability Management: From Crash Classification to Advanced Attribution
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 5, 2022 · Mobile Development

How Switching to Swift Boosted Our Mobile App’s Performance and Stability

This article explains why the Taobao mobile team migrated the product review list from Objective‑C to Swift, outlines Swift’s three main advantages—speed, safety, and expressiveness—shows concrete design‑pattern implementations, discusses the challenges faced during migration, and quantifies the resulting gains in code size, review efficiency, and crash reduction.

SafetySwiftcode migration
0 likes · 28 min read
How Switching to Swift Boosted Our Mobile App’s Performance and Stability
BaiPing Technology
BaiPing Technology
Jan 3, 2022 · Mobile Development

Mastering iOS App Clips: From Concept to Code

This guide explains what App Clips are, their capabilities and limitations, how users discover them, and provides a step‑by‑step tutorial for creating, configuring, coding, testing, and publishing an App Clip within an iOS project, including code snippets and deployment tips.

App ClipApp Store ConnectSwiftUI
0 likes · 15 min read
Mastering iOS App Clips: From Concept to Code
ByteDance SE Lab
ByteDance SE Lab
Dec 31, 2021 · Mobile Development

How to Slash iOS App Startup Time: Strategies from the Watermelon App

This article details the Watermelon iOS app's comprehensive startup optimization, covering launch phase definitions, metric design, task scheduling, code instrumentation, thread management, rendering and network improvements, as well as monitoring and anti‑regression measures to consistently reduce launch latency.

iOSnetwork optimizationstartup optimization
0 likes · 24 min read
How to Slash iOS App Startup Time: Strategies from the Watermelon App
58 Tech
58 Tech
Dec 31, 2021 · Mobile Development

Swift and Objective‑C Mixed Development in 58 Group’s Real‑Estate Business: Architecture, Module Integration, and Reflection Issues

This article details the background, current status, and engineering architecture of introducing Swift into 58 Group’s real‑estate iOS apps, explains the two main mixed‑compilation approaches (bridging header and module), presents practical module setup, discusses reflection pitfalls, binding solutions, and performance comparisons between Swift and Objective‑C implementations.

Mixed DevelopmentObjective‑CReflection
0 likes · 21 min read
Swift and Objective‑C Mixed Development in 58 Group’s Real‑Estate Business: Architecture, Module Integration, and Reflection Issues
Xianyu Technology
Xianyu Technology
Dec 28, 2021 · Mobile Development

Optimizing Flutter Engine for 120 Hz on iPhone 13 – Internship Experience

During a three‑month internship at Xianyu, senior software engineering student Wen Jingrui (Mu Chen) tackled Flutter Engine limitations on the iPhone 13’s 120 Hz display, debugging iOS frame‑callback code to enable smooth rendering, fixing keyboard‑animation bugs, and contributing video and image editor features, ultimately earning a full‑time offer.

Flutterengine optimizationhigh refresh rate
0 likes · 5 min read
Optimizing Flutter Engine for 120 Hz on iPhone 13 – Internship Experience
JD Retail Technology
JD Retail Technology
Dec 27, 2021 · Mobile Development

Understanding the Underlying Implementation of @synchronized in iOS

This article explains how the @synchronized directive works in iOS as a recursive mutex, demonstrates its usage with code examples, and delves into the low‑level implementation involving objc_sync_enter, objc_sync_exit, id2data, and the associated caching mechanisms.

SynchronizationiOSobjc_sync_enter
0 likes · 8 min read
Understanding the Underlying Implementation of @synchronized in iOS
360 Quality & Efficiency
360 Quality & Efficiency
Dec 24, 2021 · Mobile Development

Comparison of iOS Video Streaming Solutions for Remote Control

This article evaluates three iOS video streaming approaches—WebDriverAgent MJPEG, Apple ReplayKit, and QuickTime‑based QVH—by implementing prototypes, measuring latency, stability, and functionality, and presenting a detailed performance comparison to guide remote‑control applications.

QuickTimeReplayKitVideo Streaming
0 likes · 6 min read
Comparison of iOS Video Streaming Solutions for Remote Control
DeWu Technology
DeWu Technology
Dec 23, 2021 · Mobile Development

iOS Lag Monitoring and Performance Optimization Using RunLoop and Flame Graphs

The article describes an iOS lag‑monitoring system that detects main‑thread RunLoop blocks, samples stacks every 50 ms into a circular buffer, uses an annealing Fibonacci‑based interval to minimize overhead, visualizes hot paths with flame graphs, and streams data through a Flink‑APM pipeline with only ~2 % CPU and a few megabytes of memory impact.

Lag MonitoringRunLoopflame graph
0 likes · 12 min read
iOS Lag Monitoring and Performance Optimization Using RunLoop and Flame Graphs
Kuaishou Tech
Kuaishou Tech
Dec 22, 2021 · Mobile Development

Swift Performance Optimization: Compilation Speed, Memory Usage, and Runtime Improvements

This article examines various Swift performance optimization techniques—including compilation speed improvements, memory allocation strategies, struct versus class trade‑offs, enum usage, collection handling, lazy sequences, bridge reduction, and function dispatch—providing practical code examples and analysis to help developers write faster, more efficient Swift code.

CollectionsCompilationEnums
0 likes · 16 min read
Swift Performance Optimization: Compilation Speed, Memory Usage, and Runtime Improvements
Laravel Tech Community
Laravel Tech Community
Dec 20, 2021 · Mobile Development

One‑Click Mobile Number Login and Verification Services from China Mobile, China Telecom, and China Unicom

The article provides a detailed overview of one‑click mobile number login and verification services offered by China Mobile, China Telecom, and China Unicom, describing their SDK capabilities, network requirements, caching mechanisms, and typical use cases for mobile and web applications.

AndroidMobile AuthenticationSDK
0 likes · 10 min read
One‑Click Mobile Number Login and Verification Services from China Mobile, China Telecom, and China Unicom
Java Architect Essentials
Java Architect Essentials
Dec 17, 2021 · Mobile Development

One-Click Mobile Number Login and Verification Services from China Mobile, China Telecom, and China Unicom

The article explains how China Mobile, China Telecom, and China Unicom provide one‑click mobile number login and verification services, detailing SDK capabilities, required network conditions, token acquisition methods, and security considerations for iOS, Android, H5, and mini‑program integrations.

AndroidAuthenticationSDK
0 likes · 12 min read
One-Click Mobile Number Login and Verification Services from China Mobile, China Telecom, and China Unicom
Beike Product & Technology
Beike Product & Technology
Dec 17, 2021 · Mobile Development

iOS App Package Size Optimization: Strategies, Tools, and Best Practices

This article presents a comprehensive guide to reducing iOS app package size by analyzing download and install sizes, applying binary and resource optimizations, removing unused code and SDKs, leveraging image cloudization, and establishing standards to achieve sustainable shrinkage while maintaining performance and developer productivity.

App Size ReductionBinary OptimizationiOS
0 likes · 15 min read
iOS App Package Size Optimization: Strategies, Tools, and Best Practices
ByteDance SE Lab
ByteDance SE Lab
Dec 17, 2021 · Mobile Development

Douyin's Metric‑Driven Optimization: Boosting Creation Experience and Performance

This article details Douyin's systematic approach to improving creation experience by defining measurable goals, building a comprehensive metric system, performing relevance analysis, and implementing concrete Android and iOS performance optimizations—including album loading, component architecture, and small‑screen video quality—while outlining monitoring, tooling, and internal platform support that together deliver significant user‑facing gains.

AndroidMetricsPerformance Optimization
0 likes · 24 min read
Douyin's Metric‑Driven Optimization: Boosting Creation Experience and Performance
Laravel Tech Community
Laravel Tech Community
Dec 16, 2021 · Mobile Development

Programming Languages for Mobile Apps: Native and Cross‑Platform Options

This article explains the programming languages used for Android and iOS apps, compares native languages such as Java, Kotlin, Swift, and Objective‑C with cross‑platform solutions like Flutter (Dart) and uni‑app (Vue.js), and summarizes the typical language stacks for large‑scale mobile applications.

AndroidFlutterMobile Development
0 likes · 5 min read
Programming Languages for Mobile Apps: Native and Cross‑Platform Options
Sohu Tech Products
Sohu Tech Products
Dec 15, 2021 · Mobile Development

iOS Virtual Location Techniques and Detection Methods

This article explains the various ways to simulate GPS location on iOS devices—including Xcode GPX files, iTools, external Bluetooth accessories, and jailbreak hooks—while also detailing practical detection strategies such as altitude checks, type inspection, callback analysis, and method‑swizzling to identify fake positioning.

SecurityiOSlocation simulation
0 likes · 16 min read
iOS Virtual Location Techniques and Detection Methods
Alibaba Terminal Technology
Alibaba Terminal Technology
Dec 13, 2021 · Mobile Development

How Hema Achieved TikTok‑Level Short‑Video Playback Speed on iOS

To align Hema’s app short‑video experience with leading platforms like Douyin, the team introduced a proxy‑based caching layer, pre‑loading mechanisms, m3u8 handling, bitrate and resolution optimizations, dual‑player strategies, and audio controls, resulting in significantly reduced playback latency and smoother user interaction across iOS devices.

Mobile DevelopmentPerformance Optimizationcaching
0 likes · 14 min read
How Hema Achieved TikTok‑Level Short‑Video Playback Speed on iOS
Beike Product & Technology
Beike Product & Technology
Dec 10, 2021 · Mobile Development

Beike's Flutter Integration Scheme for iOS and Android: Hybrid, Source and Binary Modes

This article details Beike's comprehensive Flutter integration approach for existing iOS and Android projects, covering official module templates, the challenges of the native integration process, and the company's source‑code and binary‑mode solutions that streamline podspec configuration, plugin handling, SDK automation, flavor support, and build efficiency.

CocoaPodsFlutterGradle
0 likes · 21 min read
Beike's Flutter Integration Scheme for iOS and Android: Hybrid, Source and Binary Modes
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Dec 9, 2021 · Mobile Development

Dynamic Development Mode ARK for iOS: Reducing Build Time and Improving Efficiency

The article introduces ARK, a dynamic development mode for iOS that replaces traditional CocoaPods‑Xcode workflows with a lightweight 2 MB repository and real‑time library conversion, dramatically cutting pod install and compile times, improving build success, and enabling fast, component‑focused development using ByteDance’s MBox tool.

ARKBuild OptimizationCocoaPods
0 likes · 10 min read
Dynamic Development Mode ARK for iOS: Reducing Build Time and Improving Efficiency
Sohu Tech Products
Sohu Tech Products
Dec 8, 2021 · Mobile Development

Understanding UIKIT_EXTERN and Macro Usage in iOS Development

This article explains the purpose, syntax, and underlying principles of UIKIT_EXTERN and related macros such as extern, static, and const in iOS, demonstrates how __attribute__ and visibility modifiers affect symbol linkage, and outlines practical scenarios and extensions for safer, more efficient code across dynamic libraries.

MacrosUIKIT_EXTERNconst
0 likes · 11 min read
Understanding UIKIT_EXTERN and Macro Usage in iOS Development
FunTester
FunTester
Dec 8, 2021 · Operations

How to Proxy iPhone/iPad Traffic Through Fiddler for HTTP & HTTPS Debugging

This guide walks you through enabling remote connections in Fiddler, configuring Windows firewall, setting up an iPhone/iPad proxy, capturing HTTP traffic, decrypting HTTPS by installing a trusted certificate, and suppressing server‑verification warnings for seamless mobile web debugging.

FiddlerHTTP debuggingHTTPS decryption
0 likes · 6 min read
How to Proxy iPhone/iPad Traffic Through Fiddler for HTTP & HTTPS Debugging
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Dec 8, 2021 · Mobile Development

How to Accurately Measure Real‑Time Audio/Video Performance on Mobile Devices

This article explains why traditional CPU usage metrics are unreliable for real‑time audio/video apps, introduces essential performance indicators, reviews native and third‑party analysis tools for iOS and Android, and proposes power‑consumption‑based evaluation methods with practical testing guidelines.

AndroidMobilePerformance Testing
0 likes · 15 min read
How to Accurately Measure Real‑Time Audio/Video Performance on Mobile Devices
Meituan Technology Team
Meituan Technology Team
Nov 25, 2021 · Information Security

Analysis of Apple FairPlay DRM: Architecture, Obfuscation Techniques, and Weaknesses

The article dissects Apple’s FairPlay DRM, detailing its kernel‑driver and daemon decryption workflow, the LC_ENCRYPTION_INFO metadata, per‑user licensing files, LLVM‑level obfuscation techniques such as opaque predicates and control‑flow flattening, and the identified weaknesses that enable reverse‑engineering and key extraction.

DRMFairPlayObfuscation
0 likes · 18 min read
Analysis of Apple FairPlay DRM: Architecture, Obfuscation Techniques, and Weaknesses
Sohu Tech Products
Sohu Tech Products
Nov 24, 2021 · Mobile Development

Comprehensive Guide to iOS UI Automation Testing with XCUITest, Appium, and Macaca

This article provides a detailed overview of iOS UI automation testing, covering XCUITest fundamentals, Accessibility considerations, sample Swift code, manual and recorded test case creation, command‑line toolchains, Web Service‑based architecture, and a comparison of Appium and Macaca for building scalable, CI‑integrated mobile testing platforms.

AppiumMacacaUI automation
0 likes · 24 min read
Comprehensive Guide to iOS UI Automation Testing with XCUITest, Appium, and Macaca
Sohu Tech Products
Sohu Tech Products
Nov 24, 2021 · Mobile Development

Using NavigationView and NavigationLink in SwiftUI: Basics, Customizations, and Advanced Techniques

This article explains how to use SwiftUI's NavigationView and NavigationLink for page navigation, covering basic setup, title bar customization, hiding the navigation bar, programmatic back actions, button style adjustments, advanced gestures, the isActive parameter, and dynamic navigation link generation for iOS apps.

Mobile DevelopmentNavigationLinkNavigationView
0 likes · 16 min read
Using NavigationView and NavigationLink in SwiftUI: Basics, Customizations, and Advanced Techniques
ByteDance Terminal Technology
ByteDance Terminal Technology
Nov 24, 2021 · Mobile Development

Systematic iOS Stability Issue Management: Classification, Methodology, and Root‑Cause Attribution

This article presents a comprehensive guide on systematically managing iOS stability problems, covering issue classification, a governance methodology, detailed root‑cause analysis for crashes, watchdogs, OOM, CPU and disk I/O anomalies, and practical tools and case studies from ByteDance’s APM platform.

APMMobile DevelopmentPerformance Monitoring
0 likes · 27 min read
Systematic iOS Stability Issue Management: Classification, Methodology, and Root‑Cause Attribution
DeWu Technology
DeWu Technology
Nov 23, 2021 · Mobile Development

iOS Lag Monitoring and Performance Optimization Using Runloop Detection and Flame Graphs

The article describes an iOS lag‑monitoring system that uses RunLoop state checks to detect main‑thread stalls, captures and caches stack traces, employs a Fibonacci‑based annealing algorithm to limit overhead, symbolises addresses on a server, and visualises results with flame graphs while maintaining low CPU and memory impact.

Lag MonitoringRunLoopflame graph
0 likes · 13 min read
iOS Lag Monitoring and Performance Optimization Using Runloop Detection and Flame Graphs
Youzan Coder
Youzan Coder
Nov 23, 2021 · Mobile Development

Optimizing Mobile Barcode Scanning Performance: From ZXing Tuning to Deep Learning‑Based Barcode Region Detection

By profiling the Youzan app’s ZXing pipeline, eliminating costly image rotation and format conversions, restricting decoding to the two most common 1‑D types, and adding a lightweight deep‑learning barcode‑region detector, scan latency fell from 4.1 s to 1.5 s and success rose from 91 % to 97 %.

Barcode ScanningDeep LearningMobile Optimization
0 likes · 15 min read
Optimizing Mobile Barcode Scanning Performance: From ZXing Tuning to Deep Learning‑Based Barcode Region Detection
Youzan Coder
Youzan Coder
Nov 19, 2021 · Mobile Development

Mastering iOS Symbolication: From Crash Logs to Source Code

This article explains the concept, principles, and practical steps of iOS symbolication, covering crash log processing, address translation, ASLR handling, function‑start and nlist tables, DWARF debugging information, and essential Xcode command‑line tools for accurate source‑level debugging.

ASLRDWARFDebugging
0 likes · 32 min read
Mastering iOS Symbolication: From Crash Logs to Source Code
Sohu Tech Products
Sohu Tech Products
Nov 17, 2021 · Mobile Development

KVO Mechanism Analysis for iOS Development

This article provides a comprehensive analysis of iOS's Key-Value Observing (KVO) mechanism, covering its fundamentals, registration and observation steps, underlying isa‑swizzling implementation, usage patterns, common pitfalls, debugging techniques, and alternative solutions such as custom KVO implementations and the KVOController library.

KVOKey-Value ObservingMobile Development
0 likes · 19 min read
KVO Mechanism Analysis for iOS Development
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Nov 16, 2021 · Mobile Development

Integrating Faceunity Beauty SDK with NERtc on Android and iOS

This guide explains the core concepts, integration steps, and troubleshooting tips for using the Faceunity (相芯) Beauty SDK with NetEase NERtc on Android and iOS, covering OpenGL ES basics, EGL/EAGL interfaces, three rendering schemes, resource management, and platform‑specific setup.

AndroidMobile DevelopmentNERtc
0 likes · 13 min read
Integrating Faceunity Beauty SDK with NERtc on Android and iOS
Tencent Music Tech Team
Tencent Music Tech Team
Nov 13, 2021 · Mobile Development

iOS Page Display and Logic: MVC Design Pattern and ViewController Management

The article explains how iOS uses the MVC pattern and ViewController hierarchy—distinguishing content and container controllers such as UINavigationController—to manage page display, navigation stacks, custom transitions, state restoration, and memory handling, enabling complex multi‑level navigation and functional implementation.

MVCUINavigationControllerViewController
0 likes · 9 min read
iOS Page Display and Logic: MVC Design Pattern and ViewController Management
DeWu Technology
DeWu Technology
Nov 12, 2021 · Mobile Development

Detecting and Fixing iOS Memory Leaks with Object‑Graph Scanning

This article explains why iOS memory leaks become critical as apps grow, introduces five representative leak models, details a production‑ready object‑graph scanning solution with custom data structures and a non‑recursive DFS algorithm, and evaluates its performance impact and mitigation strategies.

DetectionalgorithmiOS
0 likes · 13 min read
Detecting and Fixing iOS Memory Leaks with Object‑Graph Scanning
Ctrip Technology
Ctrip Technology
Nov 11, 2021 · Information Security

Mobile App Security Hardening: Risks, Detection Techniques, and Protection Strategies

This article examines the security challenges faced by mobile applications, outlines static, dynamic, and business‑level attack vectors, and presents comprehensive hardening techniques—including environment detection, data collection, code and algorithm obfuscation, and virtual‑machine protection—illustrated with iOS‑specific examples and code snippets.

Mobile Securityapp hardeningcode obfuscation
0 likes · 13 min read
Mobile App Security Hardening: Risks, Detection Techniques, and Protection Strategies
Sohu Tech Products
Sohu Tech Products
Nov 10, 2021 · Mobile Development

Implementing Event Tracking (埋点) in iOS Clients: Concepts, Approaches, and Code Samples

This article explains the fundamentals of event tracking in iOS apps, compares server‑side and client‑side tracking, details three implementation strategies (code‑based, non‑intrusive, and visual), introduces a data classification scheme, and provides Swift code examples—including enums, protocols, a chain‑based data‑passing mechanism, and runtime method‑hooking techniques—while also discussing practical challenges and best‑practice recommendations.

Method SwizzlingSwiftdata-passing
0 likes · 22 min read
Implementing Event Tracking (埋点) in iOS Clients: Concepts, Approaches, and Code Samples
Beike Product & Technology
Beike Product & Technology
Nov 5, 2021 · Mobile Development

Practical Guide to Detecting Circular References in iOS Applications

This article explains the fundamentals of iOS memory management, describes common memory‑leak scenarios such as circular references, introduces detection tools like MLeaksFinder and FBRetainCycleDetector, and provides concrete code examples and best‑practice techniques for preventing and fixing retain cycles in production apps.

FBRetainCycleDetectorMLeaksFindercircular reference
0 likes · 14 min read
Practical Guide to Detecting Circular References in iOS Applications
Sohu Tech Products
Sohu Tech Products
Nov 4, 2021 · Mobile Development

Comprehensive Guide to iOS UI Automation Testing with XCUITest, Appium, and Web Service Architecture

This article provides a detailed overview of iOS UI automation testing, covering XCUITest fundamentals, accessibility considerations, code examples, manual and recorded test case creation, command‑line toolchains, Web Service‑based architecture, and a comparison of Appium and Macaca for building scalable, cross‑platform mobile testing platforms.

AppiumUI automationXCUITest
0 likes · 27 min read
Comprehensive Guide to iOS UI Automation Testing with XCUITest, Appium, and Web Service Architecture
Sohu Tech Products
Sohu Tech Products
Nov 4, 2021 · Mobile Development

Understanding Xcode Project Files and the Xcodeproj Ruby Library

This article explains the structure of Xcode workspace and project bundles, the role of the project.pbxproj file and its Property List format, how Xcodeproj maps these objects in Ruby, and demonstrates practical code for adding files and dependencies to an Xcode project.

RubyXcodeXcodeproj
0 likes · 20 min read
Understanding Xcode Project Files and the Xcodeproj Ruby Library
ByteDance SE Lab
ByteDance SE Lab
Oct 29, 2021 · Mobile Development

Mastering iOS App Startup: Real‑World Monitoring and Optimization Techniques

This article walks through practical iOS startup optimization, covering monitoring strategies, non‑intrusive instrumentation, development‑stage testing, essential tools like Time Profiler and System Trace, and a comprehensive set of best‑practice tactics to shrink launch time and maintain performance.

InstrumentationPerformance MonitoringiOS
0 likes · 28 min read
Mastering iOS App Startup: Real‑World Monitoring and Optimization Techniques
Baidu Geek Talk
Baidu Geek Talk
Oct 27, 2021 · Mobile Development

Applying Flux Architecture to iOS Video Editing: Plugin‑Based Design and Event Management

The article explains how an iOS video‑editing app adopts a Flux‑style, single‑direction data flow by extracting a shared playback controller and encapsulating features as weak‑referenced plugins that register with a central dispatcher, enabling predictable state management and extensible, decoupled UI interactions.

Event ManagementFluxarchitecture
0 likes · 13 min read
Applying Flux Architecture to iOS Video Editing: Plugin‑Based Design and Event Management
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Oct 27, 2021 · Fundamentals

Understanding ld64 Static Linking in iOS: Architecture, Symbol Processing, and Optimization

This article provides an in‑depth technical overview of the ld64 static linker used in iOS builds, explaining its architecture, how it parses .o, .a and .dylib files, manages symbols, atoms and fixups, resolves undefined references, performs dead‑code stripping, and generates the final executable.

LinkerStatic Linkingdead strip
0 likes · 30 min read
Understanding ld64 Static Linking in iOS: Architecture, Symbol Processing, and Optimization
58 Tech
58 Tech
Oct 26, 2021 · Mobile Development

Swift and Objective‑C Interoperability: Moduleization and Mixed‑Language Integration Practices at 58.com

This article details 58.com’s Swift migration initiative, describing the background of Swift adoption, the objectives of the mixed‑language project, the practical steps for SDK module‑ization, bridging techniques, nullability annotations, macro handling, +load replacements, and future plans for improving Objective‑C to Swift integration.

InteropObjective‑CSDK
0 likes · 29 min read
Swift and Objective‑C Interoperability: Moduleization and Mixed‑Language Integration Practices at 58.com
Baidu Geek Talk
Baidu Geek Talk
Oct 25, 2021 · Mobile Development

How to Decode iOS Crash Logs: From dSYM Files to Online Symbolication

This article explains what symbolication is, how to generate and match dSYM files, perform local symbolication with Xcode or the symbolicatecrash tool, extract system library symbols from devices or firmware, and implement fast online symbolication for massive iOS crash logs.

Mobile Developmentcrash analysisdSYM
0 likes · 23 min read
How to Decode iOS Crash Logs: From dSYM Files to Online Symbolication