HaishinKit.swift/Sources/Core/Protocol.swift

12 lines
178 B
Swift

protocol DataConvertible {
var data: Data { get set }
}
// MARK: -
protocol Running: class {
var running: Bool { get }
func startRunning()
func stopRunning()
}