Can I put different types of objects in the same NSMutableArray?

后端 未结 3 765
别那么骄傲
别那么骄傲 2021-02-14 00:19

I have classes A and B.
Can I put these classes in the same NSMutableArray without problems in future?

Example:

NSMutableArray *maincoll = [[NSMutabl         


        
3条回答
提交回复
热议问题