Skip to content

Commit 363a455

Browse files
committed
refactor: rename matchingKey as matchPath
1 parent 16d55cc commit 363a455

14 files changed

Lines changed: 39 additions & 40 deletions

File tree

Examples/MVI-Example/MVI-Example/Feature/Home/HomeRouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct HomeRouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
HomeView.build(
1111
intent: HomeIntent(initialState: .init(), navigator: navigator))
1212
}

Examples/MVI-Example/MVI-Example/Feature/Page1/Page1RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page1RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page1View.build(
1111
intent: Page1Intent(initialState: .init(), navigator: navigator))
1212
}

Examples/MVI-Example/MVI-Example/Feature/Page2/Page2RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page2RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page2View.build(
1111
intent: Page2Intent(initialState: .init(), navigator: navigator))
1212
}

Examples/MVI-Example/MVI-Example/Feature/Page3/Page3RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page3RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page3View.build(
1111
intent: Page3Intent(
1212
initialState: .init(message: items.getValue(key: "page3-message") ?? ""),

Examples/MVI-Example/MVI-Example/Feature/Page4/Page4RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page4RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page4View.build(
1111
intent: Page4Intent(
1212
initialState: .init(message: items.getValue(key: "page4-message") ?? ""),

Examples/TCA-Example/TCA-Example/Feature/Home/HomeRouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct HomeRouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String : String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
HomeView(
1111
store: .init(
1212
initialState: Home.State(),

Examples/TCA-Example/TCA-Example/Feature/Page1/Page1RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page1RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page1View(
1111
store: .init(
1212
initialState: Page1.State(),

Examples/TCA-Example/TCA-Example/Feature/Page2/Page2RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page2RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page2View(
1111
store: .init(
1212
initialState: Page2.State(),

Examples/TCA-Example/TCA-Example/Feature/Page3/Page3RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page3RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page3View(
1111
store: .init(
1212
initialState: Page3.State(message: items.getValue(key: "page3-message") ?? ""),

Examples/TCA-Example/TCA-Example/Feature/Page4/Page4RouteBuilder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ struct Page4RouteBuilder: RouteBuilder {
66

77
var build: (LinkNavigatorType, [String: String], DependencyType) -> MatchingViewController? {
88
{ navigator, items, dep in
9-
WrappingController(matchingKey: matchPath) {
9+
WrappingController(matchPath: matchPath) {
1010
Page4View(
1111
store: .init(
1212
initialState: Page4.State(message: items.getValue(key: "page4-message") ?? ""),

0 commit comments

Comments
 (0)