Class

TView

Overview

TView is a subclass of NSView. TView provides infrastructure for drawing and handling events.

Properties

var frameRate: Double

var isRunning: Bool

var showStats: Bool

Creating an Instance

Frame methods

Enable/Disable frame timer

func startUpdates()

Restart the timer that calls the update method. Note that the update timer is started automatically for you by default. You only need to call this method if you have previously called the stopUpdates method.

func stopUpdates()

Halt the timer that calls the update method.

Related

Tin