The Objective-C runtime is a powerful beast. Often seen as “hacking”, it’s none of that: it’s the foundation of the platform. All your apps can benefit from it, from automating tedious tasks to generating user interfaces.
I gave this talk to Cocoaheads Montreal to show the audience concrete examples of design patterns using the runtime.
Developers should not be scared of it, they should embrace it!
3 Comments
Salut, très intéressante préso. Je me demandais quels sont ces objets avec le préfixe “CK” dans la présentation.
S’agit-il d’un quelconque framework que vous avez développé pour prendre avantage du runtime, tel que décrit?
Effectivement, le préfix Ck est pour App/CoreKit qui est un de nos frameworks de développement interne.
J’ai mis quelques samples dans la présentation qui utilisent notre Api afin de montrer que l’on peut évidemment construire une facade simple et claire au dessus du runtime !
Here are a few links with open source examples of objects using runtime to automate lazy task using properties. This gives you more details on how to do this.
https://github.com/nfarina/modelobject
https://github.com/andrep/RMModelObject
Happy coding !