Tagged articles
212 articles
Page 1 of 3
Geek Labs
Geek Labs
May 8, 2026 · Mobile Development

Explore Baguette and OpenLess: Command‑Line iOS Simulator Control & Cross‑Platform Voice Input

This article reviews two recent open‑source GitHub projects—Baguette, a Swift‑based CLI tool that manages iOS simulators without launching Simulator.app and offers screen streaming, gesture injection, and a web UI, and OpenLess, a cross‑platform voice input utility that uses AI to transform spoken commands into structured prompts, featuring multiple output and recording modes, global hotkeys, and a fully open‑source, local‑first design.

AISwiftcommand-line
0 likes · 7 min read
Explore Baguette and OpenLess: Command‑Line iOS Simulator Control & Cross‑Platform Voice Input
DevOps Coach
DevOps Coach
Mar 5, 2026 · Backend Development

Why Swift Is Poised to Challenge Go in Server‑Side Development by 2027

Apple’s strategic push to make Swift a full‑stack language is gradually eroding Go’s dominance in cloud‑native backends, as unified iOS‑to‑server development, privacy‑first features, and higher‑paid Swift engineers reshape enterprise infrastructure decisions toward 2027.

AppleBackendSwift
0 likes · 10 min read
Why Swift Is Poised to Challenge Go in Server‑Side Development by 2027
Sohu Tech Products
Sohu Tech Products
Sep 10, 2025 · Mobile Development

Mastering CAEmitterLayer: Create Stunning Particle Effects in iOS

This article provides a comprehensive guide to using CAEmitterLayer in iOS, covering its core concepts, key properties of both the layer and its cells, practical Swift code examples for effects like snow, rain and fireworks, performance considerations, and advanced techniques for integrating with UIKit and physics engines.

CAEmitterLayerCoreAnimationParticleEffects
0 likes · 14 min read
Mastering CAEmitterLayer: Create Stunning Particle Effects in iOS
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
Chen Tian Universe
Chen Tian Universe
Aug 24, 2025 · Operations

Unlocking Cross‑Border Payments: From VA Accounts to Global Settlement

This article provides a comprehensive overview of cross‑border payment systems, covering key concepts such as VA, OSA, FTN, and NRA accounts, foreign‑exchange controls, SWIFT, CIPS, CHIPS, the architectural differences from domestic payments, business and product structures, and a detailed end‑to‑end transaction case study.

CIPSPayment ArchitectureSwift
0 likes · 28 min read
Unlocking Cross‑Border Payments: From VA Accounts to Global Settlement
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 15, 2025 · Fundamentals

Unveiling Swift’s Dictionary: Inside the Hash Table Mechanics

This article dives deep into Swift's Dictionary implementation, explaining its underlying hash‑table structure, memory layout, bucket calculation, probing strategies, copy‑on‑write semantics, performance optimizations, and conflict‑resolution techniques, all illustrated with real source code and debugging screenshots.

Copy-on-WriteData StructuresSwift
0 likes · 27 min read
Unveiling Swift’s Dictionary: Inside the Hash Table Mechanics
Sohu Tech Products
Sohu Tech Products
Aug 13, 2025 · Fundamentals

Unveiling Swift’s Dictionary: Inside the Hash Table and Memory Layout

This article dives deep into Swift's Dictionary implementation, explaining its underlying hash‑table structure, memory layout, variant storage, probing strategies, copy‑on‑write semantics, conflict resolution, load‑factor handling, and automatic resizing, all illustrated with real code and debugger screenshots.

Copy-on-WriteData StructuresSwift
0 likes · 26 min read
Unveiling Swift’s Dictionary: Inside the Hash Table and Memory Layout
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 10, 2025 · Mobile Development

Mastering iOS Live Activities: Setup, Real‑Time Updates, and Push Integration

This comprehensive guide walks you through Apple’s Live Activity feature introduced at WWDC22, covering scenario planning, project configuration for mixed ObjC‑Swift or pure Swift code, widget implementation with ActivityKit, creating, updating, ending activities, observing state and push tokens, server‑side push payloads, and handling technical constraints such as network image loading.

ActivityKitApp GroupDynamic Island
0 likes · 17 min read
Mastering iOS Live Activities: Setup, Real‑Time Updates, and Push Integration
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Mobile Development

Unveiling Swift’s Array: Memory Allocation, SIL Insights, and Copy‑On‑Write Mechanics

This article dives deep into Swift's Array implementation, explaining how the language allocates memory, the role of SIL and internal structs like _Array, _ArrayBody, and _ContiguousArrayStorage, and how copy‑on‑write ensures efficient mutation handling, all illustrated with real code snippets and debugger output.

