layout | title | parent |
---|---|---|
default |
Method Dispatch |
Swift |
Dynamic dispatch is nothing new to the polymorphic programming world. The variety of dynamic dispatch mechanisms in iOS, owing to a blend of Objective-C & Swift runtimes each working its part, makes this an interesting topic to explore nonetheless.
The intended objective is to examine the 4 different types of dynamic dispatch mechanisms:
- Objective-C RunTime Message Dispatch
- Swift RunTime Method Dispatch
- Static Dispatch
- Inlining