본문 바로가기

Jimmy's iOS

검색하기
Jimmy's iOS
프로필사진 Jimmy Youn

  • 분류 전체보기 (67)
    • iOS (30)
    • Swift (17)
      • 메모리 & 클로저 (0)
      • 에러처리 (Error Handling) (0)
      • 네트워킹(Networking) (0)
      • 비동기 프로그래밍 & GCD (0)
      • 제네릭 (1)
    • RxSwift (6)
    • TDD (1)
    • Swift DataStructure & Algor.. (4)
    • 비전공자가 알아야할 기본 상식 (3)
    • Git (1)
    • 기타 (3)
    • React Native (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • My Github
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • protocol
  • catransition
  • 강제 업데이트
  • ComparisonResult
  • 함수형 프로그래밍
  • 앱 업데이트
  • Git
  • Swift 5.7 옵셔널
  • Fade in Fade Out
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Swift 5.7 옵셔널 (1)

Jimmy's iOS

Swift 5.7 옵셔널(Optional) 처리

기존 옵셔널은 옵셔널 바인딩을 통해서 언래핑하여 값을 사용했었다. let text : String? = "hello world" if let text = text { print(text) } Swift 5.7 에서 옵셔널 처리를 간단하게 할 수 있게 되었다! let text : String? = "hello world" if let text { print(text) }

Swift 2022. 6. 13. 10:26
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바