May 16, 2021, 8:54 AM
An Objective-C class with dynamic storage. Describes how to create method implementations at runtime, using functions such as resolveInstanceMethod and class_addMethod.
Parsing JSON Safely
Feb 14, 2021, 8:30 AM
How to ensure that a malformed network payload can never crash your app.
State Machines in Swift
Jan 3, 2021, 8:20 AM
Implementing a trivial state machine in Swift.
Implementing Key-Value Coding
Aug 1, 2020, 12:34 PM
Using the Objective-C runtime to read and write property values dynamically.
Type Encodings Explained
Jul 5, 2020, 11:23 AM
The @encode directive and how Objective-C encodes type details.
Inspecting Objective-C Properties
Jun 14, 2020, 4:04 AM
Using the Objective-C runtime to inspect properties of a class, and creating a convenience wrapper to work with them.
The Objective-C Runtime in Practice
May 3, 2020, 5:21 AM
An introduction to the practical uses of the Objective-C runtime.