init
TypeScriptstatic initWithObjCType(value: SDKHandle, type: SDKHandle): NSValueSwift declarationinit(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<CChar>)class · SDK 27.1
class NSValuestatic initWithObjCType(value: SDKHandle, type: SDKHandle): NSValueSwift declarationinit(_ value: UnsafeRawPointer, withObjCType type: UnsafePointer<CChar>)static initNonretainedObject(anObject?: (unknown) | null): NSValueSwift declarationinit(nonretainedObject anObject: Any?)static initPointer(pointer?: (SDKHandle) | null): NSValueSwift declarationinit(pointer: UnsafeRawPointer?)static initRange(range: SDKHandle): NSValueSwift declarationinit(range: NSRange)getValue(value: SDKHandle): voidSwift declarationfunc getValue(_ value: UnsafeMutableRawPointer)getValueSize(value: SDKHandle, size: number): voidSwift declarationfunc getValue(_ value: UnsafeMutableRawPointer, size: Int)static initBytesObjCType(value: SDKHandle, type: SDKHandle): NSValueSwift declarationinit(bytes value: UnsafeRawPointer, objCType type: UnsafePointer<CChar>)static initCoder(coder: NSCoder): (NSValue) | nullSwift declarationinit?(coder: NSCoder)isEqual(value: NSValue): booleanSwift declarationfunc isEqual(to value: NSValue) -> Boolget nonretainedObjectValue(): (unknown) | nullSwift declarationvar nonretainedObjectValue: Any? { get }get objCType(): SDKHandleSwift declarationvar objCType: UnsafePointer<CChar> { get }get pointerValue(): (SDKHandle) | nullSwift declarationvar pointerValue: UnsafeMutableRawPointer? { get }get rangeValue(): SDKHandleSwift declarationvar rangeValue: NSRange { get }2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSValue.value(of:)
Passing a Swift type itself is not supported.
NSValue.init()
inherited init: cannot prove legal (class declares 5 custom initializers)