This article demystifies Objective‑C blocks by explaining their definition, practical uses, syntax variations, common usage scenarios, underlying data structures and compilation process, copy semantics, variable capture rules, reference‑cycle pitfalls, and provides concise code examples and reference links for iOS developers.
This comprehensive guide explains iOS symbolication, covering what it is, its levels, why it matters, how to parse crash logs, the required crash and dSYM files, and step‑by‑step usage of the symbolicatecrash and atos tools to translate hexadecimal addresses into human‑readable source locations.
This article introduces ZHPluginSDK, a powerful Swift‑based plugin framework that supports type‑safe registration, flexible message dispatch, multi‑container composition, synchronous messaging, and environment variables, providing a comprehensive guide with architecture diagrams, feature lists, and extensive code examples for mobile developers.
This article details the comprehensive redesign of a mobile video‑editing page, covering background challenges, requirement analysis, MVVM + UDF architectural choices, module decomposition, dependency‑injection implementation, and the design of a robust Redo/Undo system to improve maintainability and user experience.
This article explains why Android only supports Vector drawables, explores how to load and render SVG files using AndroidSVG, Glide, and PathView, discusses custom SvgDrawable attempts, introduces iconfont for vector icons, and provides a comprehensive comparison of Android vector graphic solutions.
This guide walks you through Apple’s Live Activity feature introduced at WWDC22, covering the required ActivityKit framework, project configuration for Objective‑C/Swift mixed or pure Swift apps, data modeling, creation, updating, ending, push‑token handling, server‑side push payloads, permission checks, and common pitfalls such as network‑image restrictions.
This article explains how a self‑calibration system embeds markers in iOS rich‑text content, enabling a single pass to identify mentions, topics, and links, and shows how NSMutableAttributedString and YYKit’s custom attribute keys are used to store and parse these special elements efficiently.
Tencent's game esports live streaming SDK adapted to HarmonyOS using the Kuikly cross-platform framework, achieving 100% business code reuse across Android, iOS, and HarmonyOS while supporting multiple game apps, saving over 50% development effort through modular architecture, Schema-based feature routing, and atomic infrastructure design.
This guide explores Android's inter‑process communication options—running services in separate processes, defining AIDL interfaces, using explicit and implicit Intents, BroadcastReceiver, Messenger, FileProvider, and ContentProvider—detailing configuration, code examples, and when to choose each method for efficient, secure component interaction.
This article walks through implementing sophisticated like-button animations for a news client on HarmonyOS using ArkUI, compares the approach with Android's animation framework, explains key ArkUI APIs like animateTo, and provides detailed Kotlin and TypeScript code for property and Bezier curve animations.
This article explains the relationship between locks and multithreading on iOS, introduces various lock types such as NSRecursiveLock, NSConditionLock, OSSpinLock, os_unfair_lock, pthread_mutex, and @synchronized, demonstrates resource contention with code examples, and compares their performance and usage scenarios.
Google announced that it will combine Android and ChromeOS into a single platform, aiming to unify ecosystems, boost app performance, and create seamless cross‑device experiences, while facing architectural and user‑experience challenges that could reshape the future of personal computing.
This article explains how Android handles SVG-like vector graphics using VectorDrawable and AnimatedVectorDrawable, covering their XML structures, supported tags, code examples, conversion from SVG, usage in layouts, and a detailed source code walkthrough of rendering and animation processes.
This article explains how to use Node‑API’s thread‑safe functions to asynchronously relay native file upload progress, completion, and error callbacks from native C/C++ threads to ArkTS JavaScript on HarmonyOS, covering API definitions, event‑loop integration, and practical implementation details with code examples.
This article analyzes a driver‑side iOS 18 crash triggered by BackBoardServices calling exit, explains the underlying XPC and C++ destructor chain, explores failed hook and compiler‑flag workarounds, and presents a reliable atexit‑based solution that eliminates the crash on iOS 18 and later.
At the 2025 Huawei Developer Conference, JD’s mini‑program team demonstrated how integrating the Cangjie language into HarmonyOS mini‑programs can halve JS API execution time, reduce main‑thread load, and improve cold‑start performance by up to 20% across high‑frequency scenarios.
This article shares the JD developer’s experience at the 2025 Huawei Developer Conference, detailing how the Cangjie language and a dual‑thread architecture were used to analyze and optimize high‑frequency JS API calls in JD mini‑programs on HarmonyOS, achieving up to 50% faster execution and a 20% reduction in cold‑start time.
This article explains the architecture, core thread responsibilities, and performance enhancements of the Skyline rendering engine for WeChat Mini Programs, detailing version support, multi‑threaded design, custom routing, snapshot and lazy‑mount features, and provides practical code examples for developers.
Tencent announced that QQ will fully support running WeChat mini‑programs, enabling seamless cross‑platform usage for services like food delivery, ride‑hailing and shopping, while also boosting QQ's ecosystem and user experience amid declining mobile active users.