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 |
Tags
- Swift
- IOS
- UIButton
- JPA
- view
- Git
- darkmode
- rxswift
- 웹뷰
- Session
- window
- 한글
- 개발자
- Notification
- Xcode
- error
- geofencing
- mac
- Code
- Firebase
- SwiftUI
- Apple
- github
- iOS16
- appstore
- 이미지
- FLUTTER
- MacOS
- Realm
- Archive
Archives
- Today
- Total
목록Swipe (2)
EEYatHo 앱 깎는 이야기
Swift ) Swipe Back Detect 스와이프 뒤로가기 감지 - EEYatHo iOS
swipe back 을 끄고, 키는 것은 interactivePopGestureRecognizer로 한다. navigationController?.interactivePopGestureRecognizer?.isEnabled = true // false 하지만, back을 성공했는지 실패했는지 감지할 때는 한계가 있다. @available(iOS 7.0, *) open var interactivePopGestureRecognizer: UIGestureRecognizer? { get } interactivePopGestureRecognizer는 그저 UIGestureRecognizer이기에, 얘를 아무리 들들 볶아도 화면 전환을 성공했는지 실패했는지는 알 수 없다. * 안되는 방법1 ) target을 이용한..
iOS, Swift/Tip, Bug, Swift Error
2021. 7. 28. 12:52
Swift) CollectioView 페이징 스와이프UX 핵심 - EEYatHo iOS
콜렉션뷰를 유저가 스와이프할 때, 어떤 위치의 아이템을 보여줄지 알아내는 소스 func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer) { // 스와이프시 애니메이션 끝날 떄 위치를 미리 알 수 있음 let index = Int(targetContentOffset.pointee.x / view.frame.width) ... }
카테고리 없음
2021. 3. 22. 11:46