Skip to content
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

Optimize Color initializer for cross-platform support #1

Open
lilingxi01 opened this issue Jan 16, 2023 · 0 comments
Open

Optimize Color initializer for cross-platform support #1

lilingxi01 opened this issue Jan 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lilingxi01
Copy link
Owner

Right now, the dynamic color initializer only supports UIColor, which can be used exclusively on iOS and not macOS.

We don't want to have duplicate chunks of definitions, so it would be better to write initializers that support both UIColor and NSColor under the same scheme.

@lilingxi01 lilingxi01 added the enhancement New feature or request label Jan 16, 2023
@lilingxi01 lilingxi01 self-assigned this Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant