Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Implement the symbol effect API

Abierto
#1,199 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
swift

Línea de trabajo

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.

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

Descripción

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.
Lenguaje dominante
Swift
Estrellas
2.5k
Forks
84
Merge medio
3 h 22 min
PR fusionados (30 d)
78

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 OpenSwiftUIProject/OpenSwiftUI

Todos los issues de OpenSwiftUIProject/OpenSwiftUI

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.