krzysztofzablocki / Inject

Hot Reloading for Swift applications!
MIT License
2.14k stars 114 forks source link

Where should `@_exported import Inject` be placed? #21

Closed chadparker closed 2 years ago

chadparker commented 2 years ago

You can either add import Inject in individual files in your project or use @_exported import Inject in your project target to have it automatically available in all its files.

Where should I add this line? Google didn't help me in this case.

(thank you for this great library!)

krzysztofzablocki commented 2 years ago

any file in your target will mean that you no longer need to import Inject into individual files

chadparker commented 2 years ago

Thank you!