Tagged articles
212 articles
Page 2 of 3
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
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Dec 20, 2021 · Mobile Development

Boost Swift Performance: Compilation, Memory, and Runtime Optimizations

This article explores practical Swift performance enhancements, covering compilation‑time reductions through smarter type inference, memory‑usage improvements via structs, enums, and collection strategies, and runtime speed gains by understanding function dispatch and applying final, private, and lazy sequence techniques.

CompilationMemory ManagementPerformance Optimization
0 likes · 17 min read
Boost Swift Performance: Compilation, Memory, and Runtime Optimizations
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
Baidu Geek Talk
Baidu Geek Talk
Nov 17, 2021 · Artificial Intelligence

Fast Video Editing: Architecture and AI‑Powered Subtitle & Redundant Segment Detection

Baidu’s Fast Editing tool automates video trimming by using NLP to recognize subtitles, tone markers and duplicate sentences, then aligns them with the timeline for one‑click removal, employing character, Levenshtein and cosine similarity algorithms within a three‑module architecture (Plugin, Window, Caption) and planning on‑device PaddlePaddle analysis to cut latency and cost.

AINLPSwift
0 likes · 11 min read
Fast Video Editing: Architecture and AI‑Powered Subtitle & Redundant Segment Detection
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
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
Sohu Tech Products
Sohu Tech Products
Sep 22, 2021 · Fundamentals

Understanding Finite State Machines and Their Implementation in Swift

This article introduces finite‑state machines, explains their mathematical definition and classification, demonstrates a simple metro‑gate example, and provides two complete Swift implementations—one using object‑oriented design with protocols and classes and another using a functional style with generic transition structs and thread‑safe queues—followed by a real‑world keyboard‑state use case.

Finite State MachineSwiftfunctional programming
0 likes · 18 min read
Understanding Finite State Machines and Their Implementation in Swift
BaiPing Technology
BaiPing Technology
Sep 22, 2021 · Mobile Development

Master CocoaPods: Complete Guide to iOS Dependency Management

This comprehensive tutorial explains how to use CocoaPods for iOS and macOS development, covering installation, project initialization, dependency management, podspec creation, private repository setup, version control, caching, and troubleshooting, enabling developers to efficiently manage third‑party libraries and create reusable modules.

CocoaPodsObjective‑CPrivate Pods
0 likes · 30 min read
Master CocoaPods: Complete Guide to iOS Dependency Management
WecTeam
WecTeam
Sep 10, 2021 · Mobile Development

Boost Build Speed 35%: Swift‑ObjC Mixed Compilation & ByteDance Data Governance

This week’s WecTeam Front‑end Weekly spotlights two technical deep‑dives: a Swift‑Objective‑C mixed‑compilation technique that slashes build times by 35%, and ByteDance’s large‑scale data‑tracking governance framework that underpins its trillion‑plus real‑time analytics pipeline.

ByteDanceCompilation OptimizationData Governance
0 likes · 2 min read
Boost Build Speed 35%: Swift‑ObjC Mixed Compilation & ByteDance Data Governance
Sohu Tech Products
Sohu Tech Products
Aug 18, 2021 · Mobile Development

A Comprehensive Guide to iOS Core Data: Modeling, Persistence, and CRUD Operations

This article explains why Core Data is needed for iOS data persistence, introduces its concepts such as entities, attributes, relationships, and ORM, walks through creating a data model file, configuring NSPersistentContainer, and demonstrates full CRUD operations with Swift code examples and best‑practice tips.

Core DataMobile DevelopmentNSPersistentContainer
0 likes · 20 min read
A Comprehensive Guide to iOS Core Data: Modeling, Persistence, and CRUD Operations
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Aug 18, 2021 · Mobile Development

Using IGListKit for Efficient List Management in iOS Applications

This article explains how IGListKit can replace UICollectionView for building list scenes in iOS apps, detailing its architecture, adapter‑section controller pattern, diff‑based updates, practical issues such as cell‑level diffing, and integration with RxSwift to achieve smooth, performant UI rendering.

Diffable Data SourceIGListKitList Management
0 likes · 15 min read
Using IGListKit for Efficient List Management in iOS Applications
Airbnb Technology Team
Airbnb Technology Team
Aug 16, 2021 · Mobile Development

From Imperative to Declarative UI: Airbnb's Epoxy Framework for iOS

Airbnb’s Epoxy iOS framework replaces fragile, indexPath‑driven imperative UI code with a declarative model‑based system that automatically diffs and animates view updates, eliminating crashes, boosting developer satisfaction from –78 to +58, and enabling a unified, open‑source approach to building Swift interfaces.

Declarative UIDiffing AlgorithmEpoxy
0 likes · 10 min read
From Imperative to Declarative UI: Airbnb's Epoxy Framework for iOS
Kuaishou Tech
Kuaishou Tech
Aug 3, 2021 · Mobile Development

Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team

This article shares the Kuaishou overseas client team's practical experiences and solutions for improving compilation efficiency through Swift/Objective‑C binary mixed compilation, covering single‑target and multi‑target strategies, moduleization challenges, binary compatibility, and future directions for mobile development.

CocoaPodsMixed CompilationObjective‑C
0 likes · 18 min read
Practical Experience of Swift/Objective‑C Binary Mixed Compilation at Kuaishou Overseas Client Team
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Aug 2, 2021 · Mobile Development

Mastering Swift/ObjC Binary Mixed Compilation: Practical Tips for Mobile Teams

