ObjcWeak
Overview
Lifetime strategy for objc types (weakly assigned)
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Platforms: iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator
- Ancestry: ValueType | ObjcWeak
constructor protected (declared in ValueType)
constructor
ObjcWeak()
init()
ObjcWeak()
Sub New()
constructor Copy(ObjcStrong)
constructor Copy(var aValue: ObjcStrong)
ObjcWeak Copy(ref ObjcStrong aValue)
init(Copy aValue: inout ObjcStrong)
ObjcWeak Copy(__ref ObjcStrong aValue)
Sub New Copy(ByRef aValue As ObjcStrong)
Parameters:
- aValue:
Assign (ObjcWeak, ObjcStrong)
class method Assign(var aDest: ObjcWeak; var aSource: ObjcStrong)
static void Assign(ref ObjcWeak aDest, ref ObjcStrong aSource)
static func Assign(_ aDest: inout ObjcWeak, _ aSource: inout ObjcStrong)
static void Assign(__ref ObjcWeak aDest, __ref ObjcStrong aSource)
Shared Sub Assign(ByRef aDest As ObjcWeak, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
class method Assign(var aDest: ObjcWeak; var aSource: ObjcWeak)
static void Assign(ref ObjcWeak aDest, ref ObjcWeak aSource)
static func Assign(_ aDest: inout ObjcWeak, _ aSource: inout ObjcWeak)
static void Assign(__ref ObjcWeak aDest, __ref ObjcWeak aSource)
Shared Sub Assign(ByRef aDest As ObjcWeak, ByRef aSource As ObjcWeak)
Parameters:
- aDest:
- aSource:
Copy
class method Copy(var aDest: ObjcWeak; var aSource: ObjcWeak)
static void Copy(ref ObjcWeak aDest, ref ObjcWeak aSource)
static func Copy(_ aDest: inout ObjcWeak, _ aSource: inout ObjcWeak)
static void Copy(__ref ObjcWeak aDest, __ref ObjcWeak aSource)
Shared Sub Copy(ByRef aDest As ObjcWeak, ByRef aSource As ObjcWeak)
Parameters:
- aDest:
- aSource:
Equals virtual (declared in Object)
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Init
class method Init(var Dest: ObjcWeak)
static void Init(ref ObjcWeak Dest)
static func Init(_ Dest: inout ObjcWeak)
static void Init(__ref ObjcWeak Dest)
Shared Sub Init(ByRef Dest As ObjcWeak)
Parameters:
- Dest:
New
class method New(aTTY: ^void; aSize: NativeInt): ^void
static void* New(void* aTTY, NativeInt aSize)
static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: NativeInt) -> UnsafeMutablePointer<void>
static void* New(void* aTTY, NativeInt aSize)
Shared Function New(aTTY As Ptr(Of Void), aSize As NativeInt) As Ptr(Of Void)
Parameters:
- aTTY:
- aSize:
objc_copyWeak External
class method objc_copyWeak(var aDest: IntPtr; var aSrc: IntPtr)
static void objc_copyWeak(ref IntPtr aDest, ref IntPtr aSrc)
static func objc_copyWeak(_ aDest: inout IntPtr, _ aSrc: inout IntPtr)
static void objc_copyWeak(__ref IntPtr aDest, __ref IntPtr aSrc)
Shared Sub objc_copyWeak(ByRef aDest As IntPtr, ByRef aSrc As IntPtr)
Parameters:
- aDest:
- aSrc:
objc_destroyWeak External
class method objc_destroyWeak(var aVal: IntPtr)
static void objc_destroyWeak(ref IntPtr aVal)
static func objc_destroyWeak(_ aVal: inout IntPtr)
static void objc_destroyWeak(__ref IntPtr aVal)
Shared Sub objc_destroyWeak(ByRef aVal As IntPtr)
Parameters:
- aVal:
objc_initWeak External
class method objc_initWeak(var aVal: IntPtr; aIntVal: IntPtr)
static void objc_initWeak(ref IntPtr aVal, IntPtr aIntVal)
static func objc_initWeak(_ aVal: inout IntPtr, _ aIntVal: IntPtr)
static void objc_initWeak(__ref IntPtr aVal, IntPtr aIntVal)
Shared Sub objc_initWeak(ByRef aVal As IntPtr, aIntVal As IntPtr)
Parameters:
- aVal:
- aIntVal:
objc_loadWeakRetained External
class method objc_loadWeakRetained(aVal: IntPtr): IntPtr
static IntPtr objc_loadWeakRetained(IntPtr aVal)
static func objc_loadWeakRetained(_ aVal: IntPtr) -> IntPtr
static IntPtr objc_loadWeakRetained(IntPtr aVal)
Shared Function objc_loadWeakRetained(aVal As IntPtr) As IntPtr
Parameters:
- aVal:
objc_retainAutoreleasedReturnValue External
class method objc_retainAutoreleasedReturnValue(aVal: IntPtr): IntPtr
static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)
static func objc_retainAutoreleasedReturnValue(_ aVal: IntPtr) -> IntPtr
static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)
Shared Function objc_retainAutoreleasedReturnValue(aVal As IntPtr) As IntPtr
Parameters:
- aVal:
objc_storeWeak External
class method objc_storeWeak(var aDest: IntPtr; aSrc: IntPtr)
static void objc_storeWeak(ref IntPtr aDest, IntPtr aSrc)
static func objc_storeWeak(_ aDest: inout IntPtr, _ aSrc: IntPtr)
static void objc_storeWeak(__ref IntPtr aDest, IntPtr aSrc)
Shared Sub objc_storeWeak(ByRef aDest As IntPtr, aSrc As IntPtr)
Parameters:
- aDest:
- aSrc:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
Release
class method Release(var aDest: ObjcWeak)
static void Release(ref ObjcWeak aDest)
static func Release(_ aDest: inout ObjcWeak)
static void Release(__ref ObjcWeak aDest)
Shared Sub Release(ByRef aDest As ObjcWeak)
Parameters:
- aDest:
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Assign (ObjcWeak, ObjcStrong)
class method Assign(var aDest: ObjcWeak; var aSource: ObjcStrong)
static void Assign(ref ObjcWeak aDest, ref ObjcStrong aSource)
static func Assign(_ aDest: inout ObjcWeak, _ aSource: inout ObjcStrong)
static void Assign(__ref ObjcWeak aDest, __ref ObjcStrong aSource)
Shared Sub Assign(ByRef aDest As ObjcWeak, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
class method Assign(var aDest: ObjcWeak; var aSource: ObjcWeak)
static void Assign(ref ObjcWeak aDest, ref ObjcWeak aSource)
static func Assign(_ aDest: inout ObjcWeak, _ aSource: inout ObjcWeak)
static void Assign(__ref ObjcWeak aDest, __ref ObjcWeak aSource)
Shared Sub Assign(ByRef aDest As ObjcWeak, ByRef aSource As ObjcWeak)
Parameters:
- aDest:
- aSource:
Copy
class method Copy(var aDest: ObjcWeak; var aSource: ObjcWeak)
static void Copy(ref ObjcWeak aDest, ref ObjcWeak aSource)
static func Copy(_ aDest: inout ObjcWeak, _ aSource: inout ObjcWeak)
static void Copy(__ref ObjcWeak aDest, __ref ObjcWeak aSource)
Shared Sub Copy(ByRef aDest As ObjcWeak, ByRef aSource As ObjcWeak)
Parameters:
- aDest:
- aSource:
Init
class method Init(var Dest: ObjcWeak)
static void Init(ref ObjcWeak Dest)
static func Init(_ Dest: inout ObjcWeak)
static void Init(__ref ObjcWeak Dest)
Shared Sub Init(ByRef Dest As ObjcWeak)
Parameters:
- Dest:
New
class method New(aTTY: ^void; aSize: NativeInt): ^void
static void* New(void* aTTY, NativeInt aSize)
static func New(_ aTTY: UnsafeMutablePointer<void>, _ aSize: NativeInt) -> UnsafeMutablePointer<void>
static void* New(void* aTTY, NativeInt aSize)
Shared Function New(aTTY As Ptr(Of Void), aSize As NativeInt) As Ptr(Of Void)
Parameters:
- aTTY:
- aSize:
objc_copyWeak External
class method objc_copyWeak(var aDest: IntPtr; var aSrc: IntPtr)
static void objc_copyWeak(ref IntPtr aDest, ref IntPtr aSrc)
static func objc_copyWeak(_ aDest: inout IntPtr, _ aSrc: inout IntPtr)
static void objc_copyWeak(__ref IntPtr aDest, __ref IntPtr aSrc)
Shared Sub objc_copyWeak(ByRef aDest As IntPtr, ByRef aSrc As IntPtr)
Parameters:
- aDest:
- aSrc:
objc_destroyWeak External
class method objc_destroyWeak(var aVal: IntPtr)
static void objc_destroyWeak(ref IntPtr aVal)
static func objc_destroyWeak(_ aVal: inout IntPtr)
static void objc_destroyWeak(__ref IntPtr aVal)
Shared Sub objc_destroyWeak(ByRef aVal As IntPtr)
Parameters:
- aVal:
objc_initWeak External
class method objc_initWeak(var aVal: IntPtr; aIntVal: IntPtr)
static void objc_initWeak(ref IntPtr aVal, IntPtr aIntVal)
static func objc_initWeak(_ aVal: inout IntPtr, _ aIntVal: IntPtr)
static void objc_initWeak(__ref IntPtr aVal, IntPtr aIntVal)
Shared Sub objc_initWeak(ByRef aVal As IntPtr, aIntVal As IntPtr)
Parameters:
- aVal:
- aIntVal:
objc_loadWeakRetained External
class method objc_loadWeakRetained(aVal: IntPtr): IntPtr
static IntPtr objc_loadWeakRetained(IntPtr aVal)
static func objc_loadWeakRetained(_ aVal: IntPtr) -> IntPtr
static IntPtr objc_loadWeakRetained(IntPtr aVal)
Shared Function objc_loadWeakRetained(aVal As IntPtr) As IntPtr
Parameters:
- aVal:
objc_retainAutoreleasedReturnValue External
class method objc_retainAutoreleasedReturnValue(aVal: IntPtr): IntPtr
static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)
static func objc_retainAutoreleasedReturnValue(_ aVal: IntPtr) -> IntPtr
static IntPtr objc_retainAutoreleasedReturnValue(IntPtr aVal)
Shared Function objc_retainAutoreleasedReturnValue(aVal As IntPtr) As IntPtr
Parameters:
- aVal:
objc_storeWeak External
class method objc_storeWeak(var aDest: IntPtr; aSrc: IntPtr)
static void objc_storeWeak(ref IntPtr aDest, IntPtr aSrc)
static func objc_storeWeak(_ aDest: inout IntPtr, _ aSrc: IntPtr)
static void objc_storeWeak(__ref IntPtr aDest, IntPtr aSrc)
Shared Sub objc_storeWeak(ByRef aDest As IntPtr, aSrc As IntPtr)
Parameters:
- aDest:
- aSrc:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
class method ReferenceEquals(a: Object; b: Object): Boolean
static Boolean ReferenceEquals(Object a, Object b)
static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean
static Boolean ReferenceEquals(Object a, Object b)
Shared Function ReferenceEquals(a As Object, b As Object) As Boolean
Parameters:
- a: left value
- b: right value
Release
class method Release(var aDest: ObjcWeak)
static void Release(ref ObjcWeak aDest)
static func Release(_ aDest: inout ObjcWeak)
static void Release(__ref ObjcWeak aDest)
Shared Sub Release(ByRef aDest As ObjcWeak)
Parameters:
- aDest:
constructor protected (declared in ValueType)
constructor
ObjcWeak()
init()
ObjcWeak()
Sub New()
constructor Copy(ObjcStrong)
constructor Copy(var aValue: ObjcStrong)
ObjcWeak Copy(ref ObjcStrong aValue)
init(Copy aValue: inout ObjcStrong)
ObjcWeak Copy(__ref ObjcStrong aValue)
Sub New Copy(ByRef aValue As ObjcStrong)
Parameters:
- aValue:
Equals virtual (declared in Object)
Default constructor.
method Equals(aOther: Object): Boolean
Boolean Equals(Object aOther)
func Equals(_ aOther: Object) -> Boolean
Boolean Equals(Object aOther)
Function Equals(aOther As Object) As Boolean
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String