NSLog(@"array is %p, copyArray is %p, mutableCopyArray is %p", array, copyArray, mutableCopyArray); array is 0x60800001e580, copyArray is 0x60800001e580, mutableCopyArray is 0x608000046ea0 可變對象copy和mutableCopy均是單層深拷貝,也就是說單層的內(nèi)容拷貝; 1 2 3 4 5 6 7 8 9 10 11 12...
www.dbjr.com.cn/article/1315...htm 2025-5-14