Skip to content

Conversation

@theMomax
Copy link
Contributor

@theMomax theMomax commented Dec 6, 2023

Foundation defines the FormatStyle protocol making it easy to format all kinds of data. While its API works great for defining a format and formatting static values, re-formatting every time a continuous dynamic input value changes is unnecessary and computationally expensive. Format styles need a mechanism to provide information for what inputs it is actually necessary to update the output.

Read the full proposal here...

Implementation: theMomax#2

@theMomax theMomax added the API Change Any changes to Foundation's public API surface label Dec 6, 2023
@iCharlesHu iCharlesHu added proposal This PR is for a proposal and removed API Change Any changes to Foundation's public API surface labels Dec 8, 2023
Co-authored-by: Tina Liu <49205802+itingliu@users.noreply.github.com>
@theMomax theMomax force-pushed the maxobermeier/discrete-format-style-proposal branch from d3d7ef2 to 678ad15 Compare January 4, 2024 10:12
@itingliu itingliu merged commit 937fbfd into swiftlang:main Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

proposal This PR is for a proposal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants