/SwiftStudy

Swift를 공부하면서 정리

Primary LanguageSwift

SwiftStudy

"The 친절한" Swift 프로그래밍 v 4.0

저자: 정재곤

출판사: 책장

책을 공부하면서 정리

Contents

Chapter 2 Function(함수)

Ch_2 function1.md ~ Ch_2 function8.md

  1. 함수의 정의 Ch_2 function1.md 파일보기
  2. Swift program의 형태
  3. 함수와 파라미터
  4. 함수를 좀 더 자세히 알아보기 Ch_2 function3.md 파일보기
  5. Optional(옵셔널) 과 Tuple(투플)

Chapter 3 Operator(연산자) and if(조건문)

Ch_3 operator1.md ~ Ch_3 operator4.md

  1. Comparative Operator(비교 연산자)와 Arithmetic Operator(산술 연산자) Ch3_operator1.md 파일보기
    • 동일 연산자
    • 비교 연산자
    • 산술 연산자
  2. Assignment Operator(할당 연산자)와 Logical Operator(논리 연산자)
    • 할당 연산자
    • 논리 연산자
  3. Conditional Operator(조건 연산자)와 is (자료형 확인 연산자) Ch3_operator2.md 파일보기
  4. Rage Operator(범위 연산자) Ch3_operator3.md 파일보기
  5. if (if 조건문) Ch3_operator4.md 파일보기

Chapter 4 Class(클래스) and Structure(구조체)

Ch4_classes1.md ~ Ch4_classes9.md

  1. 함수를 다시 한 번 꼼꼼히 생각해 보기 Ch4_classes1.md 파일보기
  2. 클래스의 역할
  3. 클래스와 인스턴스 Ch4_classes2_0.md 파일보기
  4. 인스턴스가 만들어질 때 기능 수행 Ch4_classes2_1.md 파일보기
    • 객체 자료형의 비교
  5. 객체의 속성 Ch4_classes3.md 파일보기
  6. Structure(구조체) 사용 Ch4_classes6.md 파일보기
  7. Enumeration(enum)으로 열거형 만들기 Ch4_classes7.md 파일보기

Appendix.Classes and Structures Appendix.ClassAndStructure.md 파일보기

Chapter 5 여러 데이터를 논리에 맞게 처리하기

Ch5_Array1.md ~ /

Ch5_dictionary1.md ~ /

Ch5_set1.md ~ /

Ch5_if1.md/ Ch5_for1.md/ Ch5_while1.md/ Ch5_switch1.md/ Ch5_guard1.md

  1. Array 여러 데이터를 한꺼번에 넣어두기 Ch5_array1.md 파일보기
  2. 배열 다루기 Ch5_array3.md 파일보기
  3. 배열 안에 배열 넣기 Ch5_array6.md 파일보기
  4. Dictionary(딕셔너리)에 들어 있는 값 빨리 찾기 Ch5_dictionary1.md 파일보기
  5. Set(셋)에 데이터 넣어두기 Ch5_set1.md 파일보기 / Ch5_set2.md 파일보기
  6. Conditional Statement(조건문)과 반복문 정리하기

Appendix.Array Appendix.Array.md 파일보기

Appendix.ArrayExample Appendix.ArrayExample.md 파일보기

Appendix.Dictionary Appendix.Dictionary.md 파일보기

Chapter 6 일급 객체로서의 function(함수)와 closure(클로저) 다루기

Ch6_advanced1.md ~ Ch6_advanced6.md

  1. 함수는 변수에 할당할 수 있어요 Ch6_advanced1.md 파일보기
  2. 클로저 이해하기 Ch6_advanced4.md 파일보기

Chapter 7 Inheritance(상속)과 Protocol(프로토콜)

Ch7_inheritance1.md ~ Ch7_inheritance4.md

Ch7_typecasting1.md/ Ch7_generic1.md

Ch7_protocol1.md ~ Ch7_protocol3.md

  1. Inheritance(상속) Ch7_inheritance1.md 파일보기
  2. Method(메소드) 재정의와 추가하기 Ch7_inheritance3.md 파일보기 / Ch7_inheritance4.md 파일보기
  3. Object(객체)의 형 변환 Ch7_typecasting1.md 파일보기
  4. Protocol(프로토콜)은 언제 사용할까? Ch7_protocol1.md 파일보기
    • Encapsulation(캡슐화) 이해하기
    • Protocol(프로토콜) 사용하기
    • 프로토콜에 추가할 수 있는 것들 Ch7_protocol2.md 파일보기
    • 프로토콜의 상속

Appdendix

Appendix.Classes and Structures Appendix.ClassAndStructure.md 파일보기

Appendix.Array Appendix.Array.md 파일보기

Appendix.ArrayExample Appendix.ArrayExample.md 파일보기

Appendix.Dictionary Appendix.Dictionary.md 파일보기

Appendix.Set Appendix.Set.md 파일보기

Appendix.OptionalChain Appendix.OptionalChain.md 파일보기

Appendix.UserDefaults Appendix.UserDefaults.md 파일보기