ios - How to run Objective-C file in the beginning of Swift project -


i trying use objective-c in swift project.i want use this library of objective-c in swift.i imported library in swift project.i want library run in beginning when build project,but when build project,viewcontroller.swift being run.so,how run library in beginning?

in objective c can have class +(void)load method... run early, maybe before set up... can investigate constructor attribute.


Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -