Objective c
Objective-C for legacy iOS/macOS development with manual memory. Use for .m files.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill objective-cAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 246 tokens by cl100k_base, as published. Nobody here has run it
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).
Headers
.h (interface) and .m (implementation).
Best Practices (2025)
Do:
- Use Nullability Annotations:
nullable,nonnullto aid Swift interop. - Use Modern Syntax:
@[@"a", @"b"]for arrays. - Migrate to Swift: New features should be written in Swift.
Don't:
- Don't use manual retain/release: Always ensure ARC is on.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.