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 |
Tags
- Human interface guide
- MVVM
- uiscrollview
- Observable
- tableView
- swiftUI
- 스위프트
- rxswift
- Clean Code
- swift documentation
- uitableview
- 클린 코드
- 리팩토링
- Protocol
- SWIFT
- 애니메이션
- combine
- ios
- clean architecture
- 리펙토링
- UITextView
- HIG
- collectionview
- ribs
- RxCocoa
- UICollectionView
- map
- Xcode
- 리펙터링
- Refactoring
Archives
- Today
- Total
목록스크롤 이동 (1)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/c9dRH0/btrimIomcJV/pRTi8lxxoT3OC94JbyzpkK/img.gif)
UITableView에서 스크롤 이동 tableView.scrollToRow(at:at:animated:) 메서드 사용 UI적인 접근이 필요하므로 main 스레드에서 접근 @IBAction func didTapButton(_ sender: Any) { DispatchQueue.main.async { [weak self] in self?.tableView.scrollToRow(at: IndexPath(row: 77, section: 0), at: .bottom, animated: true) } } CollectionView에서 스크롤 이동 collectionView.scrollToItem(at:at:animated:) 메서드 이용 main 스레드로 접근 @objc func didTapMoveScrollB..
iOS 응용 (swift)
2021. 10. 21. 00:04