Grab a method off an instance for use as a closure without implicitly retaining self.
Hopefully we'll get something formal to replace this dance eventually: https://forums.swift.org/t/pitch-weak-method-storage-modifiers-aka-weak-references/12161/17
TargetAction is released under an Apache license. See the LICENSE file for more information