Tag

iOS

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jun 11, 2025 · Fundamentals

Mastering iOS Locks: Types, Usage, and Performance Comparison

This article explains the relationship between locks and multithreading on iOS, introduces common lock types such as NSRecursiveLock, NSConditionLock, OSSpinLock, os_unfair_lock, pthread_mutex, and @synchronized, demonstrates resource contention with code examples, discusses lock selection, priority inversion, and provides a performance ranking of various locks.

LocksconcurrencyiOS
0 likes · 22 min read
Mastering iOS Locks: Types, Usage, and Performance Comparison
DataFunTalk
DataFunTalk
Jun 10, 2025 · Artificial Intelligence

Why Apple’s WWDC AI Rollout Missed the Mark and Sank $750 B in Market Value

Apple’s WWDC revealed delayed Siri updates, a new Xcode 26 with built‑in ChatGPT, and a Foundation Models framework, but investors were disappointed, causing a $750 billion market‑cap drop and sparking criticism that Apple’s AI strategy lags behind competitors.

AppleArtificial IntelligenceFoundation Models
0 likes · 7 min read
Why Apple’s WWDC AI Rollout Missed the Mark and Sank $750 B in Market Value
Tencent Cloud Developer
Tencent Cloud Developer
Jun 10, 2025 · Mobile Development

How Tencent’s ovCompose & KuiklyBase Enable Seamless Cross‑Platform Apps on Android, iOS, and HarmonyOS

This article introduces ovCompose and KuiklyBase, Tencent Video's cross‑platform development framework built on Compose Multiplatform, explains the background, key advantages, implementation details, performance optimizations for Android, iOS and HarmonyOS, provides repository information and outlines future plans.

Cross‑PlatformHarmonyOSKotlin
0 likes · 19 min read
How Tencent’s ovCompose & KuiklyBase Enable Seamless Cross‑Platform Apps on Android, iOS, and HarmonyOS
Sohu Tech Products
Sohu Tech Products
May 21, 2025 · Mobile Development

Compose Multiplatform 1.8.0 for iOS: Stable Release, Performance Benchmarks, and New Features

Compose Multiplatform 1.8.0 brings a stable, production‑ready iOS version with performance comparable to native apps, concurrent rendering, Kotlin/Native compilation, Skia‑based UI, extensive iOS‑specific enhancements, hot‑reload support, and adoption by major teams, marking a significant milestone for cross‑platform mobile development.

KotlinMobile Developmentcompose multiplatform
0 likes · 6 min read
Compose Multiplatform 1.8.0 for iOS: Stable Release, Performance Benchmarks, and New Features
Sohu Tech Products
Sohu Tech Products
Apr 9, 2025 · Mobile Development

DRM (FairPlay) Implementation and Key Management on iOS

The article explains iOS FairPlay DRM implementation, detailing the encryption workflow, SPC/CKC exchange, and key terminology, and compares two key‑management methods—AVAssetResourceLoader and the newer AVContentKeySession—while covering usage scenarios such as on‑demand, pre‑warming, offline playback, persistable keys, and video downloading via AVAssetDownloadTask.

AVFoundationContentKeyDRM
0 likes · 21 min read
DRM (FairPlay) Implementation and Key Management on iOS
IT Services Circle
IT Services Circle
Apr 4, 2025 · Fundamentals

Understanding iOS Low Power Mode and How to Automate It

This article explains the purpose and effects of iOS Low Power Mode, lists the system functions it restricts, shows performance impact measured by Geekbench, and provides a step‑by‑step guide to create an automation that enables the mode when battery level falls below a chosen threshold.

Battery SavingLow Power Modeautomation
0 likes · 5 min read
Understanding iOS Low Power Mode and How to Automate It
Sohu Tech Products
Sohu Tech Products
Apr 2, 2025 · Mobile Development

Static Code Analysis Tools for iOS Development – Comparison, Pros, Cons, and Usage

The article reviews open‑source static analysis options for iOS, then compares SonarQube, Infer, and Clang Static Analyzer, outlining each tool’s language support, advantages, drawbacks, CI/CD integration, and practical usage to help teams choose the best solution based on project size, language mix, and reporting needs.

CI/CDClang AnalyzerSonarQube
0 likes · 27 min read
Static Code Analysis Tools for iOS Development – Comparison, Pros, Cons, and Usage
DeWu Technology
DeWu Technology
Mar 31, 2025 · Mobile Development

Analyzing and Optimizing iOS dyld BuildingClosure to Reduce Startup Time

The DeWu Tech article dissects iOS’s dyld BuildingClosure stage, shows how hash‑collision‑laden selector strings inflate its runtime, and demonstrates that renaming the colliding selectors reduces perfect‑hash iterations, cutting the phase’s duration by roughly 80% and noticeably speeding up app startup.

dyldiOSperfect hash
0 likes · 11 min read
Analyzing and Optimizing iOS dyld BuildingClosure to Reduce Startup Time
Java Tech Enthusiast
Java Tech Enthusiast
Mar 24, 2025 · Mobile Development

