Consider:
FrameworkA
Thing
FrameworkB
How to reference FrameworkA.Thingin the specified file? The next line does not work with Thing is not a member of FrameworkA.
FrameworkA.Thing
Thing is not a member of FrameworkA
let t : FrameworkA.Thing? = nil
This seems to be a Swift bug. As a workaround, you can create a new Swift file in the application, which only imports FrameworkAand defines typealiasfor Thing:
typealias
import FrameworkA typealias ThingA = Thing
, , ThingA FrameworkA.Thing.
ThingA