mick@next:~$/* Rediscovering the language that built the future */
/Developer/Documentation/Objective-C
📦

Objective-C Archives

/* Rediscovering the language that built the future */

mick@next:~/objc$ls -la articles/
drwxr-xr-x 19 articles Mar 19, 2026
-rw-r--r--
Nullability Annotations in Objective-C.m

// Objective-C's nullability annotations tell the compiler which pointers can be nil. They catch bugs at compile time and make your code bridge to Swift cleanly.

February 10, 2026@Objective-C@Swift Interop@Type Safety
-rw-r--r--
Lightweight Generics in Objective-C.m

// Objective-C's lightweight generics let you specify element types for collections like NSArray<NSString *>. They catch type mismatches at compile time and improve Swift bridging.

January 30, 2026@Objective-C@Type Safety@Swift Interop
-rw-r--r--
Operator Precedence Gotchas When Moving Between Swift and Objective-C.m

// A refactoring mishap with arithmetic expressions led me down the rabbit hole of operator precedence differences between Swift and Objective-C. Here's what to watch for.

January 12, 2026@Swift@Objective-C@Migration
-rw-r--r--
Defensive Coding with NSError in Objective-C.m

// NSError is the standard error handling mechanism in Objective-C, but using it defensively requires more than just passing a pointer. Learn patterns that prevent crashes and make debugging easier.

October 22, 2025@Objective-C@Error Handling@Best Practices
-rw-r--r--
nil vs Nil vs NULL vs NSNull in Objective-C.m

// Objective-C has four ways to represent nothing. Understanding when to use each prevents subtle bugs and clarifies your code's intent.

November 18, 2024@Objective-C@Fundamentals@Memory
-rw-r--r--
Key-Value Observing Deep Dive.m

// KVO lets you observe property changes without delegation or notifications. Here's how it works under the hood and how to use it correctly.

December 12, 2023@Objective-C@Foundation@Advanced
-rw-r--r--
Blocks - Closures Before Swift Existed.m

// Before Swift closures, Objective-C had blocks. The syntax is different, but the power is the same. Here's how to use them effectively.

November 17, 2023@Objective-C@Concurrency@Fundamentals
-rw-r--r--
The NSObject Class Hierarchy Explained.m

// Every Objective-C class inherits from NSObject (usually). Here's what NSObject provides and why it matters for every object you create.

October 5, 2023@Objective-C@Foundation@Fundamentals
-rw-r--r--
Categories vs Class Extensions in Objective-C.m

// Both let you add methods to classes, but categories and class extensions serve different purposes. Here's when to use each.

August 29, 2023@Objective-C@Fundamentals@Best Practices
-rw-r--r--
Message Passing - The Heart of Objective-C.m

// Unlike C++ virtual methods, Objective-C uses dynamic message passing. Understanding this mechanism unlocks the language's full power.

July 11, 2023@Objective-C@Runtime@Fundamentals
-rw-r--r--
Understanding Retain Cycles in Objective-C.m

// Retain cycles are the most common memory leak in Objective-C. Learn how they form, how to detect them, and patterns that prevent them.

May 18, 2023@Objective-C@Memory@ARC
-rw-r--r--
Namespacing in Objective-C - The Prefix Problem.m

// Objective-C lacks namespaces, so the community invented conventions. Here's how prefixes and other patterns help avoid collisions in a flat symbol space.

April 6, 2023@Objective-C@Best Practices@Architecture
-rw-r--r--
The 10 Longest Symbol Names in Apple's Frameworks.m

// Objective-C is famous for verbose naming. Let's celebrate (or mourn) the longest method and class names hiding in Apple's standard libraries.

February 14, 2023@Objective-C@Humor@Apple Frameworks
-rw-r--r--
Why Objective-C Has try-catch But Nobody Uses It.m

// Objective-C supports exception handling with @try/@catch, but the community settled on NSError pointers instead. Here's why.

January 27, 2023@Objective-C@Error Handling@Best Practices
-rw-r--r--
Ways to Shoot Yourself in the Foot with Method Swizzling.m

// Swizzling is powerful but dangerous. Here are the common pitfalls and how to avoid turning your clever hack into a debugging nightmare.

November 3, 2022@Objective-C@Runtime@Debugging
-rw-r--r--
The Power of Method Swizzling in Objective-C.m

// Method swizzling lets you replace method implementations at runtime. Here's how it works and when this powerful technique shines.

September 19, 2022@Objective-C@Runtime@Advanced
-rw-r--r--
Class Clusters in Objective-C - The Pattern Behind Foundation.m

// Understand the class cluster pattern that makes NSString, NSArray, and NSDictionary work, and learn how to implement your own.

July 8, 2022@Objective-C@Design Patterns@Foundation
-rw-r--r--
NSTaggedPointerString - The Hidden Optimization You've Never Heard Of.m

// Discover how the Objective-C runtime secretly stores small strings directly in pointer values, eliminating heap allocations entirely.

May 22, 2022@Objective-C@Memory@Performance
-rw-r--r--
Barrier Queues in GCD - Thread-Safe Collections Without Locks.m

// Learn how dispatch barrier queues provide elegant reader-writer synchronization in Objective-C without explicit locks or semaphores.

March 15, 2022@Objective-C@Concurrency@GCD
mick@next:~/objc$ EOF