I have two classes say A
and B
and I want to create objects of any one of these classes depending upon some condition. Can I create a custom class cluster for this? If YES, how? I know that NSMutableArray
also works on the same principle.
Asked
Active
Viewed 664 times
3

Jano
- 62,815
- 21
- 164
- 192

Ankit Srivastava
- 12,347
- 11
- 63
- 115
-
2You could take a look at [this](http://stackoverflow.com/questions/1844158/what-exactly-is-a-so-called-class-cluster-in-objective-c) question, and especially Frank C.'s answer. – Monolo Jan 11 '13 at 09:45