Copy-on-WriteMemory ManagementSIL
0 likes · 20 min read
Unveiling Swift’s Array: Memory Allocation, SIL Insights, and Copy‑On‑Write Mechanics
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 8, 2025 · Mobile Development

Unlocking Swift Closures on iOS: Deep Dive into Implementation and Capture Mechanics

This article provides a comprehensive, step‑by‑step exploration of Swift closures on iOS, covering their definition, different forms, practical usage scenarios, the compiler’s SIL generation process, capture list behavior, memory storage details, and best practices for avoiding reference cycles.

Capture ListMemory ManagementSIL
0 likes · 17 min read
Unlocking Swift Closures on iOS: Deep Dive into Implementation and Capture Mechanics
Zhihu Tech Column
Zhihu Tech Column
Aug 8, 2025 · Mobile Development

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.

Message DispatchMobile DevelopmentSwift
0 likes · 30 min read
Unlock Scalable iOS Plugins: Inside ZHPluginSDK’s Architecture and Message System
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jul 15, 2025 · Artificial Intelligence

Unlock Apple’s On‑Device LLM: Foundation Models Guide & Travel Planner Demo

This article introduces Apple’s Foundation Models framework for on‑device large language models, explains its advantages and limitations, details technical features like guided generation, snapshot streaming, and tool calling, and provides a complete Swift‑based travel‑itinerary example with performance‑tuning tips.

AIAppleMobile Development
0 likes · 12 min read
Unlock Apple’s On‑Device LLM: Foundation Models Guide & Travel Planner Demo
AndroidPub
AndroidPub
Jul 14, 2025 · Mobile Development

Will Swift Conquer Android? Inside Apple’s New Android Workgroup

Apple’s newly announced Swift Android Workgroup aims to bring Swift natively to Android, sparking industry debate over a potential shift in mobile development, the strategic motivations behind Apple’s move, Kotlin’s response, and the broader impact on developers’ skill sets and career prospects.

AndroidCross-PlatformKotlin
0 likes · 8 min read
Will Swift Conquer Android? Inside Apple’s New Android Workgroup
Chen Tian Universe
Chen Tian Universe
Jul 10, 2025 · Operations

How the World Handles Payments: A Deep Dive into Global Clearing Systems

This article explores the architecture of global payment clearing, detailing the roles of SWIFT, CLS, and national systems across China, Hong Kong, the United States, Europe, the UK, Japan, Singapore, Korea, Russia, Australia, Mexico, Brazil, and the emerging multilateral CBDC bridge mBridge, illustrating how payments flow and settle worldwide.

CBDCCLSSwift
0 likes · 20 min read
How the World Handles Payments: A Deep Dive into Global Clearing Systems
Ctrip Technology
Ctrip Technology
May 22, 2025 · Mobile Development

An In‑Depth Overview of Skip: A High‑Performance Native Cross‑Platform Development Framework

This article introduces Skip, a new high‑performance native cross‑platform framework that converts Swift/SwiftUI code to Kotlin/Jetpack Compose, detailing its architecture, toolchain, usage steps, code examples, comparisons with other frameworks, project structure, internal modules, and practical considerations for mobile developers.

Jetpack ComposeKotlinSwift
0 likes · 11 min read
An In‑Depth Overview of Skip: A High‑Performance Native Cross‑Platform Development Framework
Chen Tian Universe
Chen Tian Universe
Mar 17, 2025 · Operations

Unlocking International Payment Clearing: From Nostro/Vostro to SWIFT GPI

This comprehensive guide explains the three‑stage payment process, the roles of Nostro and Vostro accounts, the separation of domestic and cross‑border clearing systems, and how SWIFT, CIPS, CHIPS and GPI work together to enable fast, transparent international settlements.

International PaymentsNostro VostroSwift
0 likes · 14 min read
Unlocking International Payment Clearing: From Nostro/Vostro to SWIFT GPI
Chen Tian Universe
Chen Tian Universe
Mar 15, 2025 · Fundamentals

How SWIFT Became the Global Nervous System of Cross‑Border Payments

This article explains the origins, evolution, governance, global network, messaging standards, and payment models of SWIFT, illustrating how the non‑profit banking cooperative transformed international financial communication into a secure, standardized infrastructure that underpins modern cross‑border transactions.

Swiftcross-border paymentsfinancial infrastructure
0 likes · 23 min read
How SWIFT Became the Global Nervous System of Cross‑Border Payments
21CTO
21CTO
Mar 2, 2025 · Backend Development

How Swift on Kubernetes Boosted Performance 4× and Cut Costs by 66%

Cultured Code’s case study shows that replacing a Python 2 application with a Swift‑based service running on AWS‑hosted Kubernetes increased average response speed fourfold while reducing compute costs to one‑third, highlighting the appeal and challenges of using Swift for backend development.

