Why does NSClassFromString return nil ? As per the definition it has to return class name. How should I take care to rectify this problem? I need t
NSClassFromString
nil
If you are trying to instantiate a class from a static library, you must add the "-ObjC" flag to the "Other Linker Flags" build setting.