Fix warnings

This commit is contained in:
Sven Weidauer 2022-10-08 11:04:24 +02:00
parent e28bee804f
commit 02d2350b29

View file

@ -1,6 +1,6 @@
import Foundation
protocol Generator: class {
protocol Generator: AnyObject {
static var defaultExtension: String { get }
static var option: String { get }
@ -9,7 +9,7 @@ protocol Generator: class {
func generate(data: [String: ColorDef]) throws -> FileWrapper
}
protocol Context: class {
protocol Context: AnyObject {
var prefix: String? { get }
}