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

Implement the symbol effect API

Aperta
#1,199 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift

Direzione di ricerca

Start by locating the SymbolEffect stubs, _SymbolEffect, and GraphicsImage.updateSymbolEffects, then trace the existing symbol animator and protobuf encoding paths. The scope spans effect storage, modifiers, transitions, environment behavior, and platform animation; completion means the listed effects animate SF Symbols on iOS, macOS, and visionOS and round-trip through protobuf encoding.

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

Descrizione

area: animation area: graphics area: rendering area: view platform: iOS platform: macOS platform: visionOS type: feature

Summary

The symbol effect API is mostly missing. SymbolEffect and its modifiers are empty stubs, _SymbolEffect has no storage or configurations, and GraphicsImage.updateSymbolEffects returns nil. As a result, symbolEffect, symbolEffects, symbolEffectsRemoved, SymbolEffectTransition, and ContentTransition.symbolEffect have no effect on SF Symbols images.

Scope

  • Implement _SymbolEffect with its storage, trigger, options, configurations, phase, environment storage, and protobuf encoding.
  • Add AnyEquatable for value-based effect triggers.
  • Implement the SPI SymbolEffect configurations, _SymbolEffectModifier, _SymbolEffectsModifier, _SymbolEffectsRemovedModifier, SymbolEffect.HiddenTransition, and ContentTransition.symbolReplace.
  • Add the Symbols-based modifiers _IndefiniteSymbolEffectModifier, _DiscreteSymbolEffectModifier, and _ConditionalSymbolEffectModifier, plus SymbolEffectTransition and ContentTransition.symbolEffect.
  • Drive symbol animations from the environment effects through the symbol animator: add, restart, cancel, priority, scale, and appear/disappear.
  • Convert Symbols effect configurations to the internal effect representation.

Acceptance criteria

  • The symbol effect modifiers and transitions animate SF Symbols images on iOS, macOS, and visionOS the same way as SwiftUI.
  • Symbol effects round-trip through protobuf encoding.
Lingua principale
Swift
Stelle
2.5k
Fork
84
Merge medio
3h 22m
PR unite (30g)
78

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.