InMac O’ClockbyShivam Jaiswal·May 3, 2020Hidden cost of String allocation in SwiftSwift automatically allocates and deallocates memory on your behalf. Some of that memory it allocates on the stack and some on the heap.A response icon2A response icon2
InMac O’ClockbyShivam Jaiswal·May 2, 2020Strategy Design Pattern & Problem it solves using SwiftIn Strategy pattern, a class behaviour or its algorithm can be changed at run time. This type of design pattern comes under behaviour…