Language

ObjCSuper Struct

Definition

Represents the Objective-C objc_super structure used for super message sends.

public readonly ref struct ObjCSuper
type ObjCSuper = struct
Inheritance
ObjCSuper

Remarks

This struct is intended to be stack-allocated and passed by pointer to objc_msgSendSuper variants. The second field (classHandle) must be the receiver's class (i.e. ClassHandle), not the superclass, because the Objective-C runtime resolves the superclass internally.

Constructors

Name Description
ObjCSuper(NSObject)

Creates a new ObjCSuper for the specified object.

Applies to