[Feature] Two-finger swipe to multi-select in Library (like Files/Mail)

Đang mở
#752 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, swift
Lĩnh vực
mobile-dev

Hướng nghiên cứu

Start with LibraryCellView, where selectedAppUUIDs is managed by hand through tap toggles, and the Library list's editMode handling. Check whether the list can bind to SwiftUI's native selection (List(selection:) with .tag(app.uuid)) without breaking the existing selection and delete actions. Done means a two-finger drag selects every row it crosses in edit mode, with auto-scroll near the edges. The issue leaves open whether edit mode should also start from the gesture, so confirm that with a maintainer first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Request

In edit mode in Library, you have to tap each app one at a time to select it. I'd like the standard iOS two-finger gesture that Files, Mail and Notes use: put two fingers on a row and slide up or down to select every row they pass over. If you keep holding near the top or bottom edge, the list auto-scrolls and keeps selecting. Ideally this would also start edit mode, the way it does in Files.

That would make it much quicker to clear out lots of imported or signed IPAs at once.

Implementation hint: LibraryCellView manages selectedAppUUIDs by hand with tap toggles. If the list were bound to SwiftUI's native selection instead, e.g. List(selection: $_selectedAppUUIDs) with .tag(app.uuid) on each row plus the existing editMode, iOS would provide the two-finger pan selection and auto-scroll automatically, the same as UITableView's shouldBeginMultipleSelectionInteraction.

Request Agreement
  • I have read the requirements for opening an issue above
Contributor Checks
  • I am willing to attempt to make a pull request with these requested features
Ngôn ngữ chính
Swift
Star
4.8k
Fork
430
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của claration/feather

Tất cả issue của claration/feather

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.