Backend DevelopmentCost reductionKubernetes
0 likes · 4 min read
How Swift on Kubernetes Boosted Performance 4× and Cut Costs by 66%
Sohu Tech Products
Sohu Tech Products
Dec 25, 2024 · Mobile Development

Mastering XCFramework: Build, Integrate, and Optimize Multi‑Platform iOS Libraries

This article provides a comprehensive guide to Apple's XCFramework format, covering its core features, step‑by‑step integration methods, internal hierarchy, creation processes from source or Fat frameworks, dependency handling, and best‑practice recommendations for robust multi‑platform iOS development.

Build AutomationSwiftXCFramework
0 likes · 17 min read
Mastering XCFramework: Build, Integrate, and Optimize Multi‑Platform iOS Libraries
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 LayoutNSLayoutConstraintObjective‑C
0 likes · 2 min read
Masonry Layout Framework: Bundle Size Impact and Optimization Solutions
iKang Technology Team
iKang Technology Team
Dec 12, 2024 · Mobile Development

How to Build AI-Powered iOS Apps with Core ML, Create ML, and Vision

This article explains how to integrate artificial‑intelligence capabilities such as image classification, speech‑to‑text, and facial‑expression analysis into iOS applications using Apple’s Core ML, Create ML, and Vision frameworks, providing step‑by‑step guidance, code samples, and future‑direction insights.

Core MLCreate MLMobile AI
0 likes · 16 min read
How to Build AI-Powered iOS Apps with Core ML, Create ML, and Vision
Sohu Tech Products
Sohu Tech Products
Nov 27, 2024 · Mobile Development

Beginner's Guide to iOS Memory Analysis: Virtual Memory, Heap, Autoreleasepool, and Leaks

This beginner‑level guide explains iOS virtual‑memory and heap fundamentals, demonstrates how autorelease‑pool buildup and retain‑cycle leaks cause out‑of‑memory crashes, and shows step‑by‑step use of Xcode’s Memory Graph, Instruments Allocations, and leak detection tools, plus tips on weak versus unowned references.

AutoreleasePoolInstrumentsLeaks
0 likes · 17 min read
Beginner's Guide to iOS Memory Analysis: Virtual Memory, Heap, Autoreleasepool, and Leaks
Huolala Tech
Huolala Tech
Nov 12, 2024 · Fundamentals

Boost Mobile Crash Debugging with Symbolic Demangle: A Complete Walkthrough

This article explains how the Huolala mobile team built a stable symbol demangling system using the open‑source symbolic‑demangle tool, covering the concepts of name mangling, why symbolic was chosen, step‑by‑step adaptation for newer Swift versions, Linux Python‑wheel building, and practical troubleshooting tips.

CDebuggingMobile Development
0 likes · 15 min read
Boost Mobile Crash Debugging with Symbolic Demangle: A Complete Walkthrough
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
Bilibili Tech
Bilibili Tech
Oct 22, 2024 · Mobile Development

Understanding Swift Macros in Swift 5.9 and Their Applications

Swift 5.9’s new macro system lets developers generate type‑safe code at compile time via external plug‑ins, using role‑based declarations such as @attached and @freestanding to create properties, extensions, or warnings, thereby reducing repetitive boiler‑plate and improving safety in large‑scale architectures like MVVP modules and exposure frameworks.

Code GenerationCompiler PluginSwift
0 likes · 20 min read
Understanding Swift Macros in Swift 5.9 and Their Applications
Airbnb Technology Team
Airbnb Technology Team
Sep 9, 2024 · Mobile Development

Implementing Page Performance Score on iOS: PPSStateMachine, Metrics, and Instrumentation

Airbnb’s iOS Page Performance Score implementation introduces a PPSStateMachine that ties a UIViewController’s lifecycle to metric collection—tracking first layout, initial load, scroll thread hangs, additional and rich content load times—using nanosecond timestamps, state‑machine protocols, and view‑responder discovery to emit standardized performance logs.

InstrumentationMobile DevelopmentPage Performance Score
0 likes · 9 min read
Implementing Page Performance Score on iOS: PPSStateMachine, Metrics, and Instrumentation
Huolala Tech
Huolala Tech
Aug 13, 2024 · Mobile Development

How MVP+Context Transforms iOS Architecture for Scalable Apps

This article analyzes common iOS architectural patterns, identifies the drawbacks of traditional MVP implementations, and introduces a deep‑optimization MVP+Context solution with role definitions, automatic binding, memory‑leak prevention, and Swift support, illustrated with real‑world code and diagrams.

