상세 컨텐츠

본문 제목

Day 16. Project 1, part one.

TIL/#100DaysOfSwiftUI

by box-jeon 2020. 1. 27. 20:44

본문

https://www.hackingwithswift.com/100/swiftui/16

 

100 Days of SwiftUI – Day 16 – Hacking with Swift

100 Days of SwiftUI The 100 Days of SwiftUI is a free collection of videos, tutorials, tests, and more to help you learn SwiftUI faster. Click here to learn more, or watch the video below. Back to 100 Days of SwiftUI

www.hackingwithswift.com

드디어 SwiftUI입니다. 토이 프로젝트로 WeSplit 이라는 팁 계산기를 소개하고, View, Form, NavigationView, @State에 대해 설명합니다. Form이 왜 필요한지는 아직 의문이고, child view 갯수가 10개로 제한되어 있다니 약간 띠용할 따름입니다. 'views are a function of their state'라는 표현 너무 근사했던 것 같고, @State 라던가 two-way binding에 관해 읽다보니 데이터를 실제로 들고 있는 건 누가 되어야 할까 조금 혼란이 옵니다. 애플에서 제공하는 튜토리얼도 병행하는 중인데 속도를 좀 더 내야겠네요.

'TIL > #100DaysOfSwiftUI' 카테고리의 다른 글

Day 18. Project 1, part three  (0) 2020.03.04
Day 17. Project 1, part two  (0) 2020.03.04
Day 15. Swift review, day three.  (0) 2020.01.25
Day 14. Swift review, day two.  (0) 2020.01.24
Day 13. Swift review, day one  (0) 2020.01.19

관련글 더보기

댓글 영역