in Technology by (1.8m points)

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

1 Answer

0 votes
by (1.8m points)

For instantiating a class using its name, you can use

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

Related questions

0 votes
asked Nov 10, 2020 in Technology by JackTerrance (1.8m points)