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