상세 컨텐츠

본문 제목

Day 6. Closures, part one.

TIL/#100DaysOfSwiftUI

by box-jeon 2019. 12. 27. 22:50

본문

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

 

100 Days of SwiftUI – Day 6 – 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

읽을 수록 뭔가 설명을 참 쉽게 잘 해준다는 느낌이 듭니다. 아 이걸 이렇게 정리해서 설명할 수 있구나 무릎을 탁 치게 되네요. 다만 Argument와 Parameter를 구분하지 않고 Parameter로 퉁쳐서 설명하는 부분은 약간 마음에 걸립니다. Swift Language Guide를 보면 Argument와 Parameter를 명확히 구분하고 있습니다.

https://docs.swift.org/swift-book/LanguageGuide/Functions.html#ID166

 

Functions — The Swift Programming Language (Swift 5.1)

Functions Functions are self-contained chunks of code that perform a specific task. You give a function a name that identifies what it does, and this name is used to “call” the function to perform its task when needed. Swift’s unified function syntax is fl

docs.swift.org

 

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

Day 8. Structs, part one.  (0) 2019.12.28
Day7. Closures, part two.  (0) 2019.12.28
Day 5. Functions.  (0) 2019.12.26
Day 4. Loops.  (0) 2019.12.24
Day 3. Operators and conditions.  (0) 2019.12.23

관련글 더보기

댓글 영역