JD Retail Technology
Jul 14, 2021 · Fundamentals
Understanding Objective‑C Categories: Implementation, Load and Initialize Mechanisms
This article explains the internal structure of Objective‑C categories, how they are represented as structs in the runtime, the process by which the Mach‑O loader discovers and attaches them, and the distinct execution order of their +load and +initialize methods.
CategoryInitialize MethodLoad Method
0 likes · 17 min read