Implement the symbol effect API
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
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
_SymbolEffectwith its storage, trigger, options, configurations, phase, environment storage, and protobuf encoding. - Add
AnyEquatablefor value-based effect triggers. - Implement the SPI
SymbolEffectconfigurations,_SymbolEffectModifier,_SymbolEffectsModifier,_SymbolEffectsRemovedModifier,SymbolEffect.HiddenTransition, andContentTransition.symbolReplace. - Add the Symbols-based modifiers
_IndefiniteSymbolEffectModifier,_DiscreteSymbolEffectModifier, and_ConditionalSymbolEffectModifier, plusSymbolEffectTransitionandContentTransition.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
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus OpenSwiftUIProject/OpenSwiftUI
-
area: tooling type: build
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
OpenSwiftUIProject/OpenSwiftUI#1228 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Implement PickerOffenarea: data-flow area: view type: feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
OpenSwiftUIProject/OpenSwiftUI#1225 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add Shader supportOffenarea: graphics area: rendering type: feature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 18/100
OpenSwiftUIProject/OpenSwiftUI#1223 · 3 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add MeshGradient supportOffenarea: graphics area: rendering type: feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
OpenSwiftUIProject/OpenSwiftUI#1222 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Implement ImageRendererOffenarea: rendering type: feature
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 35/100
OpenSwiftUIProject/OpenSwiftUI#1214 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in OpenSwiftUIProject/OpenSwiftUI
Ähnliche Issues
-
[Bug] Library write-failure banner cannot be dismissed or collapsedEvtl. vergeben @JoeyWu-tech hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
yetone/magpie#3745 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
deltachat/deltachat-ios#3411 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 14 Tagen
-
a:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
vorssaint/vorssaint-utils#3527 ·
Maintainer antworten meist innerhalb von 1 Tag