Memory leaks in Swift. ARC (Automatic Reference Counting)
Every time a class instance is created it takes up some memory space in RAM. Many programming languages use some kind of a garbage collector to deal with this by traversing an object graph to determine wether they are still being…