This article shares the Kuaishou overseas client team's experience of improving Swift/Objective‑C mixed compilation through binary packaging, covering single‑target and multi‑target strategies, moduleization challenges, solutions for C++ and header issues, and future best‑practice recommendations for iOS development.

Mixed CompilationObjective‑CSwift
0 likes · 18 min read
Mastering Swift/ObjC Binary Mixed Compilation: Practical Tips for Mobile Teams
Sohu Tech Products
Sohu Tech Products
Jun 23, 2021 · Mobile Development

Implementing Weekday Calendar Reminders with Holiday Filtering on iOS

This article demonstrates how to create recurring iOS calendar reminders for Monday‑to‑Friday workdays, filter out Chinese statutory holidays using an external holiday‑cn JSON source, and handle make‑up workdays, providing complete Swift code and step‑by‑step explanations.

CalendarEventKitHoliday
0 likes · 17 min read
Implementing Weekday Calendar Reminders with Holiday Filtering on iOS
Sohu Tech Products
Sohu Tech Products
Jun 2, 2021 · Fundamentals

Low‑Level Atomic Operations (SE‑0282) – Swift Atomics Overview

This article presents a comprehensive translation of the Swift Evolution proposal SE‑0282, detailing the design and implementation of low‑level atomic operations, memory orderings, and related types such as UnsafeAtomic and UnsafeAtomicLazyReference, providing examples and discussing integration with Swift’s concurrency model.

Swiftatomic operationsconcurrency
0 likes · 57 min read
Low‑Level Atomic Operations (SE‑0282) – Swift Atomics Overview
JD Retail Technology
JD Retail Technology
May 25, 2021 · Mobile Development

Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques

This article describes how JD Mall’s order system migrated key iOS components to Swift, leveraging static dispatch, value‑type structures, protocol‑oriented design, error handling, guard statements, defer, lazy loading, and functional programming to improve performance, safety, and maintainability across mobile and macOS applications.

Error HandlingSwiftSwiftUI
0 likes · 16 min read
Optimizing JD Mall Order Business with Swift: Static Dispatch, Value Types, and Functional Techniques
Kuaishou Tech
Kuaishou Tech
May 21, 2021 · Mobile Development

Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics

This article explains how Swift and Objective‑C can be mixed in iOS projects, covering prerequisite settings, CocoaPods module configuration, name mangling, compilation differences, dynamic features, method replacement techniques, and the underlying Swift runtime metadata that enable seamless inter‑language calls.

CocoaPodsInteroperabilityModules
0 likes · 25 min read
Swift and Objective‑C Interoperability: Mixing, Modules, and Runtime Dynamics
Sohu Tech Products
Sohu Tech Products
May 19, 2021 · Mobile Development

Creating an iOS Flutter Audio Player Plugin with MethodChannel

This tutorial explains step‑by‑step how to create a custom iOS Flutter plugin for audio playback, covering the MethodChannel architecture, Dart side implementation, Swift native code, and communication of playback controls and status between Flutter and iOS.

AudioPlayerDARTFlutter
0 likes · 15 min read
Creating an iOS Flutter Audio Player Plugin with MethodChannel
58 Tech
58 Tech
May 19, 2021 · Mobile Development

Hooking Swift Functions by Modifying the Virtual Table (VTable)

This article explains a novel Swift hooking technique that modifies the virtual function table (VTable) to replace method implementations, detailing Swift's runtime structures such as TypeContext, Metadata, OverrideTable, and providing concrete ARM64 assembly and Swift code examples.

HookingRuntimeSwift
0 likes · 19 min read
Hooking Swift Functions by Modifying the Virtual Table (VTable)
Kuaishou Tech
Kuaishou Tech
May 13, 2021 · Mobile Development

Swift Adoption and Architecture Evolution at AcFun: From Objective‑C to SwiftUI and Combine

The article details how AcFun transitioned its iOS codebase from Objective‑C to Swift, describing Swift's origins, Apple’s strategic push, the company’s architectural evolution, mixed‑language challenges, performance gains, and the adoption of modern frameworks such as SwiftUI, Combine, and RxSwift.

CombineMobile DevelopmentRxSwift
0 likes · 17 min read
Swift Adoption and Architecture Evolution at AcFun: From Objective‑C to SwiftUI and Combine
Sohu Tech Products
Sohu Tech Products
May 12, 2021 · Mobile Development

Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)

This article explains the concept of diff algorithms, demonstrates how to perform partial updates in iOS UICollectionView using insert, delete, reload and move APIs, introduces edit paths and the Wagner–Fischer dynamic‑programming algorithm, and provides Swift code examples for calculating optimal edit steps.

Batch UpdatesSwiftUICollectionView
0 likes · 12 min read
Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)
Sohu Tech Products
Sohu Tech Products
Apr 14, 2021 · Artificial Intelligence

QHBinimageMan: A Swift macOS Tool for Converting Color Images to Grayscale and Binary

This article introduces QHBinimageMan, a Swift‑based macOS utility that demonstrates the full pipeline from color image to grayscale and finally to binary image generation, covering pixel handling, histogram analysis, thresholding, resolution reduction, and a practical live‑streaming gift animation application.

HistogramSwiftbinary image
0 likes · 7 min read
QHBinimageMan: A Swift macOS Tool for Converting Color Images to Grayscale and Binary
Sohu Tech Products
Sohu Tech Products
Apr 7, 2021 · Fundamentals

Functional Programming in Swift: Concepts, Benefits, and Practical Examples