Vibe Coding: Building an iOS Calorie‑Tracker App with ChatGPT in 400 Lines

Vibe Coding, popularized by Andrej Karpathy’s 400‑line iOS calorie‑tracker built entirely through conversational prompts with ChatGPT, showcases a hands‑off workflow—initializing a project, adding core features, persisting data, and deploying—while the broader community replicates the approach, underscoring both AI’s rapid prototyping power and the continued need for professional code review and maintenance.

AI-assisted developmentChatGPTRapid Prototyping
0 likes · 9 min read
Vibe Coding: Building an iOS Calorie‑Tracker App with ChatGPT in 400 Lines
Baidu Geek Talk
Baidu Geek Talk
Jan 22, 2025 · Mobile Development

iOS Sandbox Disk Management and Cleaning Strategies

The article explains iOS sandbox storage by detailing the four main directories, their backup rules, naming conventions, and retrieval APIs, then outlines how to calculate physical file size and implements both automatic quota‑based and manual user‑driven cleaning methods, including system cache removal for tmp, WKWebView, and dyld caches.

Cache CleaningDisk ManagementSandbox
0 likes · 22 min read
iOS Sandbox Disk Management and Cleaning Strategies
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 LayoutMasonryMobile Development
0 likes · 2 min read
Masonry Layout Framework: Bundle Size Impact and Optimization Solutions
Python Programming Learning Circle
Python Programming Learning Circle
Dec 2, 2024 · Mobile Development

Developing a Python Mobile App with Kivy and Buildozer: Installation, First App, and Packaging Tips

This guide walks through preparing the Kivy development environment on macOS and CentOS, creating a simple hello‑world Python app, installing and using Buildozer to package the app for Android (and iOS), and troubleshooting common build issues with code examples and virtual‑machine recommendations.

BuildozerKivyMobile Development
0 likes · 12 min read
Developing a Python Mobile App with Kivy and Buildozer: Installation, First App, and Packaging Tips
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.

AutoreleasePoolLeaksSwift
0 likes · 17 min read
Beginner's Guide to iOS Memory Analysis: Virtual Memory, Heap, Autoreleasepool, and Leaks
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 20, 2024 · Mobile Development

How to Implement iOS Screen Sharing with ReplayKit: A Step‑by‑Step Guide

This article explains the background, evolution, and implementation steps of iOS screen sharing using Apple's ReplayKit framework, covering cross‑app sharing architecture, extension setup, data handling, UI controls, and key development considerations such as memory limits and inter‑process communication.

Mobile DevelopmentReplayKitScreen Sharing
0 likes · 8 min read
How to Implement iOS Screen Sharing with ReplayKit: A Step‑by‑Step Guide
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 PluginMacro
0 likes · 20 min read
Understanding Swift Macros in Swift 5.9 and Their Applications
Sohu Tech Products
Sohu Tech Products
Oct 18, 2024 · Mobile Development

iOS Live Activities Complete Implementation Guide with ActivityKit

This guide explains how to configure a Swift‑only target, define ActivityKit attributes, implement lock‑screen and Dynamic Island UI with ActivityConfiguration, manage creation, updates, and dismissal, handle permissions and server‑side push payloads, and work around network‑image restrictions using shared App Group storage.

ActivityKitDynamic IslandLive Activities
0 likes · 13 min read
iOS Live Activities Complete Implementation Guide with ActivityKit
Python Programming Learning Circle
Python Programming Learning Circle
Oct 18, 2024 · Mobile Development

Developing and Packaging a Python Kivy App for Android and iOS with Buildozer

This tutorial explains how to set up the Kivy development environment on macOS, Linux, and CentOS, create a simple hello‑world Python app, test it, install Buildozer, and use it to package the app into an Android APK (or iOS build), including common pitfalls and fixes.

BuildozerKivyMobile Development
0 likes · 11 min read
Developing and Packaging a Python Kivy App for Android and iOS with Buildozer
DeWu Technology
DeWu Technology
Oct 16, 2024 · Mobile Development

iOS Dynamic Privacy Function Call Stack Symbolization Optimization Plan

To meet tightening privacy regulations, the team is optimizing iOS dynamic privacy checks by replacing the CPU‑intensive +[NSThread callStackSymbols] method with a low‑overhead, non‑blocking stack‑symbolization solution that maintains compliance testing speed and prevents device slowdown during large‑scale automated gray‑release scans.

BSBacktraceLoggerDynamic DetectionStack Analysis
0 likes · 22 min read
iOS Dynamic Privacy Function Call Stack Symbolization Optimization Plan
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
Java Tech Enthusiast
Java Tech Enthusiast
Sep 8, 2024 · Mobile Development

Running Windows XP on iPad with UTM SE Emulator

Apple’s 2024 policy change let the UTM SE emulator, which uses a threaded interpreter instead of JIT, run Windows XP and other OSes on iPad, iPhone and VisionOS, though the app is about 60 % slower than full UTM and feels sluggish, yet classic games still play smoothly.

Mobile DevelopmentPC emulatorUTM SE
0 likes · 7 min read
Running Windows XP on iPad with UTM SE Emulator