MVPObjective‑CSwift
0 likes · 27 min read
How MVP+Context Transforms iOS Architecture for Scalable Apps
Architecture Development Notes
Architecture Development Notes
Jul 16, 2024 · Mobile Development

Kickstart Your Swift Journey: From Playground Basics to App Store

This guide walks you through Swift fundamentals—from setting up a Playground and writing your first print statement to mastering variables, control flow, functions, collections, object‑oriented concepts, and building SwiftUI apps—providing the essential knowledge to start developing iOS and macOS applications.

SwiftSwiftUITutorial
0 likes · 6 min read
Kickstart Your Swift Journey: From Playground Basics to App Store
Sohu Tech Products
Sohu Tech Products
Jul 10, 2024 · Mobile Development

SwiftUI ScrollPosition: Advanced Scroll Control in iOS 18

The article introduces SwiftUI’s new ScrollPosition type in iOS 18, explains how to track and set scroll locations using offsets, edges, and view identifiers, demonstrates animated programmatic scrolling, reading position properties, detecting user‑driven scrolling, and provides a complete runnable example for fluid UI design.

ScrollPositionSwiftSwiftUI
0 likes · 6 min read
SwiftUI ScrollPosition: Advanced Scroll Control in iOS 18
Huolala Tech
Huolala Tech
Jan 9, 2024 · Mobile Development

Dynamic iOS Routing Made Easy with TheRouterSwift and Service Integration

Discover TheRouterSwift, a Swift-based routing framework from Huolala that offers lazy registration, dynamic route handling, service injection, interceptors, caching, and redirection, enabling seamless navigation across iOS modules and facilitating cross‑platform compatibility with Android through flexible URL mapping and remote configuration.

Dynamic RegistrationService InjectionSwift
0 likes · 20 min read
Dynamic iOS Routing Made Easy with TheRouterSwift and Service Integration
Sohu Tech Products
Sohu Tech Products
Jan 3, 2024 · Mobile Development

UICollectionViewCompositionalLayout Complete Guide

This guide explains how iOS 13’s UICollectionViewCompositionalLayout, together with Diffable Data Source, lets developers define items, groups, and sections using flexible size specifications, nested groups, orthogonal scrolling, custom and supplementary views, and background decorations to build complex, dynamic collection view layouts.

Compositional LayoutDiffable Data SourceMobile Development
0 likes · 26 min read
UICollectionViewCompositionalLayout Complete Guide
Baidu Geek Talk
Baidu Geek Talk
Dec 27, 2023 · Mobile Development

Mastering Swift in Baidu App: Common Pitfalls and Practical Solutions

This guide explores Swift's advantages for iOS development, outlines suitable migration scenarios, and provides detailed solutions for common issues such as string handling, error management, access control, JSON parsing, initialization rules, Objective‑C interop, modulemap configuration, and Library Evolution constraints.

Error HandlingInitializationLibrary Evolution
0 likes · 16 min read
Mastering Swift in Baidu App: Common Pitfalls and Practical Solutions
Sohu Tech Products
Sohu Tech Products
Dec 13, 2023 · Mobile Development

Swift–Kotlin Interoperability in Compose for iOS

This article demonstrates how to bridge Swift and Kotlin in a Compose‑Multiplatform iOS app by using Swift view modifiers to detect orientation changes and call Kotlin functions, while exposing Kotlin callbacks that Swift registers to change device orientation, enabling seamless two‑way platform‑specific logic integration.

Compose MultiplatformInteroperabilityKotlin
0 likes · 9 min read
Swift–Kotlin Interoperability in Compose for iOS
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
Baidu App Technology
Baidu App Technology
Nov 16, 2023 · Mobile Development

How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations

This article details Baidu APP’s iOS package‑size optimization series, focusing on compiler tweaks (GCC, Swift, LTO, symbol stripping, dead‑code removal, asset catalog settings, C++ virtual‑function reduction, third‑party SDK slimming), instruction‑set pruning, Xcode‑14 improvements, and Swift dynamic‑library handling, together with concrete Xcode configuration steps and measured size gains.

Compiler OptimizationLTOPackage Size Optimization
0 likes · 21 min read
How Baidu’s iOS App Cut 30 MB with Compiler and Architecture Optimizations
DataFunSummit
DataFunSummit
Nov 13, 2023 · Artificial Intelligence

SWIFT: A Scalable Light‑Weight Training and Inference Framework for Efficient Model Fine‑Tuning

SWIFT is an open‑source, PyTorch‑based framework that integrates multiple efficient fine‑tuning methods such as LoRA, QLoRA, Adapter, and the proprietary ResTuning, enabling developers to fine‑tune large language and multimodal models on consumer‑grade GPUs with significantly reduced memory and compute requirements.

