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
Post a Comment