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 |
Tags
- map
- collectionview
- 리펙토링
- tableView
- Protocol
- HIG
- rxswift
- Observable
- swiftUI
- SWIFT
- Refactoring
- 리팩토링
- 클린 코드
- 스위프트
- uiscrollview
- clean architecture
- ribs
- ios
- UITextView
- combine
- Human interface guide
- uitableview
- RxCocoa
- 리펙터링
- MVVM
- Clean Code
- swift documentation
- UICollectionView
- 애니메이션
- Xcode
Archives
- Today
- Total
목록ㅇ (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] enumerated() 함수
개념 array값에 enumerated()함수를 사용하면, (index, value) 튜플형식으로 구현된 리스트형이 리턴 예제) for문과 사용 let arr = ["one", "two", "three"] print(arr.enumerated()) // EnumeratedSequence(_base: ["one", "two", "three"]) for (index, number) in arr.enumerated() { print("\(index), \(number)") } /* 0, one 1, two 2, three */
iOS 기본 (swift)
2021. 2. 9. 22:56