We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cartography/Cartography/View.swift
Line 13 in d0dc3f3
Line 22 in d0dc3f3
causes 'View' is ambiguous for type lookup in this context when using Cartography in the same file as a SwiftUI View. For example, with HostingViews.
'View' is ambiguous for type lookup in this context
It can be fixed by specifying SwiftUI.View and var body: some SwiftUI.View, but seems best to avoid clashing with built-in types.
SwiftUI.View
var body: some SwiftUI.View
The text was updated successfully, but these errors were encountered:
Also collides with Context from both UIViewRepresentable and NSViewRepresentable
Context
UIViewRepresentable
NSViewRepresentable
Sorry, something went wrong.
No branches or pull requests
Cartography/Cartography/View.swift
Line 13 in d0dc3f3
Cartography/Cartography/View.swift
Line 22 in d0dc3f3
causes
'View' is ambiguous for type lookup in this context
when using Cartography in the same file as a SwiftUI View. For example, with HostingViews.It can be fixed by specifying
SwiftUI.View
andvar body: some SwiftUI.View
, but seems best to avoid clashing with built-in types.The text was updated successfully, but these errors were encountered: