@property (copy) nsmutablearray *array

-copy, as implemented by mutable Cocoa classes, always returns their immutable counterparts. Thus, when an NSMutableArray is sent -copy, it returns an NSArray containing the same objects.

http://stackoverflow.com/questions/14856681/why-does-a-copy-nonatomic-nsmutablearray-property-create-nsarrays

posted on 2015-08-18 16:44  ximenchuixie  阅读(176)  评论(0编辑  收藏  举报