본문 바로가기

하루를살자

검색하기
하루를살자
프로필사진 Kai1996

  • 분류 전체보기 (58)
    • Java (3)
    • JS (18)
    • Algorithm Practices (5)
    • CSS (3)
    • Swift (13)
    • 코드스쿼드 2022 (1)
    • 디자인 패턴 (1)
    • Architecture (5)
    • Xcode (2)
    • iOS (7)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
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
Tags
  • CoreData Filter
  • CoreData
  • 1009번
  • leetcode #01
  • 2022 부스트캠프
  • Persistent store Coordinator
  • persistentStoreCoordinator
  • CoreData Stack
  • 스위프트 클로저
  • Clean swift
  • Associated Value
  • Swift 고차함수
  • Raw value and Associated value
  • NSManagedObject SubClass
  • NSSortDescriptor
  • codability
  • LightWeight Migration
  • CoreData Concurrency
  • 일급 객체
  • Swift
  • 트레일링 클로저
  • Java
  • expensive operation
  • 다익스트라 이해
  • Swift LinkedList
  • iOS Static Library 사용하는방법
  • iOS Static Library
  • dateFormatter
  • Swift closure
  • NSPredicates
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Raw value and Associated value (1)

하루를살자

Swift - Enum

Enumerations Enumeration cases can specify associated values of any type to be stored along with each different case value. You can use 'case' keyword to introduce new enumeration cases. Each enumeration definition defines a new type. var directionToHead = CompassPoint.west directionTohead = .east The type of directionTohead is already known, so its type can be dropped when setting its value. ==..

Swift 2021. 12. 31. 03:14
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바