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

Abierto
#752 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ios, swift
Área
mobile-dev

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Swift
Estrellas
4.8k
Forks
430
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de claration/feather

Todos los issues de claration/feather

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.