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

Caught an error while compiling #6

Closed
arishanapalli opened this issue Jan 7, 2020 · 2 comments
Closed

Caught an error while compiling #6

arishanapalli opened this issue Jan 7, 2020 · 2 comments

Comments

@arishanapalli
Copy link

caught an error while compiling for the following configuration X-Code Version 10.1 (10B61) Swift 4.2

Error Message
Generic parameter 'T' could not be inferred

if #available(iOS 13.0, *) {
styleSettings.set(key: .textColor, value: .label)
styleSettings.set(key: .defaultActionColor, value: .label)
styleSettings.set(key: .destructiveColor, value: .systemRed)
styleSettings.set(key: .tintColor, value: .systemBlue)
}

Can you let me know how can able to fix this following in swift 4.2

@loryhuz
Copy link
Owner

loryhuz commented Jan 8, 2020

Thanks, I need to check, it's actually built on Swift 5, never tried lower version.

@loryhuz
Copy link
Owner

loryhuz commented Jan 14, 2020

@arishanapalli I added support for Swift 4.2 in 1.0.1.

Tell me if all is right for you then.
Thanks

@loryhuz loryhuz closed this as completed Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants