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
See how the previous showcase is automatically displayed (🤩)
The delegate callback is not invoked (😢)
In all other situations, the delegate callback is properly invoked.
When debugging, we discover that the MyControllerShowcase instance is deinitialized from ShowcasesViewController.viewDidAppear(_:) in the faulty scenario.
What is your opinion?
Was it a mistake to rely on a living instance of MyControllerShowcase?
Do we have any alternative in order to use delegate (or datasources) in showcases?
Hello,
We sometimes use Showcases as a delegate of the view controller returned by
makeViewController()
, in order to implement behaviors. For example:It works perfectly well, but in one situation:
In all other situations, the delegate callback is properly invoked.
When debugging, we discover that the
MyControllerShowcase
instance is deinitialized fromShowcasesViewController.viewDidAppear(_:)
in the faulty scenario.What is your opinion?
MyControllerShowcase
?FYI: we're using ShowcaseKit 1.1.2.
cc @pakko972
The text was updated successfully, but these errors were encountered: