Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Implement the symbol effect API

Geschlossen
#1,199 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Ein zugehöriger Pull Request wurde bereits gemerged.

  • #1205 von @Kyle-Ye — gemerged

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
swift

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
Swift
Sterne
2.5k
Forks
84
Ø Merge
3 Std. 14 Min.
Gemergte PRs (30 T.)
84

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus OpenSwiftUIProject/OpenSwiftUI

Alle Issues in OpenSwiftUIProject/OpenSwiftUI

Ähnliche Issues

Weitere Issues zu Swift

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.