You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want some toasts in my app to respond to user taps and some to ignore user taps. Currently, the CSToastHidesOnTap is a global static const, so I don't think I can set it on a toast-by-toast basis, can I? I think I'll have to turn this into a UIView subclass and add a @property hidesOnTap.
I'm just checking that there isn't some use of the static const that I'm missing before I stray from the UIView category paradigm.
The text was updated successfully, but these errors were encountered:
Oh, thanks! Yeah, this works great. I didn't think of adding a method parameter because I forgot the hidesOnTap variable is needed on only one location so there's no need to store it.
I want some toasts in my app to respond to user taps and some to ignore user taps. Currently, the
CSToastHidesOnTap
is a globalstatic const
, so I don't think I can set it on a toast-by-toast basis, can I? I think I'll have to turn this into aUIView
subclass and add a@property hidesOnTap
.I'm just checking that there isn't some use of the
static const
that I'm missing before I stray from theUIView
category paradigm.The text was updated successfully, but these errors were encountered: