I have classes A and B. Can I put these classes in the same NSMutableArray without problems in future?
Example:
NSMutableArray *maincoll = [[NSMutabl
You can put objects of different classes. They just need to inherit from NSObject. Don't forget to release after adding to the array.