[iOS]DiffableDatasource + Realm 구현시, Button Tag 관련
기존 코드버튼 태그 값을 이용하여 북마크 삭제 기능 구현private func configureDataSource() { let cellRegistration = UICollectionView.CellRegistration { (cell, indexPath, identifier) in cell.updateUIInBookmarkVC(identifier) cell.bookmarkButton.tag = indexPath.item cell.bookmarkButton.addTarget(self, action: #selector(self.bookmarkButtonClicked), for: .touchUpInside) cell..
[iOS] Project - NuriROCK
2024. 4. 24. 23:42
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- DiffableDataSource
- remakeconstraints
- SwiftUI
- Alamofire
- API
- 한국관광공사
- ios
- accessibilityidentifier
- optimisticui
- custommodifier
- tabman
- Generic
- Router
- network
- 빈배열
- Swift
- urlsession
- Xcode
- routerpattern
- 라우터패턴
- 타입불일치
- TableView
- Concurrency
- RxSwift
- makeconstraints
- collectionView
- UserDefaults
- SnapKit
- PropertyWrapper
- layout
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함