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()

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)

Parameters:

  • aOther:

description  override virtual watchOS-arm64

 

method description: SwiftString

 

SwiftString description()

 

func description() -> SwiftString

 

SwiftString description()

description iOS, iOS Simulator, macOS, UIKit for Mac

 

property description: SwiftString read;

 

SwiftString description { get; }

 

var description: SwiftString { get{} }

 

SwiftString description { __get; }

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)

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()

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)

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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

hash  override virtual watchOS-arm64

 

method hash: NSUInteger

 

NSUInteger hash()

 

func hash() -> NSUInteger

 

NSUInteger hash()

hashValue iOS, iOS Simulator, macOS, UIKit for Mac

 

property hashValue: Int32 read;

 

Int32 hashValue { get; }

 

var hashValue: Int32 { get{} }

 

Int32 hashValue { __get; }

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)

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)

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()

Value

 

property Value: CocoaObject read;

 

CocoaObject Value { get; }

 

var Value: CocoaObject { get{} }

 

CocoaObject Value { __get; }

 

description iOS, iOS Simulator, macOS, UIKit for Mac

 

property description: SwiftString read;

 

SwiftString description { get; }

 

var description: SwiftString { get{} }

 

SwiftString description { __get; }

hashValue iOS, iOS Simulator, macOS, UIKit for Mac

 

property hashValue: Int32 read;

 

Int32 hashValue { get; }

 

var hashValue: Int32 { get{} }

 

Int32 hashValue { __get; }

Value

 

property Value: CocoaObject read;

 

CocoaObject Value { get; }

 

var Value: CocoaObject { get{} }

 

CocoaObject Value { __get; }

 

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)

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)

Parameters:

  • a: left value
  • b: right value

 

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

 

constructor

 

SwiftWrappedCocoaObject()

 

init()

 

SwiftWrappedCocoaObject()

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)

Parameters:

  • aOther:

description  override virtual watchOS-arm64

 

method description: SwiftString

 

SwiftString description()

 

func description() -> SwiftString

 

SwiftString description()

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)

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()

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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

hash  override virtual watchOS-arm64

 

method hash: NSUInteger

 

NSUInteger hash()

 

func hash() -> NSUInteger

 

NSUInteger hash()

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)

Parameters:

  • aOther:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()