问题
I did not find any tutorials on creating and loading dylibs at runtime.just from the apple I have seen that dlopen
will openthe dylibs
.
I have created a cocoa dynamic library and added on method saying -(void)displayMethod
.
I was in confusion like whether I need to copy only the .dylib
file to my new project or entire folder of the dylib.
can any body give me good tutorial link which has info on How to set the path and how to load the cocoa dylibs.Currently I am using XCode4.
来源:https://stackoverflow.com/questions/10294528/how-to-load-cocoa-dylib-from-my-application-and-call-the-method-of-dylib