Episode 23: Mike Ash On The Objective-C Runtime, Objects and the Runtime, Message Sending And “No Such Method”
Mike Ash’s “Friday Q&A” series of blog posts is a staple for anyone wanting to master iPhone (and Mac) programming. In this interview — inspired by a handful of his posts — Mike describes the Objective-C runtime. The runtime makes Objective-C dynamic. Mike describes the runtime in broad terms, dives into how objects are created and managed at runtime, details what happens when you send a message to an object, and explains how to can handle “no such method” cases dynamically at runtime.