how to avoid importing the same Framework on every swift file

Viewed 2210

Is there a way to always import a few libraries on every file? without putting them into a framework

for example, instead of having to do

--MySwiftFile.swift--

import UIKit 
import Foundation
import ...

I could do something like:

--SharedImports.swift--

import UIKit 
import Foundation
import ...

--MySwiftFile.swift--

import SharedImports.swift
1 Answers
Related