Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Objective-C Runtime Hacking
Search
Błażej Biesiada
July 04, 2013
Programming
1
460
Objective-C Runtime Hacking
A short introduction into Objective-C runtime programming.
Błażej Biesiada
July 04, 2013
Tweet
Share
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
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
Grafana:建立系統全知視角的捷徑
blueswen
0
330
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.1k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
270
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Architectural Extensions
denyspoltorak
0
280
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
Oxlint JS plugins
kazupon
1
860
「ブロックテーマでは再現できない」は本当か?
inc2734
0
930
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
Featured
See All Featured
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
140
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
64
The Pragmatic Product Professional
lauravandoore
37
7.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
HDC tutorial
michielstock
1
370
Design in an AI World
tapps
0
140
BBQ
matthewcrist
89
10k
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!