Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Objective-C Runtime Hacking
Search
Błażej Biesiada
July 04, 2013
Programming
480
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Objective-C Runtime Hacking
A short introduction into Objective-C runtime programming.
Błażej Biesiada
July 04, 2013
More Decks by Błażej Biesiada
See All by Błażej Biesiada
Safer Objective-C
bejo
0
130
Other Decks in Programming
See All in Programming
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
560
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
Domain-Driven Transformation
hschwentner
2
2.3k
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.1k
golang-bob.pdf
iwatsukayura
0
130
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
340
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
APNsからLive Activityを開始する話
yumnumm
0
170
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
ChromeでローカルLLM
ryu1013
0
140
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
WENDY [Excerpt]
tessaabrams
14
40k
New Earth Scene 8
popppiees
4
2.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
Abbi's Birthday
coloredviolet
4
10k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
Deep Space Network (abreviated)
tonyrice
0
370
Art, The Web, and Tiny UX
lynnandtonic
304
22k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
[[ObjC runtime] hacking] Błażej Biesiada @_bejo bejo
What is Runtime? ObjC Application Assembler C
What is Runtime? ObjC Application Assembler C Runtime
APIs
APIs • NSObject methods • -class • -isKindOfClass: • etc.
...
APIs • NSObject methods • -class • -isKindOfClass: • etc.
... • Runtime functions • objc_lookUpClass • class_getName • etc. ...
Demo http://github.com/bejo/BBBRuntimeNavigator
Your own root objects NS_ROOT_CLASS @interface KRKObject { Class!isa; }
@end
So... how does KVO work?
So... how does KVO work? • objc_registerClassPair
So... how does KVO work? • objc_registerClassPair • class_setSuperclass
So... how does KVO work? • objc_registerClassPair • class_setSuperclass •
class_addMethod
Associative References
Associative References • objc_setAssociatedObject
Associative References • objc_setAssociatedObject • objc_getAssociatedObject
Associative References • objc_setAssociatedObject • objc_getAssociatedObject • Google: associative references
category
None
• Objective-C Runtime Programming Guide • Objective-C Runtime Reference •
Friday Q&A by Mike Ash
Thanks!