I reference two frameworks [PDFGenerator and PDFKit] that both contain an object named PDFPage. In the PDFGenerator framework, PDFPage is an Enum. In the PDFKit framework, PDFPage is an object. When I try to create an instance of the PDFPage Enum I get the error:
'PDFPage' is ambiguous for type lookup in this context'.
How do I specify which PDFPage I am trying to instantiate?
Simplified example below:
import PDFKit
import PDFGenerator
public class VC: UIViewController {
var page:PDFPage? // <-- This throws the error mentioned above.
}