๋ฐ์ํ
reference:
https://socialinnovator.tistory.com/1?category=829688
[SwiftUI] List์์ @Binding ์ ๋ฌํ๊ธฐ
์ ์ฒด ์์ค์ฝ๋ ์ด์ ์๋ ์๋์ค ๊ฐ์ด ๋ฐฐ์ด๊ณผ id๋ฅผ ์ฃผ๊ณ foreach ์ฒ๋ผ ๋ฆฌ์คํธ๋ฅผ ๋ง๋ค์๋ค. var body: some View { NavigationView { List(todos){ todo in NavigationLink(destination: DetailView(todo: $todo)){..
socialinnovator.tistory.com
728x90
๋ฐ์ํ
'Computer Science > swift ๋ฝ๊ฐ๊ธฐ - ์ฐธ๊ณ ์ฌ์ดํธ ์ ์ฅ์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[swift] launch screen, entry point, lifecycle, splash screen, sceneDelegate ๊ด๋ จ ๊ธ (0) | 2021.07.31 |
---|---|
[swift] hidekeyboard, keyboard ์ํ ์จ๊ธฐ๊ธฐ (0) | 2021.07.31 |
[swift] Navigation Controller - ViewController (1) | 2021.07.31 |
[swift] set initial view with ViewController (1) | 2021.07.31 |
[swift] countdown timer ๋ง๋ค๊ธฐ (0) | 2021.07.31 |
[swift] ๋ฌธ์์ด๊ณผ NsRange, String.Index (0) | 2021.07.31 |
[swift] ์ ๊ทํํ์ ์ฌ์ฉํ๊ธฐ (1) | 2021.07.31 |
[swift] TapGesture ๊ณต์๋ฌธ์ (0) | 2021.07.31 |