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

未关闭
#752 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

claration/feather 的其他 Issue

查看 claration/feather 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。