material-motion / material-motion-swift

A toolkit for building responsive motion using Core Animation.
Apache License 2.0
1.42k stars 79 forks source link

Ability to remove UIView from runtime #98

Closed randcode-generator closed 7 years ago

randcode-generator commented 7 years ago

I would like a function that allows me to remove all features and functionality runtime.add added to my UIView. In another, a function that will make my UIView back to normal.

jverkoey commented 7 years ago

Our short-term solution for this may be to ensure that all interactions support being disabled.

pingpongboss commented 7 years ago

Yea, this is what I was going to suggest in discord.

On Fri, Apr 14, 2017, 11:38 AM featherless notifications@github.com wrote:

Our short-term solution for this may be to ensure that all interactions support being disabled.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/material-motion/material-motion-swift/issues/98#issuecomment-294210795, or mute the thread https://github.com/notifications/unsubscribe-auth/AAr8KprZfi1N7028_zhAF4moFcwFVNRqks5rv70ZgaJpZM4M91xh .

jverkoey commented 7 years ago

Going to mark this as won't fix for now with the recommendation being to use the enabled property on relevant interactions. Please reopen if this isn't sufficient for your use cases.