ObjcStrong
Overview
Lifetime strategy for objc types (strongly 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 | ObjcStrong
constructor protected (declared in ValueType)
constructor
ObjcStrong()
init()
ObjcStrong()
Sub New()
constructor Copy(ObjcStrong)
constructor Copy(var aValue: ObjcStrong)
ObjcStrong Copy(ref ObjcStrong aValue)
init(Copy aValue: ObjcStrong)
ObjcStrong Copy(__ref ObjcStrong aValue)
Sub New Copy(ByRef aValue As ObjcStrong)
Parameters:
- aValue:
Assign (ObjcStrong, ObjcStrong)
class method Assign(var aDest: ObjcStrong; var aSource: ObjcStrong)
static void Assign(ref ObjcStrong aDest, ref ObjcStrong aSource)
static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcStrong)
static void Assign(__ref ObjcStrong aDest, __ref ObjcStrong aSource)
Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
Assign (ObjcStrong, ObjcWeak)
class method Assign(var aDest: ObjcStrong; var aSource: ObjcWeak)
static void Assign(ref ObjcStrong aDest, ref ObjcWeak aSource)
static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcWeak)
static void Assign(__ref ObjcStrong aDest, __ref ObjcWeak aSource)
Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcWeak)
Parameters:
- aDest:
- aSource:
Copy
class method Copy(var aDest: ObjcStrong; var aSource: ObjcStrong)
static void Copy(ref ObjcStrong aDest, ref ObjcStrong aSource)
static func Copy(_ aDest: ObjcStrong, _ aSource: ObjcStrong)
static void Copy(__ref ObjcStrong aDest, __ref ObjcStrong aSource)
Shared Sub Copy(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)
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
GetReturnValue
class method GetReturnValue(aValue: ObjcStrong): ObjcStrong
static ObjcStrong GetReturnValue(ObjcStrong aValue)
static func GetReturnValue(_ aValue: ObjcStrong) -> ObjcStrong
static ObjcStrong GetReturnValue(ObjcStrong aValue)
Shared Function GetReturnValue(aValue As ObjcStrong) As ObjcStrong
Parameters:
- aValue:
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: ObjcStrong)
static void Init(ref ObjcStrong Dest)
static func Init(_ Dest: ObjcStrong)
static void Init(__ref ObjcStrong Dest)
Shared Sub Init(ByRef Dest As ObjcStrong)
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:
NewBlockDelegate
Parameters:
- aPtr:
- aData:
objc_autoreleaseReturnValue External
Parameters:
- aVal:
objc_release External
class method objc_release(aVal: IntPtr)
static void objc_release(IntPtr aVal)
static func objc_release(_ aVal: IntPtr)
static void objc_release(IntPtr aVal)
Shared Sub objc_release(aVal As IntPtr)
Parameters:
- aVal:
objc_retain External
Parameters:
- aVal:
objc_retainAutoreleasedReturnValue External
Parameters:
- aVal:
objc_retainAutoreleaseReturnValue External
Parameters:
- aVal:
objc_retainBlock External
Parameters:
- aVal:
objc_storeStrong 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: ObjcStrong)
static void Release(ref ObjcStrong aDest)
static func Release(_ aDest: ObjcStrong)
static void Release(__ref ObjcStrong aDest)
Shared Sub Release(ByRef aDest As ObjcStrong)
Parameters:
- aDest:
ReturnValue
class method ReturnValue(aValue: ObjcStrong): ObjcStrong
static ObjcStrong ReturnValue(ObjcStrong aValue)
static func ReturnValue(_ aValue: ObjcStrong) -> ObjcStrong
static ObjcStrong ReturnValue(ObjcStrong aValue)
Shared Function ReturnValue(aValue As ObjcStrong) As ObjcStrong
Parameters:
- aValue:
ToString virtual (declared in Object)
Gets the string representation of this method.
Assign (ObjcStrong, ObjcStrong)
class method Assign(var aDest: ObjcStrong; var aSource: ObjcStrong)
static void Assign(ref ObjcStrong aDest, ref ObjcStrong aSource)
static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcStrong)
static void Assign(__ref ObjcStrong aDest, __ref ObjcStrong aSource)
Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
Assign (ObjcStrong, ObjcWeak)
class method Assign(var aDest: ObjcStrong; var aSource: ObjcWeak)
static void Assign(ref ObjcStrong aDest, ref ObjcWeak aSource)
static func Assign(_ aDest: ObjcStrong, _ aSource: ObjcWeak)
static void Assign(__ref ObjcStrong aDest, __ref ObjcWeak aSource)
Shared Sub Assign(ByRef aDest As ObjcStrong, ByRef aSource As ObjcWeak)
Parameters:
- aDest:
- aSource:
Copy
class method Copy(var aDest: ObjcStrong; var aSource: ObjcStrong)
static void Copy(ref ObjcStrong aDest, ref ObjcStrong aSource)
static func Copy(_ aDest: ObjcStrong, _ aSource: ObjcStrong)
static void Copy(__ref ObjcStrong aDest, __ref ObjcStrong aSource)
Shared Sub Copy(ByRef aDest As ObjcStrong, ByRef aSource As ObjcStrong)
Parameters:
- aDest:
- aSource:
GetReturnValue
class method GetReturnValue(aValue: ObjcStrong): ObjcStrong
static ObjcStrong GetReturnValue(ObjcStrong aValue)
static func GetReturnValue(_ aValue: ObjcStrong) -> ObjcStrong
static ObjcStrong GetReturnValue(ObjcStrong aValue)
Shared Function GetReturnValue(aValue As ObjcStrong) As ObjcStrong
Parameters:
- aValue:
Init
class method Init(var Dest: ObjcStrong)
static void Init(ref ObjcStrong Dest)
static func Init(_ Dest: ObjcStrong)
static void Init(__ref ObjcStrong Dest)
Shared Sub Init(ByRef Dest As ObjcStrong)
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:
NewBlockDelegate
Parameters:
- aPtr:
- aData:
objc_autoreleaseReturnValue External
Parameters:
- aVal:
objc_release External
class method objc_release(aVal: IntPtr)
static void objc_release(IntPtr aVal)
static func objc_release(_ aVal: IntPtr)
static void objc_release(IntPtr aVal)
Shared Sub objc_release(aVal As IntPtr)
Parameters:
- aVal:
objc_retain External
Parameters:
- aVal:
objc_retainAutoreleasedReturnValue External
Parameters:
- aVal:
objc_retainAutoreleaseReturnValue External
Parameters:
- aVal:
objc_retainBlock External
Parameters:
- aVal:
objc_storeStrong 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: ObjcStrong)
static void Release(ref ObjcStrong aDest)
static func Release(_ aDest: ObjcStrong)
static void Release(__ref ObjcStrong aDest)
Shared Sub Release(ByRef aDest As ObjcStrong)
Parameters:
- aDest:
ReturnValue
class method ReturnValue(aValue: ObjcStrong): ObjcStrong
static ObjcStrong ReturnValue(ObjcStrong aValue)
static func ReturnValue(_ aValue: ObjcStrong) -> ObjcStrong
static ObjcStrong ReturnValue(ObjcStrong aValue)
Shared Function ReturnValue(aValue As ObjcStrong) As ObjcStrong
Parameters:
- aValue:
constructor protected (declared in ValueType)
constructor
ObjcStrong()
init()
ObjcStrong()
Sub New()
constructor Copy(ObjcStrong)
constructor Copy(var aValue: ObjcStrong)
ObjcStrong Copy(ref ObjcStrong aValue)
init(Copy aValue: ObjcStrong)
ObjcStrong 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.