I have a Swift class that needs to store a table of its own methods. Unfortunately this is causing a reference cycle, because its table retains references to self
self
wrapped no param function with block
myCallbacks.append({ [unowned self] in self.myInternalFunction() })
wrapped param function with block
myCallbacks.append({ [unowned self] page in self.reloadData(page: page) })