Why NSMutableArray inherits from NSArray
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-16 13:19:55
0
2
767

Why NSMutableArray inherits from NSArray

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
伊谢尔伦

NSArray is actually a class cluster, refer to the official documentation https://developer.apple.com/l...

NSMutableArray is said to inherit it, but in fact many implementation methods are different. The above document uses NSNumber as an example at the beginning to show that NSNumber can actually be an int or a float. The principle is similar.

我想大声告诉你

This is what people write in the document

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template