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 | 31 |
Tags
- ribs
- 스위프트
- rxswift
- collectionview
- MVVM
- tableView
- 리펙터링
- Protocol
- 리펙토링
- Refactoring
- swiftUI
- combine
- Clean Code
- RxCocoa
- Human interface guide
- map
- UICollectionView
- 애니메이션
- uiscrollview
- uitableview
- SWIFT
- clean architecture
- ios
- Xcode
- UITextView
- 클린 코드
- 리팩토링
- HIG
- Observable
- swift documentation
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