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