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
- tableView
- ios
- uiscrollview
- 리팩토링
- map
- 클린 코드
- Clean Code
- combine
- Refactoring
- 애니메이션
- swift documentation
- RxCocoa
- 리펙터링
- HIG
- MVVM
- 스위프트
- Human interface guide
- rxswift
- Observable
- collectionview
- ribs
- UITextView
- Protocol
- Xcode
- uitableview
- swiftUI
- SWIFT
- UICollectionView
- clean architecture
- 리펙토링
Archives
- Today
- Total
목록hash (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] Hashable, 해시 (struct 형 해시, class 형 해시)
Hash란? hashing: 임의의 길이를 갖는 데이터(key)를 고정된 길이의 데이터(value)로 매핑하는 의미 hash function: key > value 매핑하는 함수 hash code: index값 hash value: hash code에 해당되는 value 값 collision(충돌) chaining으로 해결: hash function을 통해 얻은 hash code값에 이미 데이터가 존재하는 경우 > linked list를 통해 저장 LInear Probing으로 해결: hash code += 1 이동 Rehashing: Hash Table Hashable Hashing 기능 프로토콜 - 임의의 길이를 갖는 데이터(key)를 고정된 길이의 데이터(value)로 매핑 사용 Dictionary..
iOS 기본 (swift)
2021. 8. 25. 00:08