Is there a way to import once (or not import) a CocoaPod Framework in Swift


I've build a Pod library called UsefulExtensions. It's a framework written in Swift 3 which adds some useful class variable and functions to standard classes and types like UIView or String. Everything worked perfectly, and my framework is accessible from everywhere in the workspace. The problem is that I have to import it everywhere I use it.

Is there a way to make my functions visible without import my framework?

If not, is there an elegant way to import only once my framework for the whole project?

Show source
| xcode   | swift   | ios   | cocoapods   2017-01-07 23:01 0 Answers

Answers ( 0 )

◀ Go back