This article explains functional programming concepts, their importance, and how to apply them in Swift through high‑order functions, lazy evaluation, custom operators, and composable image‑filter pipelines, while also addressing common pitfalls such as nested callbacks and OCP violations.

Higher-Order FunctionsLazy EvaluationRxSwift
0 likes · 19 min read
Functional Programming in Swift: Concepts, Benefits, and Practical Examples
Sohu Tech Products
Sohu Tech Products
Mar 17, 2021 · Mobile Development

Understanding and Using Schedulers in Swift Combine

This article explains the concept of Schedulers in the Swift Combine framework, compares the default scheduling behavior with explicit subscribe(on:) and receive(on:) operators, demonstrates various Scheduler implementations (ImmediateScheduler, RunLoop, DispatchQueue, OperationQueue) through detailed code examples, and provides practical guidance for managing thread execution in reactive iOS applications.

CombineSchedulerSwift
0 likes · 22 min read
Understanding and Using Schedulers in Swift Combine
Meituan Technology Team
Meituan Technology Team
Feb 25, 2021 · Mobile Development

How Precompiled Headers and Clang Modules Boost iOS Build Performance

This article explains the inner workings of #import, precompiled headers (PCH), header maps (hmap), Clang modules, and Swift‑Objective‑C interop, showing how they affect compilation speed, robustness, and scalability in large iOS projects and offering practical optimization techniques.

Build OptimizationClang ModulesSwift
0 likes · 52 min read
How Precompiled Headers and Clang Modules Boost iOS Build Performance
JD Cloud Developers
JD Cloud Developers
Feb 7, 2021 · Mobile Development

Mastering Swift‑Objective‑C Mixed Compilation in JD’s iOS App: A Practical Guide

This article details JD's journey from Objective‑C to Swift, explaining ABI stability, module stability, library evolution, and step‑by‑step configurations for mixed Swift‑Objective‑C compilation at both project and component levels, including build‑setting tweaks and runtime loading solutions.

Library EvolutionMixed CompilationModule stability
0 likes · 16 min read
Mastering Swift‑Objective‑C Mixed Compilation in JD’s iOS App: A Practical Guide
JD Retail Technology
JD Retail Technology
Feb 3, 2021 · Mobile Development

Implementing Swift Mixed Compilation in the JD App: ABI Stability, Module Stability, Library Evolution, and Integration Strategies

This article details JD's transition to Swift mixed compilation, covering ABI stability, module stability, library evolution, the required Xcode configurations, bridging techniques for Swift‑ObjC interaction, component‑level mixing approaches, and solutions to static and dynamic linking issues across iOS versions.

CocoaPodsLibrary EvolutionMixed Compilation
0 likes · 17 min read
Implementing Swift Mixed Compilation in the JD App: ABI Stability, Module Stability, Library Evolution, and Integration Strategies
Baidu App Technology
Baidu App Technology
Jan 18, 2021 · Mobile Development

Baidu App Objective-C/Swift Mixed Programming Practice - Component Transformation and Interoperability

To enable Objective‑C and Swift mixed programming in Baidu App, static libraries are converted to static frameworks, module stability is activated, headers are module‑ized and dependencies declared via EasyBox, allowing safe inter‑component calls, proper nullability handling, and encouraging broader Swift adoption across the codebase.

Binary DistributionComponentizationFramework
0 likes · 17 min read
Baidu App Objective-C/Swift Mixed Programming Practice - Component Transformation and Interoperability
Snowball Engineer Team
Snowball Engineer Team
Jan 14, 2021 · Mobile Development

Snowball iOS Widget Development from Zero to One

This article details the end‑to‑end process of building a Snowball iOS Widget with WidgetKit, covering design principles, lifecycle, data sharing via App Groups, SwiftUI view construction, Intent configuration, and deployment considerations, providing code examples and practical tips for mobile developers.

App ExtensionIntentsMobile Development
0 likes · 16 min read
Snowball iOS Widget Development from Zero to One
ITPUB
ITPUB
Jan 14, 2021 · Fundamentals

Uncovering Swift’s Binary Layout: From Dynamic Calls to Mach‑O Class Structures

This article explores Swift’s binary representation by comparing it with Objective‑C, demonstrating runtime dynamic method invocation, dissecting Mach‑O sections such as __objc_classlist and __swift5_types, and revealing how Swift classes store their metadata and VTables.

Dynamic InvocationMach-OObjective‑C
0 likes · 16 min read
Uncovering Swift’s Binary Layout: From Dynamic Calls to Mach‑O Class Structures
58 Tech
58 Tech
Jan 13, 2021 · Fundamentals

Exploring Swift Binary Structure and Dynamic Method Invocation in Mach-O

This article examines Swift's binary representation in Mach-O files, compares it with Objective‑C storage, demonstrates runtime dynamic method calls, and analyzes class metadata, VTable construction, and related flags to reveal how Swift functions are located and invoked at runtime.

Dynamic InvocationMach-ORuntime
0 likes · 16 min read
Exploring Swift Binary Structure and Dynamic Method Invocation in Mach-O
Baidu App Technology
Baidu App Technology
Dec 30, 2020 · Mobile Development

Baidu App Objective-C/Swift Mixed Programming Practice: Component Module Integration and Binary Publishing

Continuing the Baidu App mixed‑language guide, this article explains how EasyBox‑generated component targets (frameworks and libraries) are organized into modules, configured for Objective‑C/Swift interoperability, unit‑tested, linked across components, and packaged as binaries using module maps, build settings, and lipo merging, while recommending frameworks for smoother distribution.

