From 2f6d71e550e4f30b703cf82aea02046279bffca4 Mon Sep 17 00:00:00 2001 From: Elon Park Date: Sat, 13 Nov 2021 00:43:47 +0900 Subject: [PATCH] :bug: fix missing Dependencies --- .gitignore | 1 - ...rCollectionComponent+UserInformation.swift | 19 +++++++++++++++++++ ...serInformationComponent+UserLocation.swift | 15 +++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserCollection/Dependencies/UserCollectionComponent+UserInformation.swift create mode 100644 RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserDetails/UserInformation/Dependencies/UserInformationComponent+UserLocation.swift diff --git a/.gitignore b/.gitignore index c628dc65..48ad0fd4 100644 --- a/.gitignore +++ b/.gitignore @@ -66,7 +66,6 @@ playground.xcworkspace **/Carthage/Build/ # Accio dependency management -Dependencies/ .accio/ # fastlane diff --git a/RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserCollection/Dependencies/UserCollectionComponent+UserInformation.swift b/RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserCollection/Dependencies/UserCollectionComponent+UserInformation.swift new file mode 100644 index 00000000..d0d62655 --- /dev/null +++ b/RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserCollection/Dependencies/UserCollectionComponent+UserInformation.swift @@ -0,0 +1,19 @@ +// +// UserCollectionComponent+UserInformation.swift +// RIBsReactorKit +// +// Created by Elon on 2021/11/13. +// Copyright © 2021 Elon. All rights reserved. +// + +import RIBs + +protocol UserCollectionDependencyUserInformation: Dependency {} + +// MARK: - UserCollectionComponent + UserInformationDependency + +extension UserCollectionComponent: UserInformationDependency { + var selectedUserModelStream: SelectedUserModelStream { + mutableSelectedUserModelStream + } +} diff --git a/RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserDetails/UserInformation/Dependencies/UserInformationComponent+UserLocation.swift b/RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserDetails/UserInformation/Dependencies/UserInformationComponent+UserLocation.swift new file mode 100644 index 00000000..fc8f310e --- /dev/null +++ b/RIBsReactorKit/RIBsReactorKit/Source/Presentation/Scenes/UserDetails/UserInformation/Dependencies/UserInformationComponent+UserLocation.swift @@ -0,0 +1,15 @@ +// +// UserInformationComponent+UserLocationUserLocation.swift +// RIBsReactorKit +// +// Created by Elon on 2021/07/20. +// Copyright © 2021 Elon. All rights reserved. +// + +import RIBs + +protocol UserInformationDependencyUserLocation: Dependency {} + +// MARK: - UserInformationComponent + UserLocationDependency + +extension UserInformationComponent: UserLocationDependency {}