How darlinghq/darling-objc4 works
This repository implements Apple’s Objective-C runtime: applications use its public runtime API to inspect and modify classes, methods, ivars, and protocols, while the runtime supplies message dispatch and object-lifecycle behavior. The graph preserves the newer and legacy runtime implementations, object and platform support, and central hash-map utilities. There is no README, and most runtime implementation files were not sampled, so internal links are limited to relationships shown by excerpts or the SOURCE INDEX.
Main entry points: objc-private.h Private Core · llvm-DenseMap.h Dense Map · objc-config.h Runtime Configuration · objc-runtime-new.h Modern Runtime
Components 21
Runtime API
- Runtime API
runtime/runtime.h - Internal API
runtime/objc-internal.h
Classes And Dispatch
- Private Core
runtime/objc-private.h - Modern Runtime
runtime/objc-runtime-new.h - Legacy Runtime
runtime/objc-runtime-old.h - Message Dispatch
runtime/message.h - Class Metadata
runtime/objc-class.h
Object Lifecycle
- Object Representation
runtime/objc-object.h - Isa Encoding
runtime/isa.h - Weak References
runtime/objc-weak.h - Automatic Memory
runtime/objc-auto.h - Synchronization
runtime/objc-sync.h
Runtime Support
- Platform Support
runtime/objc-os.h - Runtime Configuration
runtime/objc-config.h - Legacy Hash Tables
runtime/hashtable2.h - Dense Map
runtime/llvm-DenseMap.h - Map Key Traits
runtime/llvm-DenseMapInfo.h - Type Traits
runtime/llvm-type_traits.h - Math Utilities
runtime/llvm-MathExtras.h - Pointer Union
runtime/PointerUnion.h
Other components
- Objective-C Application
Connections 18
- Objective-C Application → Runtime API: uses
runtime/runtime.h - Objective-C Application → Internal API: uses SPI
runtime/objc-internal.h - Private Core → Runtime API: includes
runtime/objc-private.h - Private Core → Internal API: includes
runtime/objc-private.h - Private Core → Modern Runtime: includes
runtime/objc-private.h - Private Core → Legacy Runtime: includes
runtime/objc-private.h - Private Core → Object Representation: includes
runtime/objc-private.h - Private Core → Platform Support: includes
runtime/objc-private.h - Private Core → Runtime Configuration: includes
runtime/objc-private.h - Legacy Runtime → Legacy Hash Tables: uses
runtime/objc-runtime-old.h - Modern Runtime → Pointer Union: uses
runtime/objc-runtime-new.h - Object Representation → Private Core: includes
runtime/objc-object.h - Isa Encoding → Runtime Configuration: configures
runtime/isa.h - Weak References → Runtime Configuration: configures
runtime/objc-weak.h - Dense Map → Type Traits: uses
runtime/llvm-DenseMap.h - Dense Map → Math Utilities: uses
runtime/llvm-DenseMap.h - Dense Map → Map Key Traits: uses
runtime/llvm-DenseMap.h - Map Key Traits → Type Traits: uses
runtime/llvm-DenseMapInfo.h