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
- clean architecture
- 애니메이션
- 리팩토링
- 스위프트
- Protocol
- Human interface guide
- rxswift
- collectionview
- MVVM
- SWIFT
- combine
- Refactoring
- swift documentation
- ribs
- Observable
- HIG
- Clean Code
- ios
- RxCocoa
- 리펙터링
- UICollectionView
- map
- UITextView
- Xcode
- 클린 코드
- swiftUI
- uiscrollview
- tableView
- 리펙토링
- uitableview
Archives
- Today
- Total
목록dragInteractionEnabled (1)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/xT4Z0/btso4ysxPZw/jvLF97gR3lqi0R7TAoWzlk/img.gif)
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