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
- collectionview
- Xcode
- HIG
- Refactoring
- swift documentation
- 스위프트
- Human interface guide
- Clean Code
- RxCocoa
- 리펙토링
- UITextView
- swiftUI
- 클린 코드
- ios
- 애니메이션
- scrollview
- Protocol
- Observable
- 리팩토링
- MVVM
- ribs
- rxswift
- map
- combine
- uitableview
- SWIFT
- UICollectionView
- uiscrollview
- tableView
- clean architecture
Archives
- Today
- Total
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 17. for - where문 본문
for에서 나온 데이터 값을 바로 if문 사용하는 경우 (아래)
for data in mandatoryData {
if data.isAccept == false {
isAcceptAllMandatoryTerms.accept(false)
return
}
}
아래와 같이 간결하게 표현
for data in mandatoryData where data.isAccept == false {
isAcceptAllMandatoryTerms.accept(false)
return
}'iOS 실전 (swift)' 카테고리의 다른 글
Comments