Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ReactiveUI/Cocoa/ReactiveCollectionViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ public IDisposable SuppressChangeNotifications()
Subject<Unit> deactivated = new Subject<Unit>();
public IObservable<Unit> Deactivated { get { return deactivated.AsObservable(); } }

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);
}
Expand Down
4 changes: 2 additions & 2 deletions src/ReactiveUI/Cocoa/ReactiveNSViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ public IDisposable SuppressChangeNotifications()
Subject<Unit> deactivated = new Subject<Unit>();
public IObservable<Unit> Deactivated { get { return deactivated.AsObservable(); } }

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);
}
Expand Down
4 changes: 2 additions & 2 deletions src/ReactiveUI/Cocoa/ReactivePageViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public IDisposable SuppressChangeNotifications()
Subject<Unit> deactivated = new Subject<Unit>();
public IObservable<Unit> Deactivated { get { return deactivated.AsObservable(); } }

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);
}
Expand Down
10 changes: 5 additions & 5 deletions src/ReactiveUI/Cocoa/ReactiveSplitViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void IReactiveObject.RaisePropertyChanged(PropertyChangedEventArgs args)

/// <summary>
/// Represents an Observable that fires *before* a property is about to
/// be changed.
/// be changed.
/// </summary>
public IObservable<IReactivePropertyChangedEventArgs<ReactiveSplitViewController>> Changing
{
Expand Down Expand Up @@ -100,9 +100,9 @@ public IDisposable SuppressChangeNotifications()
public IObservable<Unit> Deactivated { get { return deactivated.AsObservable(); } }

#if UIKIT
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);
}
Expand All @@ -114,9 +114,9 @@ public override void ViewDidDisappear(bool animated)
this.ActivateSubviews(false);
}
#else
public override void ViewDidAppear()
public override void ViewWillAppear()
{
base.ViewDidAppear();
base.ViewWillAppear();
activated.OnNext(Unit.Default);
#if UNIFIED
this.ActivateSubviews(true);
Expand Down
4 changes: 2 additions & 2 deletions src/ReactiveUI/Cocoa/ReactiveTabBarController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ public IDisposable SuppressChangeNotifications()
Subject<Unit> deactivated = new Subject<Unit>();
public IObservable<Unit> Deactivated { get { return deactivated.AsObservable(); } }

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);
}
Expand Down
4 changes: 2 additions & 2 deletions src/ReactiveUI/Cocoa/ReactiveTableViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ public IDisposable SuppressChangeNotifications()
Subject<Unit> deactivated = new Subject<Unit>();
public IObservable<Unit> Deactivated { get { return deactivated.AsObservable(); } }

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);
}
Expand Down