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