Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in objective-c-runtime

Why the objc runtime function `class_addMethod()` adds the implementation as instance and class method when the target class is `NSObject`?

How can one obtain the sizeof a type for which one has an encoding?

What does class_getClassVariable() do?

Swift closure as AnyObject

Why do protocol_* methods do not work with Clang + modern GCC-Runtime on Linux?

Is there any way to list all swizzled methods in an iOS app?

object_setClass to bigger class

Swift isa pointer remapping or other supported method swizzling

Objective-C Reflection for generic NSCoding implementation

How are the digits in ObjC method type encoding calculated?

Objective-C macro to detect if variable is primitive

Why can't we use C-strings as SELs?

object_getInstanceVariable works for float, int, bool, but not for double?

Why can some methods (-retainWeakReference, -allowsWeakReference, +load, +initialize) on class NSObject not be added to other classes at runtime?

Objective-C: preferred way to retrieve the superclass of a Class instance

How are NSBlock objects created?

Obtain list of class methods for an arbitrary class

What are the digits in an ObjC method type encoding string?

Why do Objective-C objects have to be dynamically allocated?

How to dynamically add a class method?