tokenary/Tokenary iOS/Content/Images.swift
2021-12-10 21:24:11 +03:00

20 lines
594 B
Swift

// Copyright © 2021 Tokenary. All rights reserved.
import UIKit
struct Images {
static var noData: UIImage { systemName("wind") }
static var failedToLoad: UIImage { systemName("xmark.octagon") }
static var preferences: UIImage { systemName("gearshape") }
private static func named(_ name: String) -> UIImage {
return UIImage(named: name)!
}
private static func systemName(_ systemName: String, configuration: UIImage.Configuration? = nil) -> UIImage {
return UIImage(systemName: systemName, withConfiguration: configuration)!
}
}