seniorObjective-C
How does Objective-C handle binary linking of categories at runtime?
Updated May 17, 2026
Short answer
Categories are loaded by dyld and merged into class method lists at runtime.
Deep explanation
During binary loading, dyld registers category methods and appends them to existing class method lists. There is no compile-time merging. This dynamic injection enables extending system classes but can cause method collisions.
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