3 ms·
Yes, that’s ObjC, any NSMutableArray is an NSArray (and an NSObject) - classes passed by reference. Swift is completely different. Standard arrays are structur
by catoc 9d ago
Yes, that’s ObjC, any NSMutableArray is an NSArray (and an NSObject) - classes passed by reference.
Swift is completely different. Standard arrays are structures, always mutable - value types passed by value