Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Mobile Development

15 min read

Unlocking the Secrets of Objective‑C Blocks: From Syntax to Runtime Mechanics

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.

30 min read

Unlock Scalable iOS Plugins: Inside ZHPluginSDK’s Architecture and Message System

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.

14 min read

Mastering iOS Live Activities: From Setup to Real‑Time Updates

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.

14 min read

Tencent Game Live SDK: 100% Code Reuse Across Android, iOS, HarmonyOS via Kuikly

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.

9 min read

Essential Mobile App Performance Metrics and Benchmarks

This guide outlines comprehensive performance indicators for Android and iOS apps—including startup time, page load speed, responsiveness, resource consumption, stability, network efficiency, interaction quality, background task handling, installation, compatibility, security, and low‑end device adaptation—providing industry‑standard thresholds for each metric.

11 min read

Master Android IPC: Services, AIDL, Intents, Broadcasts, Messenger, FileProvider

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.

13 min read

Bridge Native Threads to ArkTS in HarmonyOS with Node‑API Thread‑Safe Functions

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.

8 min read

Unlocking 50% Faster JD Mini‑Programs on HarmonyOS with Cangjie

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.

14 min read

How Skyline Rendering Engine Boosts WeChat Mini Program Performance

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.