일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Foundation
- Xcode
- Terminal
- initializer
- enum
- extension
- Protocol
- initalizer
- tuist
- property
- struct
- 스위프트
- Swift
- 이니셜라이저
- Method
- 디자인패턴
- UIKit
- init
- 코딩테스트
- IOS
- optional
- url
- String
- Git
- Class
- instance
- Unicode
- type
- delegate
- interpace
- Today
- Total
목록2021/08/25 (3)
아리의 iOS 탐구생활
🔍 try do-catch Error Handling — The Swift Programming Language (Swift 5.5) Error Handling Error handling is the process of responding to and recovering from error conditions in your program. Swift provides first-class support for throwing, catching, propagating, and manipulating recoverable errors at runtime. Some operations aren docs.swift.org 오류처리(Error Handling)는 프로그램이 오류를 일으켰을 때 감지하고 복구하는 프로..
Date 관련 타입들은 앱 개발을 할때 굉장히 많이 사용하게 되는 타입중 하나이다. 시간과 날짜를 다루는 타입들은 swift 기본 프레임워크인 Foundation에 포함되어 있다. 🔍 Date Apple Developer Documentation developer.apple.com Foundation의 Date 타입은 전 세계적으로 정확히 같은 시간을 표현하기 위한 타입이다. init() 현재 시간을 나타내준다. init(timeIntervalSinceNow: TimeInterval) 현재 시각으로 부터 입력한 초 이후의 시점을 나타낸다. init(timeInterval: TimeInterval, since: Date) 다른 Date()객체로부터 입력한 초 이후의 시점을 나타낸다. init(timeInt..
✔️ Apple 공식문서 참고 Apple Developer Documentation developer.apple.com Strings and Characters — The Swift Programming Language (Swift 5.5) Strings and Characters A string is a series of characters, such as "hello, world" or "albatross". Swift strings are represented by the String type. The contents of a String can be accessed in various ways, including as a collection of Character values. Swi docs.s..