Binary PublishingComponent ArchitectureMixed Programming
0 likes · 15 min read
Baidu App Objective-C/Swift Mixed Programming Practice: Component Module Integration and Binary Publishing
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
Ctrip Technology
Ctrip Technology
Oct 29, 2020 · Mobile Development

An In‑Depth Introduction to Apple’s Combine Framework and Its Practical Applications

This article provides a comprehensive overview of Apple’s Combine framework—explaining its core concepts such as publishers, subscribers, subjects, operators, and lifecycle management—while demonstrating custom implementations, MVVM integration, and performance comparisons with RxSwift through detailed code examples.

CombinePublishersSubscribers
0 likes · 15 min read
An In‑Depth Introduction to Apple’s Combine Framework and Its Practical Applications
Beike Product & Technology
Beike Product & Technology
Oct 29, 2020 · Mobile Development

iOS 14 WidgetKit Development Guide: Creating, Configuring, and Communicating Widgets

This article provides a comprehensive tutorial on developing iOS 14 WidgetKit widgets, covering widget sizes, Xcode target creation, configuration options, essential SwiftUI components, timeline refresh mechanisms, communication between the main app and widget via App Groups and Keychain, as well as troubleshooting common issues.

AppGroupKeychainMobile Development
0 likes · 11 min read
iOS 14 WidgetKit Development Guide: Creating, Configuring, and Communicating Widgets
JD Retail Technology
JD Retail Technology
Sep 28, 2020 · Mobile Development

Comprehensive Analysis of Swift vs Objective‑C: Adoption, Performance, Compiler Optimizations and Ecosystem Impact

This article presents a detailed comparison between Swift and Objective‑C, covering language popularity, community activity, real‑world app adoption, performance benchmarks, Swift's advantages and disadvantages, ABI and module stability, Apple’s strategic support, binary size effects, and deep compiler optimizations such as SIL, inlining, generic specialization, and dispatch mechanisms.

Objective‑CSwiftcompiler
0 likes · 25 min read
Comprehensive Analysis of Swift vs Objective‑C: Adoption, Performance, Compiler Optimizations and Ecosystem Impact
Baidu App Technology
Baidu App Technology
Sep 25, 2020 · Mobile Development

Ultimate Solution for iOS Launch Image Issues

This article explains why iOS launch images often fail to update, reveals that the system caches multiple storyboard‑generated images in the app sandbox, and provides a step‑by‑step method to replace those cached files with custom‑generated ones, including code, orientation handling, and support for older iOS versions.

Cache ManagementDebuggingMobile Development
0 likes · 12 min read
Ultimate Solution for iOS Launch Image Issues
Tencent Cloud Developer
Tencent Cloud Developer
Sep 14, 2020 · Mobile Development

Memory Optimization Techniques for Image-Intensive iOS Applications

To prevent crashes, forced‑out‑of‑memory terminations, and battery drain in image‑heavy iOS apps, developers should avoid retaining unused UIImages, use efficient scaling with UIGraphicsImageRenderer, employ autorelease pools, stream thumbnails via ImageIO, and downsample to view size, cutting peak memory usage from ~600 MB to ~221 MB.

Image ProcessingMemory OptimizationSwift
0 likes · 10 min read
Memory Optimization Techniques for Image-Intensive iOS Applications
JD Retail Technology
JD Retail Technology
Aug 17, 2020 · Mobile Development

Swift ABI Stability, Module Stability, and Integration Strategies for iOS Applications

The article explains Swift 5's ABI and module stability, their impact on app size and compatibility, and details a practical approach to building a Swift-based order module within an existing iOS app, including mixed Swift‑Objective‑C integration, CocoaPods configuration, and encountered challenges.

Mobile DevelopmentModule stabilitySwift
0 likes · 9 min read
Swift ABI Stability, Module Stability, and Integration Strategies for iOS Applications
Wukong Talks Architecture
Wukong Talks Architecture
Jul 29, 2020 · Mobile Development

Comprehensive Swift Language Tutorial: Basics, Syntax, and Advanced Features

This extensive Swift tutorial introduces the language’s fundamentals—including variables, constants, control flow, functions, closures, enums, and memory management—while providing detailed code examples and explanations of advanced concepts such as protocols, generics, and ARC, making it a complete guide for iOS and macOS developers.

Code ExamplesMobile DevelopmentSwift
0 likes · 40 min read
Comprehensive Swift Language Tutorial: Basics, Syntax, and Advanced Features
Wukong Talks Architecture
Wukong Talks Architecture
Jul 21, 2020 · Mobile Development

iOS Development Tutorial: Creating a Demo Project, Implementing Views, Buttons, and Images with Swift and Comparing to Objective‑C

This tutorial walks through setting up an iOS demo project in Xcode, creating a yellow rectangle view, adding a clickable button and a centered image using Swift code, and then compares the Swift syntax with equivalent Objective‑C snippets, while also covering useful comment tags.

Mobile DevelopmentObjective‑CSwift
0 likes · 6 min read
iOS Development Tutorial: Creating a Demo Project, Implementing Views, Buttons, and Images with Swift and Comparing to Objective‑C
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
Programmer DD
Programmer DD
May 25, 2020 · Fundamentals

7 Modern Programming Languages You Should Learn in 2024

This article examines seven modern programming languages—Rust, Go, Kotlin, TypeScript, Swift, Dart, and Julia—detailing their key features, typical use cases, popularity trends, and why developers should consider learning them to stay competitive in today's software landscape.

