-
Notifications
You must be signed in to change notification settings - Fork 528
Open
Description
Cartography/Cartography/View.swift
Line 13 in d0dc3f3
| public typealias View = UIView |
Cartography/Cartography/View.swift
Line 22 in d0dc3f3
| public typealias View = NSView |
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 and var body: some SwiftUI.View, but seems best to avoid clashing with built-in types.
feifanzhou
Metadata
Metadata
Assignees
Labels
No labels