I have classes A and B.
Can I put these classes in the same NSMutableArray without problems in future?
Example:
NSMutableArray *maincoll = [[NSMutabl
Yes.
This may be the shortest answer I've ever posted.
You can put objects of different classes. They just need to inherit from NSObject. Don't forget to release after adding to the array.
Yes. No limitations. The only thing you have to be careful of is when you retrieve items from the array to verify their class (if necessary) before starting to use them.