GoKotlinRust
0 likes · 21 min read
7 Modern Programming Languages You Should Learn in 2024
21CTO
21CTO
May 23, 2020 · Fundamentals

Can New Languages Like Go, Rust, and Swift Overtake the Old Guard?

The article examines recent TIOBE rankings and explores how emerging languages such as Go, Rust, Swift, Dart, and Kotlin compare to established giants like C, C++, Java, and JavaScript, analyzing their design goals, adoption, and prospects for replacing legacy code.

GoKotlinLanguage Trends
0 likes · 17 min read
Can New Languages Like Go, Rust, and Swift Overtake the Old Guard?
Ctrip Technology
Ctrip Technology
May 21, 2020 · Mobile Development

Integrating Swift into an Existing Objective‑C iOS App: Challenges, Solutions, and Best Practices

This article details Ctrip's experience of adopting Swift for iOS development, covering the language's evolution, statistical adoption, static‑library integration, ObjC‑Swift mixed compilation, module stability with swiftinterface files, CI pipeline adjustments, and strategies for seamless ObjC‑Swift interoperation.

App ThinningCI integrationModule stability
0 likes · 18 min read
Integrating Swift into an Existing Objective‑C iOS App: Challenges, Solutions, and Best Practices
Youku Technology
Youku Technology
May 8, 2020 · Mobile Development

Migrating Objective‑C to Swift: Benefits, Practices, and a Practical Guide

With Swift 5’s stable ABI shrinking app bundles, developers can migrate Objective‑C code top‑down—starting at UI layers—to leverage Swift’s safety‑focused optionals, value‑type structs, powerful enums, functional and protocol‑oriented paradigms, while handling interoperability via @objc and dynamic, ultimately future‑proofing apps for SwiftUI, cross‑platform frameworks, and continued iOS/macOS relevance.

InteropObjective‑CSwift
0 likes · 13 min read
Migrating Objective‑C to Swift: Benefits, Practices, and a Practical Guide
360 Tech Engineering
360 Tech Engineering
Mar 19, 2020 · Mobile Development

Using iconFont for iOS App Icon Replacement: A Step‑by‑Step Guide

This article explains how to replace image‑based icons in iOS apps with vector icon fonts from Alibaba's iconFont service, covering selection, download, integration of the TTF file, Swift and Objective‑C usage examples, and common pitfalls such as font conflicts and licensing.

Mobile DevelopmentObjective‑CSwift
0 likes · 4 min read
Using iconFont for iOS App Icon Replacement: A Step‑by‑Step Guide
Youzan Coder
Youzan Coder
Feb 26, 2020 · Mobile Development

Mixing Swift and Objective‑C in iOS Projects: Module System, CocoaPods, and Best Practices

The article explains how, with Swift 5.1’s ABI stability, teams can combine Swift and Objective‑C in iOS apps by preferring CocoaPods‑based modular development over bridging headers, detailing the LLVM module system, modulemap setup, namespace and linking issues, and best‑practice steps for a smooth migration.

CocoaPodsMixed CompilationObjective‑C
0 likes · 12 min read
Mixing Swift and Objective‑C in iOS Projects: Module System, CocoaPods, and Best Practices
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 18, 2020 · Mobile Development

Understanding iOS Push Notifications: Remote and Local Push, History, and Implementation Details

This article provides a comprehensive overview of iOS push notification mechanisms, covering remote and local push differences, device token acquisition across iOS versions, silent push constraints, scheduling nuances, and the evolution of notification APIs from iOS 7 to iOS 13, with practical code examples.

APNSObjective‑CPush Notification
0 likes · 17 min read
Understanding iOS Push Notifications: Remote and Local Push, History, and Implementation Details
Sohu Tech Products
Sohu Tech Products
Jan 1, 2020 · Mobile Development

CocoaPods 1.9 New Features: XCFramework Support, Configuration‑Based Dependencies, Test Coverage, Swift Version Variants, and Linkage Customization

CocoaPods 1.9 introduces XCFramework support, configuration‑based podspec dependencies, test‑spec code coverage, Swift version variant handling, and a static‑linkage option for use_frameworks!, providing iOS developers with enhanced dependency management and build flexibility.

CocoaPodsSwiftXCFramework
0 likes · 6 min read
CocoaPods 1.9 New Features: XCFramework Support, Configuration‑Based Dependencies, Test Coverage, Swift Version Variants, and Linkage Customization
21CTO
21CTO
Dec 29, 2019 · Fundamentals

Which 5 Programming Languages Are Set to Dominate the Future?

Dice Insights analyzed TIOBE, RedMonk rankings and its own job database to highlight five programming languages—Swift, Kotlin, Python, Groovy, and TypeScript—that are projected to experience rapid growth and increased adoption in the coming years.

KotlinLanguage TrendsSwift
0 likes · 5 min read
Which 5 Programming Languages Are Set to Dominate the Future?
Architects Research Society
Architects Research Society
Nov 4, 2019 · Fundamentals

Programming Language Trends 2019 and Beyond: Insights on Elixir, Rust, Swift, .NET, and Emerging Infrastructure Languages

The 2019 programming language trends report analyzes the adoption stages of languages such as Elixir, Rust, Swift, .NET Core, and emerging infrastructure DSLs like Ballerina and Pulumi, offering insights for technology leaders and developers on where to invest their learning and development resources.

