๋ฐ์ํ
reference :
https://seons-dev.tistory.com/24
SwiftUI : Button / onTapGesture
๋ชฉ์ฐจ SwiftUI 3.0 ๋ฒ์ ์ Button ๊ธฐ๋ฅ์ด ๋ค์ ์ถ๊ฐ๋์์ต๋๋ค. ์ถํ ์ ๋ฐ์ดํธ ์์ ์ ๋๋ค. ํธ๋ฆฌ๊ฑฐ(Trigger) ๋ ๋ ์์ ์ ์ํํ๋ ์ปจํธ๋กค์ ๋๋ค. Button ์ ๋ํด ์์๋ณด๋๋ก ํฉ์๋ค. Button ๊ธฐ๋ณธ ์ฝ๋ //์ฒซ
seons-dev.tistory.com
https://www.hohyeonmoon.com/blog/swiftui-tutorial-buttons/
SwiftUI ์ฌ๋ฌ ์ข ๋ฅ์ Buttons | Hohyeon Moon
์ด๋ฒ์๋ SwiftUI์์ ์ฌ๋ฌ ์ข ๋ฅ์ Buttons๋ฅผ ์ด๋ป๊ฒ ์ฌ์ฉํ๋์ง์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค. ์ด ๊ฐ์ข๋ Swift ๊ธฐ๋ณธ ๋ฌธ๋ฒ์ ์์งํ๊ณ ์๋ค๋ ๊ฐ์ ํ์ ์์ฑ๋์์ต๋๋ค. ์ผ๋ฐ Button SwiftUI์์ ์ผ๋ฐ ๋ฒํผ์
www.hohyeonmoon.com
728x90
๋ฐ์ํ
'Computer Science > swift ๋ฝ๊ฐ๊ธฐ - ์ฐธ๊ณ ์ฌ์ดํธ ์ ์ฅ์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[swift] xcode์คํ์ command line์ผ๋ก ํ ์ ์์๊น.. (0) | 2021.08.04 |
---|---|
[swift] AVPlayer, AVFoundation (0) | 2021.08.04 |
[swift] ios calendar ๊ด๋ จ (๋ด๊ฐ ๋ณด๋ ค๊ณ ๋ง๋ ) (0) | 2021.08.04 |
[swift] timer๊ด๋ จ ์ฌ๋ฌ ๊ธ (0) | 2021.08.04 |
[swift] NavigationView with NavigationLink (0) | 2021.07.31 |
[swift] launch screen, entry point, lifecycle, splash screen, sceneDelegate ๊ด๋ จ ๊ธ (0) | 2021.07.31 |
[swift] hidekeyboard, keyboard ์ํ ์จ๊ธฐ๊ธฐ (0) | 2021.07.31 |
[swift] Navigation Controller - ViewController (0) | 2021.07.31 |