-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce AttributedString #3055
Conversation
@swift-ci please test |
cc @shahmishal @drexin @tomerd This is a large commit that is Delicate in a bunch of ways. I'm going to merge tomorrow after doing a deeper review, but keep an eye out for CI breakage in case we miss something. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See suggestion + issue with AnyHashable bridging above. We should perhaps check if the AnyHashable
is a NSObject-conforming value, and wrap it in a __SwiftValue
if it isn't.
Addressed @millenomi 's comments. |
@swift-ci please test |
@swift-ci please test and merge |
Looks like
cc @iCharlesHu |
|
Hey @iCharlesHu @millenomi, I must be kind of confused, but is it really the case that this project can no longer be run and tested on macOS at all? Use of |
Merging this will require that you use a matching toolchain; the main (trunk) snapshot toolchain from https://swift.org/download should in fact work. In general, even on macOS, you should always be working on this code with a matching toolchain, rather than use Xcode's default. On Linux, this is enforced as |
… and I'll be looking at the SR this coming week because whoops. I have been able to run recently on macOS despite that SR; I'll investigate. |
This patch introduces struct
AttributedString
and tests. Markdown support is not included in this patch as it will be introduced in a separate package.See Apple's documentation for more information.