ElixirRustSwift
0 likes · 14 min read
Programming Language Trends 2019 and Beyond: Insights on Elixir, Rust, Swift, .NET, and Emerging Infrastructure Languages
Ctrip Technology
Ctrip Technology
Sep 19, 2019 · Mobile Development

Understanding SwiftUI: New Swift 5.1 Syntax, Opaque Result Types, Property Delegates, and Function Builders

This article explains SwiftUI's declarative UI approach by introducing Swift 5.1 language features such as Opaque Result Types, Property Delegates, and Function Builders, illustrating their implementation with code examples, and discussing component composition, data flow, preview capabilities, and future prospects for mobile development.

Declarative UIFunction BuildersProperty Wrappers
0 likes · 15 min read
Understanding SwiftUI: New Swift 5.1 Syntax, Opaque Result Types, Property Delegates, and Function Builders
21CTO
21CTO
Sep 7, 2019 · Fundamentals

Which 5 Programming Languages Are Poised to Surge in the Coming Years?

Based on Dice Insights’ analysis of TIOBE, RedMonk and internal hiring data, this article highlights five programming languages—Swift, Kotlin, Python, Groovy, and TypeScript—that are expected to experience rapid growth in the coming years, explaining the reasons behind each trend.

GroovyKotlinLanguage Trends
0 likes · 6 min read
Which 5 Programming Languages Are Poised to Surge in the Coming Years?
Big Data Technology Architecture
Big Data Technology Architecture
Aug 15, 2019 · Artificial Intelligence

Why Swift May Be the Next Big Thing in Deep Learning

The article explains why Google created Swift for TensorFlow, highlights Swift's strong backing, built‑in automatic differentiation, high performance comparable to C, seamless interoperability with Python, C and C++, low‑level hardware access, and its future role within the MLIR compiler ecosystem for deep learning.

Deep LearningInteroperabilityMLIR
0 likes · 6 min read
Why Swift May Be the Next Big Thing in Deep Learning
Sohu Tech Products
Sohu Tech Products
Jul 24, 2019 · Mobile Development

Understanding Swift Collection Protocols: StringProtocol, CustomStringConvertible, and Related Literals

This article explores Swift's collection‑type protocols, focusing on StringProtocol and related protocols such as CustomStringConvertible, CustomDebugStringConvertible, LosslessStringConvertible, and various ExpressibleBy… literals, providing code examples and explanations of their usage in mobile development.

CodeExamplesCustomStringConvertibleLosslessStringConvertible
0 likes · 10 min read
Understanding Swift Collection Protocols: StringProtocol, CustomStringConvertible, and Related Literals
Sohu Tech Products
Sohu Tech Products
Jul 17, 2019 · Mobile Development

Understanding Swift Object Creation, Method Dispatch, and Memory Layout – A C‑Style Pseudocode Exploration

This article explains how Swift objects are created and destroyed, how method calls are implemented compared with Objective‑C, the memory layout of Swift classes, the role of virtual tables, the impact of compiler optimizations, and the feasibility of runtime method replacement, illustrated with extensive C‑style pseudocode examples.

Compiler OptimizationMethod DispatchRuntime
0 likes · 34 min read
Understanding Swift Object Creation, Method Dispatch, and Memory Layout – A C‑Style Pseudocode Exploration
Sohu Tech Products
Sohu Tech Products
Jul 17, 2019 · Fundamentals

Understanding Swift Sequence and Collection Protocols: From Basics to Advanced Types

This article explains Swift's protocol‑oriented collection system, covering the Sequence and IteratorProtocol basics, demonstrating custom infinite sequences, exploring type‑erasing wrappers like AnySequence and AnyIterator, and detailing the Collection hierarchy including Collection, BidirectionalCollection, RandomAccessCollection, MutableCollection and RangeReplaceableCollection.

AnySequenceBidirectionalCollectionCollection
0 likes · 12 min read
Understanding Swift Sequence and Collection Protocols: From Basics to Advanced Types
360 Tech Engineering
360 Tech Engineering
Jul 10, 2019 · Frontend Development

The Past, Present, and Future of Front‑End Development Programming Languages

This article reviews the evolution of front‑end programming languages, discusses why extreme attitudes toward language choice hinder productive discussion, explains how platform constraints shape language selection, examines the strengths and weaknesses of JavaScript, Java, and Objective‑C, and predicts increasing convergence and cross‑platform trends among modern front‑end languages.

JavaScriptKotlinSwift
0 likes · 33 min read
The Past, Present, and Future of Front‑End Development Programming Languages
Big Data Technology Architecture
Big Data Technology Architecture
May 11, 2019 · Cloud Computing

Open Source Distributed Object Storage Solutions Overview

This article introduces the concepts of block, file, and object storage and reviews several open‑source distributed object storage solutions—including Swift, Ceph, MinIO, HBase MOB, and Hadoop Ozone—highlighting their architectures, features, and typical use cases for large‑scale data handling.

CephHBase MOBMinio
0 likes · 8 min read
Open Source Distributed Object Storage Solutions Overview
NetEase Media Technology Team
NetEase Media Technology Team
Mar 29, 2019 · Mobile Development

Integrating Siri Shortcuts into iOS Apps: A Practical Guide

This practical guide walks iOS developers through integrating Siri Shortcuts—from understanding the feature and handling bugs like the custom intent UI issue, to implementing Add‑to‑Siri buttons, watch‑face support, forced donations, intent versus NSUserActivity choices, and essential localization, enabling voice‑driven interactions on iOS 12 and later.

