Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Implement Picker

Aperta
#1,225 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
frontend

Direzione di ricerca

No files or tests are named in the payload. Start from the public Picker API, PickerStyle, .pickerStyle(_:), and the existing platform presentation layer, then trace how styles receive label, content, and selection. Done when selecting an option updates the supplied bindings and focused checks cover explicit tags, automatic ForEach tags, optional values, and style dispatch.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: data-flow area: view type: feature

Summary

Add Picker to choose a tagged value and update one or more selection bindings.

Scope

  • Add the public Picker API, label overloads, and selection configuration.
  • Connect PickerStyle, .pickerStyle(_:), and platform presentations.
  • Preserve explicit tags, automatic ForEach tags, optional values, and auxiliary content.
  • Add focused coverage for selection updates and style dispatch.

Acceptance criteria

  • The public API matches SwiftUI 6.5.4 availability and actor isolation.
  • Selecting an option updates the supplied bindings.
  • Styles receive the picker label, content, and current selection.
  • Focused checks cover multiple sources and optional selection values.
Lingua principale
Swift
Stelle
2.5k
Fork
84
Merge medio
3h 14m
PR unite (30g)
84

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenSwiftUIProject/OpenSwiftUI

Tutte le issue di OpenSwiftUIProject/OpenSwiftUI

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.