languages/swift

struct widget: Widget { let kind: String = "widget" var body: some WidgetConfiguration { IntentConfiguration(kind: kind, intent: ConfigurationIntent.self, provider: Provider()) { entry in widgetEntryView(entry: entry) } .configurationDisplayName("My Widget") .description("This is an example widget.") } } 스위프트로 위젯 익스텐션을 추가 중 특이한 문법을 발견했다. IntentConfiguration(kind: kind, intent: ConfigurationInten..
uzzam
'languages/swift' 카테고리의 글 목록