IntentsMobile DevelopmentSiri Shortcuts
0 likes · 16 min read
Integrating Siri Shortcuts into iOS Apps: A Practical Guide
Sohu Tech Products
Sohu Tech Products
Jan 2, 2019 · Mobile Development

iOS Performance Optimization: A New Method for Calculating Multi-line UILabel Height

This article introduces a novel approach to compute the height of multi‑line UILabels on iOS by pre‑caching character widths per font, demonstrates its implementation in Swift, compares performance against the system boundingRect method through extensive benchmarks, and shows significant speed improvements in real‑world app scenarios.

SwiftUILabeliOS
0 likes · 13 min read
iOS Performance Optimization: A New Method for Calculating Multi-line UILabel Height
Meituan Technology Team
Meituan Technology Team
Nov 1, 2018 · Mobile Development

Understanding Swift Performance: Allocation, Reference Counting, and Dispatch

Swift performance hinges on allocation choices, ARC overhead, and method dispatch, so using stack‑allocated structs instead of heap‑allocated classes, applying final or private to force static dispatch, leveraging protocol‑oriented containers, specializing generics, and enabling whole‑module optimization together yield faster, more efficient iOS code.

DispatchGenericsMemory Management
0 likes · 26 min read
Understanding Swift Performance: Allocation, Reference Counting, and Dispatch
UC Tech Team
UC Tech Team
Sep 28, 2018 · Mobile Development

Swift 4.2 Released: New Features, Improvements, and Migration Guide

Swift 4.2 has been officially released, bringing faster compilation, enhanced debugging, extensive standard‑library updates, binary‑compatibility progress, numerous language and compiler enhancements, new Swift Package Manager capabilities, and clear migration guidance for developers moving from earlier Swift versions.

Programming LanguageSwiftSwift 4.2
0 likes · 6 min read
Swift 4.2 Released: New Features, Improvements, and Migration Guide
Qunar Tech Salon
Qunar Tech Salon
Jul 2, 2018 · Mobile Development

Qunar Developers' Takeaways from WWDC 2018: ARKit 2.0, Swift, Core ML, Siri Shortcuts, and watchOS 5

At WWDC 2018 Qunar developers Jiang Zhuo and Zhang Zitian reported on Apple’s new software features—including iOS 12 performance improvements, ARKit 2.0 enhancements, Swift updates, Core ML advances, Siri Shortcuts, and watchOS 5—while discussing their relevance for mobile and AR app development.

ARKitCore MLMobile Development
0 likes · 10 min read
Qunar Developers' Takeaways from WWDC 2018: ARKit 2.0, Swift, Core ML, Siri Shortcuts, and watchOS 5
Snowball Engineer Team
Snowball Engineer Team
Jun 22, 2018 · Mobile Development

Converting CocoaPods and Carthage Dependencies to Static Libraries in an iOS Swift Project

This article explains how the Egg Roll Fund iOS project migrated its mixed CocoaPods and Carthage dependencies from dynamic frameworks to static libraries using CocoaPods 1.5’s use_modular_headers! flag, manual bridging‑header adjustments, and a Carthage static‑library script, resulting in faster startup and smaller app size.

CarthageCocoaPodsMobile Development
0 likes · 7 min read
Converting CocoaPods and Carthage Dependencies to Static Libraries in an iOS Swift Project
Liulishuo Tech Team
Liulishuo Tech Team
Apr 25, 2018 · Fundamentals

Mastering Swift 4.1: Recursive Associated Types and Type Erasers Explained

Swift 4.1 finally supports recursive constraints on associated types, allowing protocols like Sequence to define SubSequence in terms of itself; this article explains the new syntax, demonstrates a minimal DummySequence implementation, and shows how type‑erasing wrappers such as AnySequence and a custom AnyList enable heterogeneous collections.

Associated TypesGenericsSequence
0 likes · 8 min read
Mastering Swift 4.1: Recursive Associated Types and Type Erasers Explained
Liulishuo Tech Team
Liulishuo Tech Team
Apr 19, 2018 · Mobile Development

Using Swift 4.1 JSONEncoder/JSONDecoder KeyEncodingStrategy to Bridge Snake_case and CamelCase and Create Custom Key Strategies

This article explains how Swift 4.0 introduced Codable, how Swift 4.1 added keyEncodingStrategy and keyDecodingStrategy to automatically convert between snake_case and camelCase, and how to implement custom key transformations such as PascalCase using the .custom strategy.

CodableJSONKeyEncodingStrategy
0 likes · 9 min read
Using Swift 4.1 JSONEncoder/JSONDecoder KeyEncodingStrategy to Bridge Snake_case and CamelCase and Create Custom Key Strategies
Liulishuo Tech Team
Liulishuo Tech Team
Apr 13, 2018 · Fundamentals

Understanding Compiler Synthesis of Equatable and Hashable in Swift 4.1

This article explains how Swift 4.1's compiler can automatically synthesize Equatable and Hashable implementations, the necessary conditions, examples of enums and structs, the limitations of synthesis, and how developers can override or supplement the generated code for better performance and correctness.

EquatableSwiftSynthesis
0 likes · 8 min read
Understanding Compiler Synthesis of Equatable and Hashable in Swift 4.1
Liulishuo Tech Team
Liulishuo Tech Team
Apr 11, 2018 · Mobile Development

Understanding map, flatMap, and compactMap in Swift

