Here’s a link to the chat:
@dlx Your shiny teeth always brightens my timeline like no one else…
how do you do it? Is this some extended color range trickery?
*I* certainly would've not be able to replicate this using a traditional graphics design tool.
I made the revised icon mockup using ChatGPT. It took a few prompts and a pencil and paper mockup to communicate the idea but it's pretty exciting to see these results given the time and effort put in.
Added a convenience function to join text events into a String and simplified the implementation for the class attribute.
https://github.com/Sophiestication/swifty-xml-sequence/commits/main/
Added an extension to Data to parse in xml and html mode.
https://github.com/Sophiestication/swifty-xml-sequence/commits/main/
And I also refactored the Attribute type to support identifiers and classes, dynamic member lookup and what not.
Also added flatMap with state and non-async variants of collect() and filter() for elements.
This whole swifty generic programming is good and nice until Xcode starts beachballin‘ on every character change.
I've added a new map with a state helper for parsing event sequences.
Check out the Trivia Playground to see how it can be used to build attributed string styles:
Added a Wikipedia Article Playground for testing and visualization, and fixed an actor isolation issue in the linebreak mapping implementation.
Introduced a chunked(by matchingElement:) function and performed some minor refactoring.
Further improved line break mapping and added support for custom URLSessionTaskDelegate, which I totally did not forgot to implement 😅