1. 튜플 2.
옵셔널 3. 에러핸들링 4.
주장과 전제조건 지난번 글에 이어 기본문법에 대해 마저 살펴볼려고 합니다. 출처: https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html The Basics — The Swift Programming Language (Swift 5.6) In addition to familiar types, Swift introduces advanced types not found in Objective-C, such as tuples.
Tuples enable you to create and pass around groupings of values. You can use a tuple to return multiple values from a function as a single compound value.
Swift also introduces optional types, wh... docs.s...
원문 링크 : [Swift]The Basics 기본문법 (2/2)