¡@

Home 

2014/10/15 ¤U¤È 10:14:06

iphone Programming Glossary: shallow

Problem copying NSMutableArray

http://stackoverflow.com/questions/2976910/problem-copying-nsmutablearray

this question You need to make sure all the contents of self.items adopt the NSCopying protocol. If you just want a shallow copy send the mutableCopy message to self.items . NSMutableArray itemsCopy self.items mutableCopy share improve this answer..

How to move to First viewController from last View controller among multiple view controllers

http://stackoverflow.com/questions/3105855/how-to-move-to-first-viewcontroller-from-last-view-controller-among-multiple-vie

how to do true deep copy for NSArray and NSDictionary with have nested arrays/dictionary?

http://stackoverflow.com/questions/5453481/how-to-do-true-deep-copy-for-nsarray-and-nsdictionary-with-have-nested-arrays-di

this object supports it if obj respondsToSelector @selector mutableDeepCopy cArray i obj mutableDeepCopy Then try a shallow mutable copy if the object supports that else if obj respondsToSelector @selector mutableCopyWithZone cArray i obj mutableCopy.. this object supports it if obj respondsToSelector @selector mutableDeepCopy cObjects i obj mutableDeepCopy Then try a shallow mutable copy if the object supports that else if obj respondsToSelector @selector mutableCopyWithZone cObjects i obj mutableCopy..

Deep Copy and Shallow Copy

http://stackoverflow.com/questions/9912794/deep-copy-and-shallow-copy

Copy and Shallow Copy I have read the answer for difference between deep copy and shallow copy from the post What is the difference between a deep copy and a shallow copy . Now I got some doubt that when we made.. for difference between deep copy and shallow copy from the post What is the difference between a deep copy and a shallow copy . Now I got some doubt that when we made a shallow copy by newArray NSmutableArray arrayWithArray oldArray the new.. from the post What is the difference between a deep copy and a shallow copy . Now I got some doubt that when we made a shallow copy by newArray NSmutableArray arrayWithArray oldArray the new array will point to oldArray. As from the figure . Now what..