Fine-tuningLoRAModelScope
0 likes · 13 min read
SWIFT: A Scalable Light‑Weight Training and Inference Framework for Efficient Model Fine‑Tuning
Sohu Tech Products
Sohu Tech Products
Oct 25, 2023 · Mobile Development

Mastering iOS 14 PHPicker: Access Limited Photos Without Permissions

This article explains how to correctly use the iOS 14 PHPicker API to let users select a limited set of photos without requesting full library permission, covering component basics, configuration, common pitfalls, proper data loading, handling special formats, and progress monitoring with Swift code examples.

EXIFLimited AccessNSItemProvider
0 likes · 13 min read
Mastering iOS 14 PHPicker: Access Limited Photos Without Permissions
Architects Research Society
Architects Research Society
Sep 28, 2023 · Mobile Development

Top Mobile App Development Trends for 2023 and Beyond

2023’s mobile app development landscape is shaped by emerging trends such as the metaverse, blockchain integration, advanced AR, AI-driven voice and chatbots, and innovations in frameworks like Swift, Jetpack Compose, Kotlin Multiplatform, React Native, and Flutter, all influencing the future of iOS and Android solutions.

ARBlockchainFlutter
0 likes · 16 min read
Top Mobile App Development Trends for 2023 and Beyond
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Mobile Development

iOS Interaction Blocking: Intercepting User Events at UIApplication Level

To globally block all user interactions—including touches, motion, remote control, and press events—developers can subclass UIApplication and override its sendEvent: method, providing a disableUserInteraction: API with timed re‑enabling and a counter to safely manage concurrent disable requests.

Mobile DevelopmentObjective‑CSwift
0 likes · 8 min read
iOS Interaction Blocking: Intercepting User Events at UIApplication Level
Sohu Tech Products
Sohu Tech Products
Sep 6, 2023 · Mobile Development

Building an iOS SMS Spam Filter App with CoreML

This tutorial walks through creating a custom iOS SMS spam filter app, covering extraction of personal SMS data from an iPhone backup, training a CoreML text‑classification model with CreateML, implementing a Message Filter Extension in Xcode, and exploring advanced update strategies.

App ExtensionCoreMLSMS filtering
0 likes · 12 min read
Building an iOS SMS Spam Filter App with CoreML
Qunar Tech Salon
Qunar Tech Salon
Jul 27, 2023 · Mobile Development

Implementing iOS Live Activities for Real‑Time Travel Information in Qunar

This article explains how Qunar integrated iOS 16 Live Activities to display real‑time travel updates on the lock screen and Dynamic Island, covering background, feature comparison, requirements, system design, Swift implementation, push‑based updates, debugging tips, and lessons learned.

ActivityKitLive ActivitiesMobile Development
0 likes · 17 min read
Implementing iOS Live Activities for Real‑Time Travel Information in Qunar
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
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jun 16, 2023 · Fundamentals

The Semantics of nil in Swift

The article explains that Swift’s nil differs from Objective‑C’s null pointer by representing ‘no value’ for any type through optionals, details how various optionals (Bool?, String?, class?, enum?) are encoded in memory, shows the extra byte cost for Int?, and advises minimizing optional Int fields in structs, using 0 when appropriate.

ClassMemory OptimizationSwift
0 likes · 6 min read
The Semantics of nil in Swift
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jun 5, 2023 · Fundamentals

Understanding Swift SIL and Method Dispatch Mechanisms

Swift inserts the high‑level SIL intermediate representation between source code and LLVM, exposing type declarations, method blocks, and virtual tables, while supporting three dispatch strategies—direct for value types and final methods, VTable for regular class methods, and Objective‑C message dispatch for @objc dynamic methods—crucial for debugging mixed Swift/Objective‑C and protocol‑extension behavior.

LLVMMethod DispatchSIL
0 likes · 20 min read
Understanding Swift SIL and Method Dispatch Mechanisms
Baidu Geek Talk
Baidu Geek Talk
May 23, 2023 · Mobile Development

Swift Optional Types: Common Pitfalls and Best Practices

The article explains common Swift optional pitfalls—such as forced unwrapping, misuse of implicitly‑unwrapped optionals, and unsafe type casting—and shows how proper optional binding, explicit Objective‑C nullability annotations, and cautious casting can prevent runtime crashes and improve code maintainability.

Code PracticesNullabilityObjective‑C
0 likes · 13 min read
Swift Optional Types: Common Pitfalls and Best Practices
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 18, 2023 · Mobile Development

In‑App Purchase (IAP) Overview and Implementation Guide for iOS

The guide explains Apple’s four in‑app purchase types, how to create and configure products in App Store Connect, implements the StoreKit purchase flow (including product request, payment, transaction observation, and receipt verification on server), addresses common pitfalls, and introduces NetEase’s NEStoreKit wrapper for easier integration.

