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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -