Enumeration Casemadmachineio.swiftio 0.1.0SwiftIO
period
Timer.swift:182case period
case period
import SwiftIO
The SwiftIO library allows you to access and control the hardware in an easy way.
enum Mode
There are two timer modes: oneShot
means the timer works only once; period
means the timer works periodically.
final class Timer
The Timer class can measure the time passed. If the time limit is reached, it can execute a specified task.
case oneShot