Files
2022-04-27 09:25:20 +09:00

25 lines
621 B
Swift

//
// LifeGameMacWidget.swift
// LifeGameMacWidget
//
// Created by 細沼祐介 on 2022/04/27.
//
import WidgetKit
import SwiftUI
import WidgetCommon
@main
struct LifeGameWidget: Widget {
let kind: String = "LifeGameWidget"
var body: some WidgetConfiguration {
IntentConfiguration(kind: kind, intent: LifeGameConfigIntent.self, provider: Provider()) { entry in
EntryView(entry: entry)
}
.configurationDisplayName("Random boards")
.description("Enjoy random boards on Home screen.")
.supportedFamilies([.systemSmall, .systemMedium, .systemLarge])
}
}