Video Tutorial: Objective-C Runtime

Ray Wenderlich


Your challenge is add some code to programmatically log out the methods of DateCalculator.

Hint: To do this, you will need to use class_copyMethodList and method_getName.

Download demo code

Download challenge solution

Helpful links


  • At around 12:14 I say “and what this means is that you’re trying to call a method on an object that doesn’t exist.” That sentence is a little ambiguous – what I mean is you’re trying to call a method that doesn’t exist on an object.
Ray Wenderlich

Ray is part of a great team - the team, a group of over 100 developers and editors from across the world. He and the rest of the team are passionate both about making apps and teaching others the techniques to make them.

When Ray’s not programming, he’s probably playing video games, role playing games, or board games.

Other Items of Interest Weekly

Sign up to receive the latest tutorials from each week, and receive a free epic-length tutorial as a bonus!

Advertise with Us!

PragmaConf 2016 Come check out Alt U

Our Books

Our Team

Video Team

... 26 total!

iOS Team

... 80 total!

Android Team

... 35 total!

Unity Team

... 16 total!

Articles Team

... 4 total!

Resident Authors Team

... 29 total!

Podcast Team

... 7 total!

Recruitment Team

... 9 total!