4 ms·
It's automatic for Swift because Objective-C (where ARC was introduced) already had reference counting but you had to manually indicate whether an object should
by Jtsummers 4y ago
It's automatic for Swift because Objective-C (where ARC was introduced) already had reference counting but you had to manually indicate whether an object should be retained or released at any point. ARC added in the retain/release and such automatically during compilation.