Home:ALL Converter>Runtime library importing in Objective-C

Runtime library importing in Objective-C

Ask Time:2011-03-07T01:04:36         Author:Rui Campos

Json Formatter

I would like to know how I can import a library into Objective-C at runtime. I'm new to Objective-C and this may be a complex question, but I'm fairly proficient in C/C++,

I'm developing a modular application where specific modules (libraries) are loaded as needed. Basically I have a name in runtime, like "nodeX", and I want to load a library that has it.

I've been searching for a way to do this but have been unsuccessful.

Thanks!

Author:Rui Campos,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/5211960/runtime-library-importing-in-objective-c
yy