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
- RxCocoa
- Observable
- tableView
- map
- collectionview
- Protocol
- uitableview
- ribs
- UICollectionView
- SWIFT
- 리펙토링
- MVVM
- Human interface guide
- Clean Code
- swift documentation
- combine
- rxswift
- swiftUI
- 리펙터링
- ios
- Xcode
- uiscrollview
- clean architecture
- 애니메이션
- UITextView
- 클린 코드
- Refactoring
- 리팩토링
- HIG
- 스위프트
Archives
- Today
- Total
목록원하는 뷰 영역만 드래그 할 때 보이도록 하는 방법 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] UICollectionView에서 원하는 뷰 영역만 드래그 할 때 보이도록 하는 방법 (itemsForBeginning, dragInteractionEnabled, dragDelegate, dropDelegate)
UICollectionView의 Drag & Drop UICollectionView에서 dragInteractionEnabled = true하면 drag & drop을 구현할 수 있고, dragDelegate, dropDelegate를 구현하면 데이터 처리가 가능 DragDropCollectionView 구현 방법은 이전 포스팅 글 참고 코드 Github drag할 때 특정 뷰만 보이게끔 하는 방법? 만약 cell을 타원 형태로 만들고 싶을 때, drag & drop을 하게되면 cell의 사각형 영역만큼 하얀색 영역이 생성됨 (이동시킬 때 보라색 바깥쪽에 cell의 하얀색 색상이 생성된 형태) UICollectionViewDragDelegate의 itemsForBeginning을 사용하면 쉽게 구현이 가..
iOS 응용 (swift)
2023. 8. 3. 01:10