Skip to content

Commit 9dcbf1a

Browse files
committed
Rename didLoadView to viewDidLoad
I changed my mind. This is probably better for recognizability.
1 parent e8201ba commit 9dcbf1a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

WooCommerce/Classes/Authentication/Navigation Exceptions/JetpackErrorViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct JetpackErrorViewModel: ULErrorViewModel {
6060
viewController?.present(fancyAlert, animated: true)
6161
}
6262

63-
func didLoadView(in viewController: UIViewController?) {
63+
func viewDidLoad(in viewController: UIViewController?) {
6464

6565
}
6666
}

WooCommerce/Classes/Authentication/Navigation Exceptions/NoSecureConnectionErrorViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct NoSecureConnectionErrorViewModel: ULErrorViewModel {
3232
// NO-OP
3333
}
3434

35-
func didLoadView(in viewController: UIViewController?) {
35+
func viewDidLoad(in viewController: UIViewController?) {
3636

3737
}
3838

WooCommerce/Classes/Authentication/Navigation Exceptions/NotWPAccountViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct NotWPAccountViewModel: ULErrorViewModel {
3838
viewController?.present(fancyAlert, animated: true)
3939
}
4040

41-
func didLoadView(in viewController: UIViewController?) {
41+
func viewDidLoad(in viewController: UIViewController?) {
4242

4343
}
4444
}

WooCommerce/Classes/Authentication/Navigation Exceptions/NotWPErrorViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct NotWPErrorViewModel: ULErrorViewModel {
3535
// NO-OP
3636
}
3737

38-
func didLoadView(in viewController: UIViewController?) {
38+
func viewDidLoad(in viewController: UIViewController?) {
3939

4040
}
4141
}

WooCommerce/Classes/Authentication/Navigation Exceptions/ULErrorViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ protocol ULErrorViewModel {
2121
/// Provides a title for a secondary action button
2222
var secondaryButtonTitle: String { get }
2323

24-
func didLoadView(in viewController: UIViewController?)
24+
func viewDidLoad(in viewController: UIViewController?)
2525

2626
/// Executes action associated to a tap in the view controller primary button
2727
/// - Parameter viewController: usually the view controller sending the tap

0 commit comments

Comments
 (0)