Tagged articles
34 articles
Page 1 of 1
AI Engineering
AI Engineering
Mar 18, 2026 · Mobile Development

XcodeBuildMCP: Let AI Automate iOS/macOS Development Like Web Coding

XcodeBuildMCP, an open‑source Sentry project, lets AI agents such as Cursor and ClaudeCode fully automate iOS/macOS development by handling Xcode build management, device selection, log capture and error handling, eliminating the manual verify‑compile‑test loop.

AI automationClaudeCodeCursor
0 likes · 3 min read
XcodeBuildMCP: Let AI Automate iOS/macOS Development Like Web Coding
WeiLi Technology Team
WeiLi Technology Team
Sep 1, 2025 · Artificial Intelligence

Unlock Local AI on iOS: A Hands‑On Guide to Apple’s Foundation Models Framework

This article introduces Apple’s Foundation Models framework, explaining its core features, system requirements, and step‑by‑step Swift code for importing the framework, checking model availability, creating sessions, handling generation options, guided output, tool calling, streaming responses, and maintaining conversational context for privacy‑preserving on‑device AI.

Apple IntelligenceLocal AISwift
0 likes · 17 min read
Unlock Local AI on iOS: A Hands‑On Guide to Apple’s Foundation Models Framework
Sohu Tech Products
Sohu Tech Products
Jan 22, 2025 · Mobile Development

A Comprehensive Guide to Swift Macros and SwiftSyntax Implementation

This guide explains Swift 5.9 macros—both attached and freestanding—detailing how the compiler expands them using SwiftSyntax’s AST manipulation, walks through creating and declaring macros, and demonstrates a PeerMacro that automatically generates async counterparts for completion‑handler functions, reducing boilerplate and improving code clarity.

Macro ExpansionSwift 5.9Swift Macros
0 likes · 29 min read
A Comprehensive Guide to Swift Macros and SwiftSyntax Implementation
Baidu App Technology
Baidu App Technology
Dec 25, 2024 · Mobile Development

iOS Disk Management and Cleanup Strategies for App Development

The article offers a comprehensive guide to iOS disk management for app developers, explaining the sandbox’s Documents, Library (Caches and Application Support) and tmp directories, proper storage practices, APIs for directory access, disk‑size calculation, iCloud backup exclusion, and both automatic and manual cleanup strategies including system cache handling.

Cache CleanupMobile Developmentdisk-management
0 likes · 22 min read
iOS Disk Management and Cleanup Strategies for App Development
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 LayoutMobile Development
0 likes · 8 min read
UIStackView Tutorial: A Comprehensive Guide to iOS Linear Layout
Baidu Geek Talk
Baidu Geek Talk
Dec 4, 2023 · Mobile Development

Compiler Optimization

The article details Baidu APP’s comprehensive compiler‑optimization strategy, including GCC‑Oz size reduction, Swift‑Osize with whole‑module optimization, link‑time optimization, symbol stripping, dead‑code removal, asset catalog compression, minimizing C++ virtual functions, slimming third‑party SDKs, dropping unused ARM architectures, Xcode 14 binary‑size tweaks, and eliminating built‑in Swift libraries by raising the minimum iOS version.

Code OptimizationCompiler OptimizationLTO
0 likes · 16 min read
Compiler Optimization
Sohu Tech Products
Sohu Tech Products
Nov 22, 2023 · Mobile Development

Implementing Audio Charts in SwiftUI for iOS Accessibility

This tutorial shows how to create a SwiftUI bar chart, define a DataPoint model, and enhance its accessibility by conforming to AXChartDescriptorRepresentable and applying the accessibilityChartDescriptor modifier, enabling iOS 15’s Audio Charts feature that conveys chart values through pitch‑varying VoiceOver tones.

AXChartDescriptorAudio ChartsMobile Development
0 likes · 9 min read
Implementing Audio Charts in SwiftUI for iOS Accessibility
Baidu Geek Talk
Baidu Geek Talk
Nov 15, 2023 · Mobile Development

Automated OC Code Refactoring Practice (Part 3): Data Item Read/Write Class Encapsulation and Call Site Adaptation

The third part of the series shows how Python scripts can automatically refactor Objective‑C code by encapsulating each data item’s read/write operations in static wrapper classes and rewriting over 600 call sites to use generated XXXSettingReader and XXXSettingWriter methods, achieving zero bugs.

Code RefactoringObjective‑CPython
0 likes · 11 min read
Automated OC Code Refactoring Practice (Part 3): Data Item Read/Write Class Encapsulation and Call Site Adaptation
JD Retail Technology
JD Retail Technology
Jun 16, 2023 · Mobile Development

What’s New in Xcode 15? A Deep Dive into the Latest Features

Xcode 15 beta, released on June 5 2023 for macOS 13.3+, introduces a suite of productivity‑boosting enhancements—including smarter code completion, asset‑catalog variables, centralized localization, revamped documentation, Swift macros, live previews, bookmark navigation, integrated source‑control, accelerated testing, OSLog‑based debugging, and refined distribution controls—aimed at making iOS/macOS development faster, smarter, more convenient, and more secure.

