objective-c
Installation
SKILL.md
Objective-C
Objective-C is in maintenance mode. New features are rare, but it powers the Apple ecosystem's foundation. It allows mixing C++ (.mm) loosely.
When to Use
- Legacy iOS/macOS: Maintaining apps created before 2014.
- C++ Interop: Obj-C++ is often the bridge between C++ engines and Swift.
- Runtime Swizzling: Dynamic method replacement (used by Analytics SDKs).
Core Concepts
Message Passing
[object method:argument]. Dynamic binding at runtime.
ARC
Automatic Reference Counting. (Retain/Release).