NS (Stands for NextStep), which is fully object oriented Objective-c and CF (Stands for Core Foundation), which are C-based APIs. Memory management varies depending on the structure used.
In terms of performance, if you really have performance bottlenecks, and you understand that memory management with C, I will move on to Objective-C. Now, with his garbage collection, the pain went away.
source share