-
-
Save ahmed-abdurrahman/2585fcbc64ec36268412 to your computer and use it in GitHub Desktop.
Avoiding memory cycle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pushBehavior.action = { [unowned pushBehavior] in | |
pushBehavior.dynamicAnimator!.removeBehavior(pushBehavior) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment