日記
メガネを新調した
今日書いたコード
接続に失敗したときの処理を実装した · Gurrium/Komusou@cf787d0 · GitHub
感想
actions
に空のクロージャを渡すとデフォルトでOKボタンを作ってくれて便利。
If no actions are present, the system includes a standard “OK” action. https://developer.apple.com/documentation/swiftui/view/alert(_:ispresented:presenting:actions:message:)-8584l