IDE FeaturesSwiftXcode 15
0 likes · 9 min read
What’s New in Xcode 15? A Deep Dive into the Latest Features
DeWu Technology
DeWu Technology
May 29, 2023 · Mobile Development

iOS WebView Crash Analysis and Solution

The article investigates a rapid increase in WebView crashes on iOS 4.9.x caused by a UIScrollView animation accessing a released object after an H5 page is dismissed, discovers the offending WKChildScrollView delegate (WKScrollingNodeScrollViewDelegate), and resolves the issue by nullifying that delegate in the view’s deallocation, supplementing earlier gesture‑disable workarounds.

Technical SolutionWebKitWebView
0 likes · 16 min read
iOS WebView Crash Analysis and Solution
Tencent Cloud Developer
Tencent Cloud Developer
Feb 20, 2023 · Mobile Development

iOS WeChat Full-Text Search Technology Upgrade: Selection and Optimization

iOS WeChat’s full‑text search was upgraded by selecting SQLite FTS5, creating a VerbatimTokenizer with multi‑level delimiter support, optimizing table formats to cut index size by 30 %, improving batch index updates and parallel search logic, resulting in 40‑60 % faster query latency.

Database OptimizationFull‑Text SearchIndex Optimization
0 likes · 26 min read
iOS WeChat Full-Text Search Technology Upgrade: Selection and Optimization
ByteFE
ByteFE
Jul 25, 2022 · Mobile Development

MemoryThrashing: A Solution for Live Streaming Memory OOM Issues

MemoryThrashing is a self-developed tool designed to detect and analyze memory thrashing issues in live streaming applications, addressing the challenges of OOM problems by providing efficient memory growth monitoring and analysis capabilities.

Memory ManagementMemory analysisMobile Development
0 likes · 10 min read
MemoryThrashing: A Solution for Live Streaming Memory OOM Issues
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
Baidu Geek Talk
Baidu Geek Talk
Nov 22, 2021 · Frontend Development

How to Debug WebKit Source Code: A Comprehensive Guide

This guide walks developers through downloading, compiling, and debugging WebKit’s complex source code—covering repository setup, Xcode and command‑line builds, creating debug projects, understanding the multi‑process architecture, and practical tips such as using TestWebKitAPI for effective analysis.

Multi‑process ArchitectureWKWebViewWebKit
0 likes · 11 min read
How to Debug WebKit Source Code: A Comprehensive Guide
ByteDance Terminal Technology
ByteDance Terminal Technology
Jun 1, 2021 · Frontend Development

Background and Problem Localization

The article discusses identifying and resolving ImageIO-related crash issues in iOS applications, particularly those occurring after iOS 14 updates, by analyzing crash logs and system behavior.

APMImage ProcessingImageIO
0 likes · 6 min read
Background and Problem Localization
360 Smart Cloud
360 Smart Cloud
Feb 9, 2021 · Mobile Development

Fix Xcode 10 Simulator Launch Issue on macOS Mojave by Reinstalling Plug‑Ins

This guide explains how to resolve the Xcode 10 simulator launch failure on macOS Mojave by backing up, removing, and restoring the Xcode Plug‑Ins folder, along with additional steps such as editing scheme settings and resetting the simulator, providing detailed screenshots and code snippets.

Plug‑InsSimulatorXcode
0 likes · 4 min read
Fix Xcode 10 Simulator Launch Issue on macOS Mojave by Reinstalling Plug‑Ins
Baidu App Technology
Baidu App Technology
Dec 24, 2020 · Mobile Development

How Swift’s ABI, Module Stability, and Library Evolution Are Reshaping iOS Development

This article traces Swift’s evolution, explains ABI and module stability, outlines library evolution, highlights Swift’s efficiency, safety, performance, and memory‑management advantages, reviews its adoption in major apps, assesses impact on app size and launch time, and proposes practical steps for large‑scale migration.

ABI stabilityModule stabilitySwift
0 likes · 18 min read
How Swift’s ABI, Module Stability, and Library Evolution Are Reshaping iOS Development
Youzan Coder
Youzan Coder
Jun 10, 2020 · Mobile Development

Building a Declarative UI Framework for UIKit in Swift

The article presents a Swift‑based declarative UI framework for UIKit that replaces AutoLayout with a flexible, CSS‑like style system, reactive state handling, and extensible layout nodes, enabling cleaner code, efficient animated lists, and improved development speed while planning future optimizations such as dirty‑checking and virtual layouts.

Declarative UIFlexboxSwift
0 likes · 11 min read
Building a Declarative UI Framework for UIKit in Swift
360 Tech Engineering
360 Tech Engineering
Oct 12, 2018 · Mobile Development

Fixing Xcode 10 Simulator Launch Failure on macOS Mojave

