ios - Global import for Swift CocoaLumberjack -


i configured cocoalumberjack using swift pod.

and can log whatever:

ddlogvervose("") ddloginfo("") 

but have in every class use it:

import cocoalumberjack 

isnt there way can globaly import ?

the "trick" have available in classes use pch (precompiled header) , import cocoalumberjack there. it's header gets imported in files.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -