Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Implement the symbol effect API

Đang mở
#1,199 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
swift

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Swift
Star
2.5k
Fork
84
Merge trung bình
3 giờ 22 phút
Pull request đã merge (30 ngày)
78

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenSwiftUIProject/OpenSwiftUI

Tất cả issue của OpenSwiftUIProject/OpenSwiftUI

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.