Class ObjC.Class
Abstracts operations on Objective-C Class object.
public class ObjC.Class
- Inheritance
-
ObjC.Class
- Inherited Members
Constructors
Class(nint, string)
public Class(nint lib, string name)
Parameters
Class(string, nint)
public Class(string name, nint id)
Parameters
Fields
AllocSel
public static readonly ObjC.Sel AllocSel
Field Value
InitSel
public static readonly ObjC.Sel InitSel
Field Value
Properties
Id
public nint Id { get; }
Property Value
Name
public string Name { get; }
Property Value
Methods
Alloc()
public nint Alloc()
Returns
Extend(string, int)
Creates a runtime derived class. Under the hood calls into objc_allocateClassPair https://developer.apple.com/documentation/objectivec/1418559-objc_allocateclasspair?language=objc
public ObjC.Builder Extend(string name, int extraBytes = 0)
Parameters
Returns
New()
public nint New()
Returns
Operators
implicit operator nint(Class)
public static implicit operator nint(ObjC.Class cls)