This article explains the differences between map, flatMap, and compactMap in Swift, covering the three overloads of flatMap, their behavior with sequences and optionals, the rationale behind renaming one overload to compactMap, and when to prefer optional chaining versus optional mapping.

MAPSwiftcompactMap
0 likes · 8 min read
Understanding map, flatMap, and compactMap in Swift
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
Mar 15, 2018 · Mobile Development

What iOS Development Trends Will Shape 2018 and Beyond?

The article outlines emerging iOS development trends for 2018, including ARKit-powered augmented reality, CoreML machine‑learning integration, Swift 4 enhancements, Apple Pay adoption, and HomeKit home‑automation, while reflecting on 2017's device releases and iOS 11 updates.

ARKitApple PayCoreML
0 likes · 5 min read
What iOS Development Trends Will Shape 2018 and Beyond?
Baixing.com Technical Team
Baixing.com Technical Team
Dec 18, 2017 · Mobile Development

Simplify Complex UICollectionView Layouts with IGListKit

This article explains how IGListKit can replace cumbersome UICollectionView data‑source code with a data‑driven framework, showing step‑by‑step Swift examples for building a two‑column video grid, handling ads, animations, diffing, and advanced section controllers.

IGListKitListAdapterSwift
0 likes · 17 min read
Simplify Complex UICollectionView Layouts with IGListKit
JD Retail Technology
JD Retail Technology
Nov 14, 2017 · Mobile Development

Understanding Drag & Drop in iOS: Concepts, APIs, and Implementation

This article explains the iOS Drag & Drop interaction model, covering its core concepts, system integration, multi‑touch features, and step‑by‑step implementation using UIKit APIs such as UIDragInteraction, UIDropInteraction, and NSItemProvider with Swift code examples.

Drag-and-DropSwiftUIDragInteraction
0 likes · 12 min read
Understanding Drag & Drop in iOS: Concepts, APIs, and Implementation
Tencent TDS Service
Tencent TDS Service
Nov 2, 2017 · Mobile Development

Advanced iOS Auto Layout: Runtime Changes, Gestures, Dynamic Type & Safe Area

This article walks iOS developers through six advanced Auto Layout techniques—including runtime constraint changes, touch‑tracking gestures, Dynamic Type support, Safe Area usage, proportional positioning with spacer views, and adaptive Stack View layouts—providing code samples, Interface Builder tips, and practical examples.

Auto LayoutInterface BuilderSwift
0 likes · 21 min read
Advanced iOS Auto Layout: Runtime Changes, Gestures, Dynamic Type & Safe Area
21CTO
21CTO
Sep 7, 2017 · Fundamentals

Inside the Mind of Chris Lattner: From LLVM to Swift and Beyond

This article presents an in‑depth interview with Chris Lattner, covering his education, the creation of LLVM, the birth of Swift, his management philosophy, ABI stability, and the future of Swift across platforms, offering valuable insights into modern compiler and language design.

Chris LattnerCompiler designLLVM
0 likes · 30 min read
Inside the Mind of Chris Lattner: From LLVM to Swift and Beyond
Hujiang Technology
Hujiang Technology
Jun 14, 2017 · Mobile Development

New Features and Improvements in Swift 4

This article comprehensively outlines Swift 4’s new syntax, language enhancements, standard‑library updates, performance improvements, and Xcode 9 build‑system changes, providing code examples and explanations to help iOS developers adopt the latest features in modern app development.

LanguageFeaturesSwiftSwift4
0 likes · 21 min read
New Features and Improvements in Swift 4
Liulishuo Tech Team
Liulishuo Tech Team
Jun 6, 2017 · Mobile Development

Insights from Liulishuo iOS Engineers Visiting WWDC 2017

Three Liulishuo iOS engineers attended WWDC 2017 and report on Apple’s new iPad productivity features, App Store redesign, Swift updates, Xcode enhancements, and the introduction of CoreML, ARKit, and HomePod, offering developers valuable insights into the evolving iOS ecosystem.

ARKitCoreMLSwift
0 likes · 9 min read
Insights from Liulishuo iOS Engineers Visiting WWDC 2017
Hujiang Technology
Hujiang Technology
May 22, 2017 · Mobile Development

Comparing Swift and Kotlin: A Developer’s Perspective

The article compares Swift and Kotlin, highlighting their similarities and differences for developers familiar with either language, and argues that programming languages are merely tools that should be chosen based on platform needs rather than personal bias.

ComparisonKotlinMobile Development
0 likes · 3 min read
Comparing Swift and Kotlin: A Developer’s Perspective
Qunar Tech Salon
Qunar Tech Salon
Feb 16, 2017 · Backend Development

Building a RESTful API with Perfect in Swift: A Server‑Side Development Guide

This article walks through building a RESTful API using the Perfect framework in Swift, covering framework comparison, environment setup with Docker, project initialization, routing, database integration via MySQL‑Swift, error handling, logging, deployment, and lessons learned from server‑side Swift development.

DockerPerfectRESTful API
0 likes · 18 min read
Building a RESTful API with Perfect in Swift: A Server‑Side Development Guide
21CTO
21CTO
Apr 27, 2016 · Mobile Development

Run Your First Swift “Hello, World” on Android: Step‑by‑Step Guide

This tutorial explains how to compile the Swift standard library for Android armv7, build required dependencies, create a simple Swift program, deploy the binaries via ADB, and successfully run a "Hello, Android" application on an Android device.

AndroidSwiftTutorial
0 likes · 9 min read
Run Your First Swift “Hello, World” on Android: Step‑by‑Step Guide