One Logo Pool Ball
ObjectiveC · IOS API REFERENCE

NSObject

class · iOS 2.0+ · SDK 27.1

class NSObject

Members (12)

static · iOS 2.0+

conforms

TypeScript
static conforms(protocol: string): boolean
Swift declaration
class func conforms(to protocol: Protocol) -> Bool
static · iOS 2.0+

debugDescription

TypeScript
static debugDescription(): string
Swift declaration
class func debugDescription() -> String
static · iOS 2.0+

description

TypeScript
static description(): string
Swift declaration
class func description() -> String
static · iOS 2.0+

hash

TypeScript
static hash(): number
Swift declaration
class func hash() -> Int
static · iOS 2.0+

initialize

TypeScript
static initialize(): void
Swift declaration
class func initialize()
static · iOS 2.0+

isSubclass

TypeScript
static isSubclass(aClass: string): boolean
Swift declaration
class func isSubclass(of aClass: AnyClass) -> Bool
static · iOS 2.0+

load

TypeScript
static load(): void
Swift declaration
class func load()
static · iOS 2.0+

superclass

TypeScript
static superclass(): (string) | null
Swift declaration
class func superclass() -> AnyClass?
method · iOS 2.0+

copy

TypeScript
copy(): unknown
Swift declaration
func copy() -> Any
method · iOS 2.0+

finalize

TypeScript
finalize(): void
Swift declaration
func finalize()
init · iOS 2.0+

init

TypeScript
static init(): NSObject
Swift declaration
init()
method · iOS 2.0+

mutableCopy

TypeScript
mutableCopy(): unknown
Swift declaration
func mutableCopy() -> Any

Skipped declarations

7 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSObject.instancesRespond(to:)

Objective-C selectors cannot cross the bridge.

NSObject.method(for:)

Objective-C selectors cannot cross the bridge.

NSObject.instanceMethod(for:)

Objective-C selectors cannot cross the bridge.

NSObject.doesNotRecognizeSelector(_:)

Objective-C selectors cannot cross the bridge.

NSObject.forwardingTarget(for:)

Objective-C selectors cannot cross the bridge.

NSObject.resolveClassMethod(_:)

Objective-C selectors cannot cross the bridge.

NSObject.resolveInstanceMethod(_:)

Objective-C selectors cannot cross the bridge.

All ObjectiveC types →