Day 20, 21, 22 of #100DaysOfSwiftUI

Start 100DaysOfSwiftUI from 2020.Mar.18th.

Day 20, 21, 22: Project 2, part one, two, three
done with 1 hour

New findings:
We can place Color.red in ZStack.
modifier “edgesIgnoringSafeArea” will expand to safe area
modifier “renderingMode” also will be useful
modifier “overlay” is much interested to make attractive screen

Question?
Who will maintain showingAlert variable after alert appeared? I guess someone maintain the variable to make alert disappeared?
-> no need to maintain. Probably Alert window maintain the variable which is passed via isPresented. (it is reasonable/understandable design)

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です