how to load cocoa dylib from my application and call the method of dylib

↘锁芯ラ 提交于 2019-12-23 20:18:31

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!