In-App PurchaseObjective‑CStoreKit
0 likes · 15 min read
In‑App Purchase (IAP) Overview and Implementation Guide for iOS
Sohu Tech Products
Sohu Tech Products
May 17, 2023 · Mobile Development

Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization

This article explains the workings of SwiftLint, a static code analysis tool for Swift, covering its architecture, built‑in rules, configuration options, custom rule creation, UIWebView deprecation detection, and advanced build‑time optimizations to improve linting efficiency in mobile development projects.

Build OptimizationCustom RulesMobile Development
0 likes · 20 min read
Comprehensive Guide to SwiftLint: Working Principles, Configuration, Custom Rules, and Performance Optimization
Baidu Geek Talk
Baidu Geek Talk
Apr 24, 2023 · Mobile Development

Image Optimization Techniques for Baidu iOS App: Unused Image Removal, Asset Catalog, and HEIC Encoding

The article details Baidu’s iOS image‑size reduction strategy, combining automated detection and removal of unused PNG/WebP assets, migration to Xcode’s Asset Catalog for lossless compression, and selective conversion to HEIC format, which together shaved roughly 9.75 MB from the app bundle.

App Size ReductionHEICPython script
0 likes · 18 min read
Image Optimization Techniques for Baidu iOS App: Unused Image Removal, Asset Catalog, and HEIC Encoding
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Mar 6, 2023 · Mobile Development

How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration

This article details the challenges and step‑by‑step solutions the NetEase Cloud Music iOS team used to modularize legacy Objective‑C libraries, enabling seamless Swift interop through modulemap generation, CocoaPods configuration, and custom build scripts while addressing macro, header, and static‑library issues.

Build SystemCocoaPodsInterop
0 likes · 14 min read
How NetEase Cloud Music Made Objective‑C Components Module‑Ready for Swift Integration
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Feb 8, 2023 · Mobile Development

Implementing iOS 16 Depth Effect Using Image Segmentation with CoreML and Vision

This guide shows how to recreate iOS 16’s lock‑screen Depth Effect by integrating Apple’s pre‑trained DeeplabV3 CoreML model with Vision, running a VNCoreMLRequest on a resized image in a background thread, converting the output to a binary mask, and overlaying it on the original photo to simulate foreground‑background depth, with code examples and GitHub source.

CoreMLDepth EffectSwift
0 likes · 7 min read
Implementing iOS 16 Depth Effect Using Image Segmentation with CoreML and Vision
21CTO
21CTO
Jan 16, 2023 · Fundamentals

Why Swift’s New Open‑Source Foundation Framework Could Transform iOS Development

Apple has open‑sourced a new Swift‑written Foundation framework that replaces the Objective‑C based version, promising lower conversion overhead, improved performance, and new packages like Foundation Essentials, Internationalization, and ObjC Compatibility, while the community reacts positively and discusses future cross‑platform implications.

AppleMobile DevelopmentSwift
0 likes · 6 min read
Why Swift’s New Open‑Source Foundation Framework Could Transform iOS Development
Sohu Tech Products
Sohu Tech Products
Jan 11, 2023 · Mobile Development

Deep Dive into Swift Array Implementation and Copy‑On‑Write Mechanics

This article provides a comprehensive, low‑level exploration of Swift's Array type, detailing its memory layout, the SIL generation process, buffer allocation, internal structures such as _ArrayBuffer and _ContiguousArrayStorage, and the copy‑on‑write behavior that governs mutation and reference counting.

ArrayCopy-on-WriteLow-Level Debugging
0 likes · 18 min read
Deep Dive into Swift Array Implementation and Copy‑On‑Write Mechanics
Liulishuo Tech Team
Liulishuo Tech Team
Jan 6, 2023 · Mobile Development

Migrating In‑App Purchase Integration from StoreKit 1 to StoreKit 2 on iOS

This article explains the transition from StoreKit 1 to StoreKit 2 for iOS in‑app purchases, detailing the limitations of applicationUsername, the new appAccountToken mechanism, updated purchase and order‑recovery flows, enhanced notification handling, and references to Apple’s server APIs.

App Store Server APIIn-App PurchaseMobile Development
0 likes · 10 min read
Migrating In‑App Purchase Integration from StoreKit 1 to StoreKit 2 on iOS
DeWu Technology
DeWu Technology
Dec 26, 2022 · Mobile Development

Simplifying Multi‑Variable UI Logic with Karnaugh Maps in Mobile Development

