0
Can we create Dynamic Classes in Objective C? If Yes, Explain how to create with a valid use case?

Open 1 Answers 49 Views Technology

Can we create Dynamic Classes in Objective C? If Yes, Explain how to create with a valid use case?

1 Answer

0

For instantiating a class using its name, you can use

NSClassFromString: id obj = [[NSClassFromString(@”MySpecialClass”) alloc] init];

by (301k points)
...