Hands-On Design Patterns with Swift
上QQ阅读APP看书,第一时间看更新

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.