Can we create Dynamic Classes in Objective C? If Yes, Explain how to create with a valid use case?
236k points Registered user
For instantiating a class using its name, you can use
NSClassFromString: id obj = [[NSClassFromString(@”MySpecialClass”) alloc] init];
Get access to your account and question