How can identify strong reference cycles in Swift?
问题 Is there a tool or method to locate strong references cycles in my SWIFT code? A strong reference cycle is when two instances of classes reference each other without the proper safeties ( weak / unowned ) hence preventing the garbage collector from disposing of them once all the variables I created stopped referencing those objects. 回答1: The method for finding strong reference cycles is the same in Swift as it is in Objective-C. You'd run the app from Xcode, exercise the app sufficiently to