One Logo Pool Ball
TouchController · IOS API REFERENCE

TCSwitch

class · iOS 26.0+ · SDK 27.1

class TCSwitch

Members (8)

get · iOS 26.0+

colliderShape

TypeScript
get colliderShape(): TCColliderShape
Swift declaration
var colliderShape: TCColliderShape { get }
get · iOS 26.0+

contents

TypeScript
get contents(): (TCControlContents) | null
Swift declaration
var contents: TCControlContents? { get set }
set · iOS 26.0+

contents

TypeScript
set contents(value: (TCControlContents) | null)
Swift declaration
var contents: TCControlContents? { get set }
get · iOS 26.0+

highlightDuration

TypeScript
get highlightDuration(): number
Swift declaration
var highlightDuration: TimeInterval { get set }
set · iOS 26.0+

highlightDuration

TypeScript
set highlightDuration(value: number)
Swift declaration
var highlightDuration: TimeInterval { get set }
get · iOS 26.0+

isSwitchedOn

TypeScript
get isSwitchedOn(): boolean
Swift declaration
var isSwitchedOn: Bool { get }
get · iOS 26.0+

switchedOnContents

TypeScript
get switchedOnContents(): (TCControlContents) | null
Swift declaration
var switchedOnContents: TCControlContents? { get set }
set · iOS 26.0+

switchedOnContents

TypeScript
set switchedOnContents(value: (TCControlContents) | null)
Swift declaration
var switchedOnContents: TCControlContents? { get set }

Skipped declarations

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

TCSwitch.init()

inherited init: clang: 'init' is unavailable

All TouchController types →