The article shows how Karnaugh maps can turn scattered, multi‑variable UI conditionals in mobile apps into concise Boolean expressions by representing each UI state with booleans, drawing a Gray‑code grid, grouping adjacent minterms, and thus simplifying maintenance while noting the method’s limit to four variables.

Karnaugh MapLogic SimplificationMobile UI
0 likes · 21 min read
Simplifying Multi‑Variable UI Logic with Karnaugh Maps in Mobile Development
Sohu Tech Products
Sohu Tech Products
Dec 14, 2022 · Mobile Development

Adding Home Screen Shortcuts for iOS Apps

This article explains how to add iOS app features as home‑screen shortcuts using URL schemes, detailing two implementation methods—H5 page redirection and Data‑URI local server—along with Swift code examples, configuration steps, and handling of intermediate pages.

AddToHomeScreenHomeScreenShortcutSwift
0 likes · 19 min read
Adding Home Screen Shortcuts for iOS Apps
DaTaobao Tech
DaTaobao Tech
Dec 14, 2022 · Fundamentals

Design and Implementation of a Functional Expression Engine Using Parser Combinators in Swift

The article presents a Swift‑based functional expression engine built with parser combinators and a monadic parser abstraction, detailing its layered architecture, grammar, expression‑tree representation, and performance benchmarks that replace NSPredicate limitations with a fast, composable solution for evaluating nested, configurable string expressions.

Expression EngineMonadParser Combinators
0 likes · 21 min read
Design and Implementation of a Functional Expression Engine Using Parser Combinators in Swift
ELab Team
ELab Team
Dec 6, 2022 · Artificial Intelligence

Mastering CreateML: From Data Prep to Object Detection Models on iOS

This article introduces Apple’s CreateML tool, explains its supported model types, shows how to prepare and augment data, provides a Node.js script for generating synthetic training sets, and walks through training, testing, and integrating an object‑detection model into an iOS app.

CreateMLSwiftdata augmentation
0 likes · 17 min read
Mastering CreateML: From Data Prep to Object Detection Models on iOS
Sohu Tech Products
Sohu Tech Products
Nov 17, 2022 · Mobile Development

Exploring iOS Componentization

This article introduces iOS componentization using CocoaPods, detailing the drawbacks of manual code copying, explaining the creation of local podspec libraries, configuring source files, resources, access levels, and integration steps, while also covering sub‑specs, resource bundles, and practical code examples for Swift projects.

CocoaPodsComponentizationSwift
0 likes · 26 min read
Exploring iOS Componentization
Huolala Tech
Huolala Tech
Nov 15, 2022 · Mobile Development

How We Reduced iOS App Launch Time by Up to 99% on Low-End Devices

This article details a multi‑phase approach to dramatically improve iOS app launch performance, especially on low‑end iPhone models, by analyzing slow functions, applying image compression, lazy loading, run‑loop monitoring, and eliminating unnecessary background tasks, achieving launch times under 3 seconds for 99.7% of users.

Objective‑CSwiftiOS
0 likes · 28 min read
How We Reduced iOS App Launch Time by Up to 99% on Low-End Devices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 14, 2022 · Mobile Development

Building an Add Identity Card Page with SwiftUI

This tutorial walks through designing and implementing an "Add Identity Card" screen in a SwiftUI iOS app, covering UI element priority, state variable declarations, custom platform selector with LazyVGrid, multiline link input, and data binding to persist new cards.

LazyVGridMobile DevelopmentState Management
0 likes · 12 min read
Building an Add Identity Card Page with SwiftUI
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 14, 2022 · Mobile Development

Building a SwiftUI Electronic Business Card App (Linkworld) – A Step‑by‑Step Tutorial

This tutorial walks through the design and implementation of a SwiftUI‑based electronic business‑card app called Linkworld, covering project background, MVP analysis, component creation, variable declarations, layout containers (HStack, VStack, ZStack), and previewing multiple cards with full code examples.

Card ViewLayout ContainersMobile Development
0 likes · 9 min read
Building a SwiftUI Electronic Business Card App (Linkworld) – A Step‑by‑Step Tutorial
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 7, 2022 · Mobile Development

Performance Monitoring Solution for Swift Debugging Using LLDB Plugin in the DanceCC Toolchain

This article describes a comprehensive LLDB‑plugin based monitoring framework that intercepts Xcode’s Script Bridge API to measure and report precise debugging latency for Swift projects, outlines the implementation details, timing scenarios, data reporting, and includes a recruitment notice for the ByteDance client infrastructure team.

DebuggingLLDBSwift
0 likes · 15 min read
Performance Monitoring Solution for Swift Debugging Using LLDB Plugin in the DanceCC Toolchain
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 27, 2022 · Mobile Development

iOS RTL (Right‑to‑Left) Language Adaptation: Challenges and Solutions

