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
- mac
- window
- Python
- MacOS
- Firebase
- Apple
- Code
- 웹뷰
- stack
- Swift
- iOS16
- darkmode
- Notification
- IOS
- Realm
- Git
- 한글
- view
- SwiftUI
- appstore
- FLUTTER
- UIButton
- error
- Session
- Xcode
- Archive
- 개발자
- rxswift
- JPA
- github
Archives
- Today
- Total
목록completion (2)
EEYatHo 앱 깎는 이야기
Swift ) RxSwift TableView Reload Completion - EEYatHo iOS
테이블 리로드 후, 스크롤 하는 기능을 만들어야해서... reload completion 관련으로 엄청 삽질했는데...... 그냥 테이블 그리는 이벤트 발생, 스크롤 하는 이벤트 발생으로 단순하게 하면 잘.. 됩..니..다...ㅇㄴㅁㄴㅁㅇㄴㅁㄹㅁㄴ 충격에 휩싸여서 쓰는 글 ㅠ tableRelay.acceopt(list) tablaScrollRelay.accept(scrollIndex) 이런식으로 말이죠 ㅜㅡ..
iOS, Swift
2021. 3. 30. 18:14
Swift ) reloadData Completion 콜렉션뷰 리로드 끝날 때 감지
기본형 collectionView.reloadData() collectionView.performBatchUpdates { // 리로드 끝나고 실행되길 원하는 소스 } 리로드가 끝나면, 그 콘텐츠 크기만큼 AutoLayout으로 높이 설정하기 collectionView.reloadData() collectionView.performBatchUpdates { [weak self] in self?.collectionView.snp.updateConstraints { $0.height.equalTo(self?.collectionView.contentSize.height) } }
iOS, Swift
2021. 3. 11. 09:44