Peter Steinberger 6/10/2020

Calling Super at Runtime in Swift

Read Original

This technical article details the author's journey to implement runtime super calls in Swift for InterposeKit. It explains how `super` works at compile time, compares `objc_msgSendSuper` and `objc_msgSendSuper2`, and discusses the complexities of replicating this behavior dynamically using the Objective-C runtime.

Calling Super at Runtime in Swift

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes