SwiftWrappedCocoaObject

Overview

Wrapepr class for Cocoa classes on Swift.

Location

 

constructor    (declared in SwiftObject) iOS, iOS Simulator, macOS, UIKit for Mac

 

constructor

 

SwiftWrappedCocoaObject()

 

init()

 

SwiftWrappedCocoaObject()

 

Sub New()

compareTo

 

// watchOS-arm64
method compareTo(aOther: SwiftObject): NSComparisonResult
// iOS, iOS Simulator, macOS, UIKit for Mac
method compareTo(aOther: SwiftObject): NSComparisonResult

 

// watchOS-arm64
NSComparisonResult compareTo(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
NSComparisonResult compareTo(SwiftObject aOther)

 

// watchOS-arm64
func compareTo(_ aOther: SwiftObject) -> NSComparisonResult
// iOS, iOS Simulator, macOS, UIKit for Mac
func compareTo(_ aOther: SwiftObject) -> NSComparisonResult

 

// watchOS-arm64
NSComparisonResult compareTo(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
NSComparisonResult compareTo(SwiftObject aOther)

 

// watchOS-arm64
Function compareTo(aOther As SwiftObject) As NSComparisonResult
// iOS, iOS Simulator, macOS, UIKit for Mac
Function compareTo(aOther As SwiftObject) As NSComparisonResult

Parameters:

  • aOther:

description  override virtual watchOS-arm64

 

method description: SwiftString

 

SwiftString description()

 

func description() -> SwiftString

 

SwiftString description()

 

Function description() As SwiftString

description iOS, iOS Simulator, macOS, UIKit for Mac

 

property description: SwiftString read;

 

SwiftString description { get; }

 

var description: SwiftString { get{} }

 

SwiftString description { __get; }

 

ReadOnly Property description() As SwiftString

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

FromValue

 

// watchOS-arm64
class method FromValue(aValue: CocoaObject): SwiftObject
// iOS, iOS Simulator, macOS, UIKit for Mac
class method FromValue(aValue: CocoaObject): SwiftObject

 

// watchOS-arm64
static SwiftObject FromValue(CocoaObject aValue)
// iOS, iOS Simulator, macOS, UIKit for Mac
static SwiftObject FromValue(CocoaObject aValue)

 

// watchOS-arm64
static func FromValue(_ aValue: CocoaObject) -> SwiftObject
// iOS, iOS Simulator, macOS, UIKit for Mac
static func FromValue(_ aValue: CocoaObject) -> SwiftObject

 

// watchOS-arm64
static SwiftObject FromValue(CocoaObject aValue)
// iOS, iOS Simulator, macOS, UIKit for Mac
static SwiftObject FromValue(CocoaObject aValue)

 

// watchOS-arm64
Shared Function FromValue(aValue As CocoaObject) As SwiftObject
// iOS, iOS Simulator, macOS, UIKit for Mac
Shared Function FromValue(aValue As CocoaObject) As SwiftObject

Parameters:

  • aValue:

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

hash  override virtual watchOS-arm64

 

method hash: NSUInteger

 

NSUInteger hash()

 

func hash() -> NSUInteger

 

NSUInteger hash()

 

Function hash() As NSUInteger

hashValue iOS, iOS Simulator, macOS, UIKit for Mac

 

property hashValue: Int32 read;

 

Int32 hashValue { get; }

 

var hashValue: Int32 { get{} }

 

Int32 hashValue { __get; }

 

ReadOnly Property hashValue() As Int32

isEqual

 

// watchOS-arm64
method isEqual(aOther: SwiftObject): Boolean
// iOS, iOS Simulator, macOS, UIKit for Mac
method isEqual(aOther: SwiftObject): Boolean

 

// watchOS-arm64
Boolean isEqual(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
Boolean isEqual(SwiftObject aOther)

 

// watchOS-arm64
func isEqual(_ aOther: SwiftObject) -> Boolean
// iOS, iOS Simulator, macOS, UIKit for Mac
func isEqual(_ aOther: SwiftObject) -> Boolean

 

// watchOS-arm64
Boolean isEqual(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
Boolean isEqual(SwiftObject aOther)

 

// watchOS-arm64
Function isEqual(aOther As SwiftObject) As Boolean
// iOS, iOS Simulator, macOS, UIKit for Mac
Function isEqual(aOther As SwiftObject) As Boolean

Parameters:

  • aOther:

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

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

Value

 

property Value: CocoaObject read;

 

CocoaObject Value { get; }

 

var Value: CocoaObject { get{} }

 

CocoaObject Value { __get; }

 

ReadOnly Property Value() As CocoaObject

 

description iOS, iOS Simulator, macOS, UIKit for Mac

 

property description: SwiftString read;

 

SwiftString description { get; }

 

var description: SwiftString { get{} }

 

SwiftString description { __get; }

 

ReadOnly Property description() As SwiftString

hashValue iOS, iOS Simulator, macOS, UIKit for Mac

 

property hashValue: Int32 read;

 

Int32 hashValue { get; }

 

var hashValue: Int32 { get{} }

 

Int32 hashValue { __get; }

 

ReadOnly Property hashValue() As Int32

Value

 

property Value: CocoaObject read;

 

CocoaObject Value { get; }

 

var Value: CocoaObject { get{} }

 

CocoaObject Value { __get; }

 

ReadOnly Property Value() As CocoaObject

 

FromValue

 

// watchOS-arm64
class method FromValue(aValue: CocoaObject): SwiftObject
// iOS, iOS Simulator, macOS, UIKit for Mac
class method FromValue(aValue: CocoaObject): SwiftObject

 

// watchOS-arm64
static SwiftObject FromValue(CocoaObject aValue)
// iOS, iOS Simulator, macOS, UIKit for Mac
static SwiftObject FromValue(CocoaObject aValue)

 

// watchOS-arm64
static func FromValue(_ aValue: CocoaObject) -> SwiftObject
// iOS, iOS Simulator, macOS, UIKit for Mac
static func FromValue(_ aValue: CocoaObject) -> SwiftObject

 

// watchOS-arm64
static SwiftObject FromValue(CocoaObject aValue)
// iOS, iOS Simulator, macOS, UIKit for Mac
static SwiftObject FromValue(CocoaObject aValue)

 

// watchOS-arm64
Shared Function FromValue(aValue As CocoaObject) As SwiftObject
// iOS, iOS Simulator, macOS, UIKit for Mac
Shared Function FromValue(aValue As CocoaObject) As SwiftObject

Parameters:

  • aValue:

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

 

constructor    (declared in SwiftObject) iOS, iOS Simulator, macOS, UIKit for Mac

 

constructor

 

SwiftWrappedCocoaObject()

 

init()

 

SwiftWrappedCocoaObject()

 

Sub New()

compareTo

 

// watchOS-arm64
method compareTo(aOther: SwiftObject): NSComparisonResult
// iOS, iOS Simulator, macOS, UIKit for Mac
method compareTo(aOther: SwiftObject): NSComparisonResult

 

// watchOS-arm64
NSComparisonResult compareTo(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
NSComparisonResult compareTo(SwiftObject aOther)

 

// watchOS-arm64
func compareTo(_ aOther: SwiftObject) -> NSComparisonResult
// iOS, iOS Simulator, macOS, UIKit for Mac
func compareTo(_ aOther: SwiftObject) -> NSComparisonResult

 

// watchOS-arm64
NSComparisonResult compareTo(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
NSComparisonResult compareTo(SwiftObject aOther)

 

// watchOS-arm64
Function compareTo(aOther As SwiftObject) As NSComparisonResult
// iOS, iOS Simulator, macOS, UIKit for Mac
Function compareTo(aOther As SwiftObject) As NSComparisonResult

Parameters:

  • aOther:

description  override virtual watchOS-arm64

 

method description: SwiftString

 

SwiftString description()

 

func description() -> SwiftString

 

SwiftString description()

 

Function description() As SwiftString

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

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

hash  override virtual watchOS-arm64

 

method hash: NSUInteger

 

NSUInteger hash()

 

func hash() -> NSUInteger

 

NSUInteger hash()

 

Function hash() As NSUInteger

isEqual

 

// watchOS-arm64
method isEqual(aOther: SwiftObject): Boolean
// iOS, iOS Simulator, macOS, UIKit for Mac
method isEqual(aOther: SwiftObject): Boolean

 

// watchOS-arm64
Boolean isEqual(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
Boolean isEqual(SwiftObject aOther)

 

// watchOS-arm64
func isEqual(_ aOther: SwiftObject) -> Boolean
// iOS, iOS Simulator, macOS, UIKit for Mac
func isEqual(_ aOther: SwiftObject) -> Boolean

 

// watchOS-arm64
Boolean isEqual(SwiftObject aOther)
// iOS, iOS Simulator, macOS, UIKit for Mac
Boolean isEqual(SwiftObject aOther)

 

// watchOS-arm64
Function isEqual(aOther As SwiftObject) As Boolean
// iOS, iOS Simulator, macOS, UIKit for Mac
Function isEqual(aOther As SwiftObject) As Boolean

Parameters:

  • aOther:

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