| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- UICollectionView
- swiftUI
- Xcode
- Human interface guide
- uiscrollview
- ios
- rxswift
- tableView
- 클린 코드
- clean architecture
- ribs
- swift documentation
- scrollview
- collectionview
- uitableview
- MVVM
- UITextView
- RxCocoa
- map
- 스위프트
- Observable
- Refactoring
- combine
- 애니메이션
- HIG
- 리팩토링
- Protocol
- Clean Code
- 리펙토링
- SWIFT
- Today
- Total
목록deprecated (2)
김종권의 iOS 앱 개발 알아가기
deprecated 옵션 기초 개념만약 새로운 함수가 필요하여 기존에 사용하던 함수는 deprecated되었다는 의미를 개발자에게 주고 싶은 경우 아래처럼 @availble(*, deprecated)를 사용하여 알려주는 방법이 존재class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() deprecatedFunc() deprecatedFunc2() } @available(*, deprecated) func deprecatedFunc() { } @available(*, deprecated, message: "새로운 A ..
deprecated 알림 표시 특정 메서드가 리펙터링 되거나 버전이 증가한 경우, 기존 메서드 사용을 지양시키고 싶은 경우? @avaialbe(*, deprecated)를 사용 a() 메서드를 deprecated 알림을 주고, b() 메서드를 실행시키고 싶은 경우? class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() a() } func a() { } func b() { } } @available(*, deprecated, message:) 키워드를 사용 @available(*, deprecated, message: "b()를 사용해주세요.") func a() { } 만약 이름만 변경된 메서드가 ..