Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- tableView
- UITextView
- collectionview
- rxswift
- RxCocoa
- Human interface guide
- 클린 코드
- 리펙터링
- HIG
- swift documentation
- uitableview
- Refactoring
- MVVM
- Xcode
- uiscrollview
- 애니메이션
- Clean Code
- Protocol
- clean architecture
- SWIFT
- 스위프트
- ribs
- swiftUI
- ios
- UICollectionView
- 리팩토링
- map
- combine
- 리펙토링
- Observable
Archives
- Today
- Total
목록@discardableResult (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] @discardableResult
@discardableResult 의미: 문구 그대로 결과값을 discardable(버릴 수 있는) 의미 함수의 return값을 discadable시킬 수 있다는 의미 -> return 값을 사용하지 않아도 warning 메세지를 나오지 않도록 설정 @discardableResult를 사용방법 Warning메세지: "Result of call to 'returnFunction(count:)' is unused" 해당 함수 위에다가 @discardableResult를 사용하면 warning메세지 제거
iOS 기본 (swift)
2021. 2. 19. 00:27