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

オープン
#752 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ios, swift
領域
mobile-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Swift
スター
4.8k
フォーク
430
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

claration/feather のほかの issue

claration/feather の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。