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
You also need to make sure the class you are trying to instantiate is included in the project. If you added it later, you made need to click the checkbox next to the Target you are building.