포스트

1주차 (1)

Swift 언어의 특징

  1. 안전성(Safe)
    • Swift는 타입에 엄격한 프로그래밍 언어이다 (Type Safe한 언어)
    • 문자열 배열에 다른 타입인 숫자 타입의 값을 담을 수 없다.
    • 타입 안정성을 위해 타입 체크를 해야한다. - Swift는 nil에 엄격한 프로그래밍 언어이다.
    • Swift Compiler는 Compile시 문제가 발생할 수 있는 nil 객체를 만들거나 사용할 수 없도록 한다.
    • nil을 사용할 경우 ? 모양의 옵셔널을 이용하여 표시해줘야한다.
  2. 표현성(Expressive)
    • 표현성을 고려한 프로그래밍이다.
    • 다중패러다임 프로그래밍 언어 지원
    • 명령형 프로그래밍 패러다임, 객체 지향 프로그래밍 패러다임, 함수형 프로그래밍 패러다임, 프로토콜 지향 패러다임을 지원한다.
  3. Swift, iOS 자료
    • Apple Developer Documentation

https://developer.apple.com/documentation/

  • Swift Programming Language Guide (ENG)

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/

  • The Swift Programming Language (Kor)

https://bbiguduk.gitbook.io/swift/

  • Swift API Design Guidelines

https://www.swift.org/documentation/api-design-guidelines/

  • Apple Developer WWDC Videos

https://developer.apple.com/videos/all-videos/

  • iOS App Dev Tutorials

https://developer.apple.com/tutorials/app-dev-training

이 기사는 저작권자의 CC BY 4.0 라이센스를 따릅니다.