The article discusses challenges and solutions for adapting iOS apps to right‑to‑left languages like Arabic, covering UI mirroring, layout adjustments using leading/trailing constraints, image flipping, text alignment and attributed strings, Unicode direction controls, collection view handling, RTL‑aware insets, navigation gestures, number formatting, and in‑app language switching with practical code examples.

RTLSwiftUIKit
0 likes · 18 min read
iOS RTL (Right‑to‑Left) Language Adaptation: Challenges and Solutions
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jul 15, 2022 · Mobile Development

Swift JSON Decoding Solutions: Comparison and Custom Implementation

The article surveys common Swift JSON decoding approaches—including manual Unbox, HandyJSON, Sourcery, built-in Codable and BetterCodable—highlights their strengths and weaknesses, then presents a custom NEJSONDecoder that adds default values, key mapping, type compatibility, tolerant error handling, and transformation support, with performance benchmarks.

BetterCodableCodableDecoder
0 likes · 23 min read
Swift JSON Decoding Solutions: Comparison and Custom Implementation
Sohu Tech Products
Sohu Tech Products
Jul 6, 2022 · Game Development

Implementing Hint Functionality for a 24‑Point Game in Swift

This article explains how to design and code a hint feature for a 24‑point puzzle app on iOS, covering random number generation, validation of solvable sets, recursive expression search, expression‑to‑string conversion, optimization of parentheses, and provides complete Swift source code with detailed algorithmic explanations.

24-point gameGame DevelopmentSwift
0 likes · 15 min read
Implementing Hint Functionality for a 24‑Point Game in Swift
Sohu Tech Products
Sohu Tech Products
Jun 15, 2022 · Fundamentals

Converting Infix Expressions to Postfix and Evaluating Them in Swift

This article explains how to transform a typical infix arithmetic expression such as "8 - (6 + 4 / 2 - 1) * 2" into a postfix (Reverse Polish) form using Swift, then evaluates the postfix expression step by step with custom Swift functions and also shows a shortcut using NSExpression.

Expression EvaluationInfix to PostfixSwift
0 likes · 13 min read
Converting Infix Expressions to Postfix and Evaluating Them in Swift
21CTO
21CTO
Jun 11, 2022 · Mobile Development

Swift & SwiftUI 2022: Concurrency, Custom Layouts, and New Charts

The article reviews Apple’s WWDC 2022 announcements, highlighting Swift’s new concurrency model, actor and distributed‑actor features, SwiftUI’s custom grid layout and charting capabilities, as well as enhanced string handling and built‑in regex support for developers across iOS, iPadOS, macOS and watchOS.

AppleSwiftSwiftUI
0 likes · 5 min read
Swift & SwiftUI 2022: Concurrency, Custom Layouts, and New Charts
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
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
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
ByteDance Terminal Technology
ByteDance Terminal Technology
May 9, 2022 · Mobile Development

Optimizing Swift Debugging Performance with a Custom LLDB Toolchain at ByteDance

This article explains how ByteDance's DanceCC team improved debugging speed for large Swift iOS projects by customizing the LLDB toolchain, disabling costly Swift type‑resolution features, fixing static‑framework loading, optimizing external module searches, and introducing shared symbol caches, achieving up to ten‑fold reductions in variable‑view and expression‑evaluation times.

Compiler ToolchainDebuggingLLDB
0 likes · 20 min read
Optimizing Swift Debugging Performance with a Custom LLDB Toolchain at ByteDance
Alibaba Terminal Technology
Alibaba Terminal Technology
May 6, 2022 · Mobile Development

How to Slash Swift Debugger Breakpoint Delays in Large iOS Apps

The Youku iOS team investigated why first‑breakpoint pauses could exceed three minutes after a massive Swift migration, analyzed LLDB internals and external module dependencies, tried and discarded several refactoring and compiler‑flag approaches, and finally achieved a dramatic speedup by tweaking LLDB settings and adding a small Swift helper for missing property prints.

LLDBMobile DevelopmentPerformance Optimization
0 likes · 16 min read
How to Slash Swift Debugger Breakpoint Delays in Large iOS Apps
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
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 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
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
Sohu Tech Products
Sohu Tech Products
Feb 2, 2022 · Mobile Development

Performance Optimization Analysis of Swift Subarray Extraction

This article examines various methods for extracting subarrays in Swift, benchmarking loop‑based copying, range subscripting with map, while loops, and direct memory copying via memcpy, analyzing their execution times, compiler optimizations, and trade‑offs to guide developers toward efficient array handling in performance‑critical applications.

ArrayBenchmarkMemoryCopy
0 likes · 16 min read
Performance Optimization Analysis of Swift Subarray Extraction
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
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