Tagged articles
3 articles
Page 1 of 1
Meituan Technology Team
Meituan Technology Team
Nov 8, 2018 · Mobile Development

iOS Component Communication: Category Techniques, Dependency Inversion, and Risk Management

The article explains how Objective‑C Categories can implement a low‑overhead, type‑safe communication layer between iOS components, compares alternative patterns like DI, SPI and NotificationCenter, presents performance data, and proposes two Category‑based schemes with tooling to detect method‑name conflicts and ensure maintainable modular architecture.

CategoryDependency InversionLinkMap
0 likes · 31 min read
iOS Component Communication: Category Techniques, Dependency Inversion, and Risk Management
Meituan Technology Team
Meituan Technology Team
Mar 4, 2015 · Mobile Development

Deep Dive into Objective‑C Runtime: Understanding Categories and Their Loading Mechanism

The article explains Objective‑C categories by detailing their definition, compile‑time vs runtime differences, internal struct representation, how the compiler emits metadata, the loading and +load ordering process, method overriding mechanics, and the use of associated objects for adding state.

Associated ObjectsCategoryMethod Swizzling
0 likes · 18 min read
Deep Dive into Objective‑C Runtime: Understanding Categories and Their Loading Mechanism