This guide explains how to resolve the Xcode 10 simulator launch hang on macOS Mojave by backing up, removing, and restoring Xcode's PlugIns folder, along with additional steps such as checking the scheme and resetting the simulator.

SimulatorXcodeiOS development
0 likes · 4 min read
Fixing Xcode 10 Simulator Launch Failure on macOS Mojave
Xianyu Technology
Xianyu Technology
Oct 11, 2018 · Mobile Development

Flutter Memory Optimization Techniques

The article explains how excessive memory use in a Flutter app, caused by ImageCache and related image handling, was diagnosed with Xcode Instruments and Dart Observatory, then mitigated through refined caching policies, adaptive screenshot resolution, improved FlutterViewController lifecycle management, and targeted garbage‑collection techniques, resulting in lower memory peaks and greater stability.

DARTFlutterMemory Optimization
0 likes · 17 min read
Flutter Memory Optimization Techniques
Beike Product & Technology
Beike Product & Technology
Sep 21, 2018 · Mobile Development

Crash Collection Tool Development for iOS Applications

This article discusses the development of a new crash collection tool for iOS applications, addressing issues with existing tools like Fabric and Bugly, such as excessive functionality, lack of customization, and large SDK sizes, and proposes a solution with features like single-functionality, robustness, and customizable output.

Crash CollectionMobile DevelopmentiOS Tools
0 likes · 8 min read
Crash Collection Tool Development for iOS Applications
Meituan Technology Team
Meituan Technology Team
Jul 19, 2018 · Mobile Development

EasyReact: A Reactive Programming Framework for iOS Development

EasyReact is an iOS reactive programming framework that replaces closure‑based data flow with object‑graph nodes, offering visual EZRNode debugging, automatic memory management, and cross‑platform potential while delivering up to 725 % faster performance than ReactiveCocoa, simplifying learning, debugging, and future Swift‑based extensions.

FrameworkMVVMObjective‑C
0 likes · 16 min read
EasyReact: A Reactive Programming Framework for iOS Development
Liulishuo Tech Team
Liulishuo Tech Team
Apr 10, 2018 · Fundamentals

Swift 4.1 Conditional Conformance Explained

Swift 4.1 introduced Conditional Conformance, allowing extensions of generic types like Array to conform to protocols like Equatable when their elements are Equatable, enhancing both static and runtime type checking.

Conditional ConformanceGeneric TypesSwift
0 likes · 6 min read
Swift 4.1 Conditional Conformance Explained
21CTO
21CTO
Nov 8, 2017 · Information Security

How an Alibaba iOS Engineer Built a Mobile Anti‑Phishing Shield

An interview with Alibaba Security's iOS lead reveals his personal journey, the development of a global anti‑phishing feature for the 钱盾 app, and insights on KPI, product‑operation collaboration, and the broader challenges of delivering security innovations on mobile platforms.

AlibabaiOS developmentinformation security
0 likes · 9 min read
How an Alibaba iOS Engineer Built a Mobile Anti‑Phishing Shield
Meituan Technology Team
Meituan Technology Team
Apr 21, 2017 · Mobile Development

Meituan Dianping Technical Seminar on iOS Development and Swift Monad

Meituan Dianping’s iOS development seminar presented expert insights on performance monitoring with Hertz, explored Swift monads through source‑code analysis, tackled dynamic‑library implementation hurdles, and shared cross‑platform code‑reuse strategies, offering practical solutions for functional programming and large‑scale mobile app optimization.

Monad ConceptSwift ProgrammingTechnical Seminar
0 likes · 3 min read
Meituan Dianping Technical Seminar on iOS Development and Swift Monad
Architecture Digest
Architecture Digest
May 20, 2016 · Mobile Development

Evolution of Mobile App Architecture: From MVC to Modularization with CocoaPods, Middleman, and URL Routing

The article traces the progressive evolution of a mobile app's architecture—from an initial MVC structure that quickly becomes tangled, through modular designs using CocoaPods, to advanced decoupling techniques like the middleman pattern and URL routing—highlighting practical lessons for small teams and larger enterprises.

CocoaPodsURL routingiOS development
0 likes · 8 min read
Evolution of Mobile App Architecture: From MVC to Modularization with CocoaPods, Middleman, and URL Routing
Tencent TDS Service
Tencent TDS Service
Jan 1, 2015 · Mobile Development

Mastering Objective‑C Message Forwarding to Prevent “Unrecognized Selector” Crashes

This article explains why the “Unrecognized selector sent to instance xxx” crash occurs in Objective‑C, outlines the three stages of the runtime message‑forwarding process, and provides concrete code examples for dynamic method resolution, fast forwarding, and standard forwarding to reliably prevent such crashes in iOS apps.

Crash PreventionMessage ForwardingObjective‑C
0 likes · 7 min read
Mastering Objective‑C Message Forwarding to Prevent “Unrecognized Selector” Crashes