| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- property
- Class
- 이니셜라이저
- Protocol
- tuist
- 코딩테스트
- enum
- optional
- type
- 스위프트
- extension
- initalizer
- UIKit
- Xcode
- Unicode
- Git
- initializer
- struct
- Terminal
- delegate
- url
- Method
- init
- interpace
- String
- IOS
- Foundation
- 디자인패턴
- Swift
- instance
Archives
- Today
- Total
목록widthInsensitive (1)
아리의 iOS 탐구생활
Apple Developer Documentation developer.apple.com 🔍 CaseInsensitive Option 스위프트에서는 대소문자를 구분하는데, 해당 옵션을 추가하면 대소문자 구분을 없앨 수 있다. "A" == "a" // false "A".caseInsensitiveCompare("a") == .orderedSame // true "A".compare("a", options: [.caseInsensitive]) == .orderedSame // true /* 원래 해당 옵션의 풀네임은 NSString.CompareOptions.caseInsensitive 이건데, 스위프트는 타입추론이 가능하여 보다 짧게 입력하여 편리하게 사용할 수 있다. */ 🔍 Literal Option ..
Swift/자료구조
2021. 8. 24. 19:38