- Hands-On Design Patterns with Swift
- Florent Vilmart Giordano Scalzo Sergio De Simone
- 60字
- 2021-07-02 14:45:03
The semantics of reference counting
We make a distinction between manual and ARC, as the former requires the developer to write the different calls to the memory management methods alongside the logic of the program, and the latter has that same code injected by the compiler. Let's go over the semantics of manual reference counting in the context of Objective-C.