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: 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: ObjcWeak, _ aSource: ObjcStrong)
static void Assign(__ref ObjcWeak aDest, __ref ObjcStrong aSource)
Shared Sub Assign(ByRef aDest As ObjcWeak, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
Parameters:
- aDest:
- aSource:
Copy
Parameters:
- aDest:
- aSource:
Equals virtual (declared in Object)
Default constructor.
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: 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
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: IntPtr)
static void objc_destroyWeak(__ref IntPtr aVal)
Shared Sub objc_destroyWeak(ByRef aVal As IntPtr)
Parameters:
- aVal:
objc_initWeak External
Parameters:
- aVal:
- aIntVal:
objc_loadWeakRetained External
Parameters:
- aVal:
objc_retainAutoreleasedReturnValue External
Parameters:
- aVal:
objc_storeWeak External
Parameters:
- aDest:
- aSrc:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Release
class method Release(var aDest: ObjcWeak)
static void Release(ref ObjcWeak aDest)
static func Release(_ aDest: 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.
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: ObjcWeak, _ aSource: ObjcStrong)
static void Assign(__ref ObjcWeak aDest, __ref ObjcStrong aSource)
Shared Sub Assign(ByRef aDest As ObjcWeak, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
Parameters:
- aDest:
- aSource:
Copy
Parameters:
- aDest:
- aSource:
Init
class method Init(var Dest: ObjcWeak)
static void Init(ref ObjcWeak Dest)
static func Init(_ Dest: 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
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: IntPtr)
static void objc_destroyWeak(__ref IntPtr aVal)
Shared Sub objc_destroyWeak(ByRef aVal As IntPtr)
Parameters:
- aVal:
objc_initWeak External
Parameters:
- aVal:
- aIntVal:
objc_loadWeakRetained External
Parameters:
- aVal:
objc_retainAutoreleasedReturnValue External
Parameters:
- aVal:
objc_storeWeak External
Parameters:
- aDest:
- aSrc:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Release
class method Release(var aDest: ObjcWeak)
static void Release(ref ObjcWeak aDest)
static func Release(_ aDest: 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: ObjcStrong)
ObjcWeak Copy(__ref ObjcStrong aValue)
Sub New Copy(ByRef aValue As ObjcStrong)
Parameters:
- aValue:
Equals virtual (declared in Object)
Default constructor.
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.