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
- Observable
- SWIFT
- swift documentation
- 스위프트
- Human interface guide
- map
- uiscrollview
- HIG
- uitableview
- 리펙토링
- Protocol
- RxCocoa
- Clean Code
- ios
- Xcode
- UITextView
- Refactoring
- tableView
- 애니메이션
- 클린 코드
- MVVM
- combine
- swiftUI
- 리팩토링
- ribs
- rxswift
- clean architecture
- 리펙터링
- UICollectionView
- collectionview
Archives
- Today
- Total
목록scrollToRow (1)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cZKVqR/btsEHGWxNo7/kWBJh5w2iB3gBlc0mWLy90/img.png)
scrollToRow UIScrollView에서 제공하는 scrollToRow(at:at:animated:)라는 메소드를 활용하여 scrollToTop, scrollToBottom과 같은 것을아래처럼 호출이 가능 tableView.scrollToRow(at: .init(row: 0, section: 0), at: .top, animated: true) 하지만 scrollToTop을 위해 위처럼 작성할 경우 IndexPath의 row값이 없는 경우 크래시가 발생 // terminating due to uncaught exception of type NSException tableView.scrollToRow(at: .init(row: 0, section: 0), at: .top, animated: true..
iOS 응용 (swift)
2024. 2. 14. 01:47