Type Method

controllers()

The controllers connected to the device.

Declaration

class func controllers() -> [GCController]

Return Value

An array of GCController objects for all currently connected controllers.

Discussion

Whenever a controller is connected to or disconnected from the device, the array of controllers is updated and a notification is posted.

See Also

Discovering Controllers