seniorObjective-C
How does objc runtime store class metadata internally?
Updated May 17, 2026
Short answer
Class metadata is stored in structures containing isa pointer, superclass, method lists, and caches.
Deep explanation
Each Objective-C class is represented by a struct containing an isa pointer (to metaclass), superclass pointer, method list, property list, protocol list, and cache. This structure is dynamically updated at runtime, allowing method addition and swizzling.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro