diff --git a/ReactiveUI/Cocoa/ReactiveCollectionViewController.cs b/ReactiveUI/Cocoa/ReactiveCollectionViewController.cs index 17f5644100..9c66203759 100644 --- a/ReactiveUI/Cocoa/ReactiveCollectionViewController.cs +++ b/ReactiveUI/Cocoa/ReactiveCollectionViewController.cs @@ -93,9 +93,9 @@ public IDisposable SuppressChangeNotifications() Subject deactivated = new Subject(); public IObservable Deactivated { get { return deactivated; } } - public override void ViewDidAppear(bool animated) + public override void ViewWillAppear(bool animated) { - base.ViewDidAppear(animated); + base.ViewWillAppear(animated); activated.OnNext(Unit.Default); this.ActivateSubviews(true); } diff --git a/ReactiveUI/Cocoa/ReactiveNSViewController.cs b/ReactiveUI/Cocoa/ReactiveNSViewController.cs index dadea4d8fc..a00bcd72c7 100644 --- a/ReactiveUI/Cocoa/ReactiveNSViewController.cs +++ b/ReactiveUI/Cocoa/ReactiveNSViewController.cs @@ -114,9 +114,9 @@ public IDisposable SuppressChangeNotifications() Subject deactivated = new Subject(); public IObservable Deactivated { get { return deactivated; } } - public override void ViewDidAppear(bool animated) + public override void ViewWillAppear(bool animated) { - base.ViewDidAppear(animated); + base.ViewWillAppear(animated); activated.OnNext(Unit.Default); this.ActivateSubviews(true); } diff --git a/ReactiveUI/Cocoa/ReactivePageViewController.cs b/ReactiveUI/Cocoa/ReactivePageViewController.cs index 0279e040a0..cd6da30ffd 100644 --- a/ReactiveUI/Cocoa/ReactivePageViewController.cs +++ b/ReactiveUI/Cocoa/ReactivePageViewController.cs @@ -96,9 +96,9 @@ public IDisposable SuppressChangeNotifications() Subject deactivated = new Subject(); public IObservable Deactivated { get { return deactivated; } } - public override void ViewDidAppear(bool animated) + public override void ViewWillAppear(bool animated) { - base.ViewDidAppear(animated); + base.ViewWillAppear(animated); activated.OnNext(Unit.Default); this.ActivateSubviews(true); } diff --git a/ReactiveUI/Cocoa/ReactiveTabBarController.cs b/ReactiveUI/Cocoa/ReactiveTabBarController.cs index 4151817af1..49178ccbfb 100644 --- a/ReactiveUI/Cocoa/ReactiveTabBarController.cs +++ b/ReactiveUI/Cocoa/ReactiveTabBarController.cs @@ -92,9 +92,9 @@ public IDisposable SuppressChangeNotifications() Subject deactivated = new Subject(); public IObservable Deactivated { get { return deactivated; } } - public override void ViewDidAppear(bool animated) + public override void ViewWillAppear(bool animated) { - base.ViewDidAppear(animated); + base.ViewWillAppear(animated); activated.OnNext(Unit.Default); this.ActivateSubviews(true); } diff --git a/ReactiveUI/Cocoa/ReactiveTableViewController.cs b/ReactiveUI/Cocoa/ReactiveTableViewController.cs index c1e07eb56b..c0822decd7 100644 --- a/ReactiveUI/Cocoa/ReactiveTableViewController.cs +++ b/ReactiveUI/Cocoa/ReactiveTableViewController.cs @@ -97,9 +97,9 @@ public IDisposable SuppressChangeNotifications() Subject deactivated = new Subject(); public IObservable Deactivated { get { return deactivated; } } - public override void ViewDidAppear(bool animated) + public override void ViewWillAppear(bool animated) { - base.ViewDidAppear(animated); + base.ViewWillAppear(animated); activated.OnNext(Unit.Default); this.ActivateSubviews(true); }