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

Complete AttributedString archive coding

Đang mở
#1,167 0 bình luận 0 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ó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/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 CodableAttributedString and tracing how it encodes and decodes text attributes, especially attachments and Color.Resolved opacity. Add tests for fonts, colors, attachments, and opacity equal to 1; done when an attributed string survives an encode and decode cycle with those attributes intact.

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

Mô tả

area: text type: feature

Summary

Complete the encoding and decoding of AttributedString attributes in archives.

Scope

  • Encode and decode text attributes, including text attachments, in CodableAttributedString.
  • Skip encoding opacity for Color.Resolved when it is 1.
  • Add tests.

Acceptance criteria

  • An AttributedString with fonts, colors, and attachments survives an encode and decode cycle.
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.