-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 400dfc8 Merge: d07ca81 fe400d8 Author: Byunghak Ko <[email protected]> Date: Wed Nov 23 15:40:17 2022 +0900 Merge pull request #102 from bengHak/feature/고병학/firebase-chat [네트워킹] 파이어베이스 RealtimeDatabase를 활용해서 채팅 기능 구현 commit fe400d8 Author: 고병학 <[email protected]> Date: Wed Nov 23 12:29:47 2022 +0900 [Feat] 애플로그인 entitlements 추가 commit 74481ba Author: 고병학 <[email protected]> Date: Wed Nov 23 12:29:31 2022 +0900 [Feat] 루트 탭바 DIContainer 작업 commit 491c174 Author: 고병학 <[email protected]> Date: Wed Nov 23 12:29:12 2022 +0900 [Feat] 루트 탭바 코디네이터 적용 commit 686c92b Author: 고병학 <[email protected]> Date: Wed Nov 23 12:28:40 2022 +0900 [Feat] 채팅방 조회, 생성 use case 구현 commit 329c36c Author: 고병학 <[email protected]> Date: Wed Nov 23 12:28:17 2022 +0900 [Feat] 채팅방 관련 Repository 구현 commit d0235f2 Author: 고병학 <[email protected]> Date: Wed Nov 23 12:27:36 2022 +0900 [Feat] RealTimeDatabaseService 구현 commit 3a614c3 Merge: 51586db d07ca81 Author: 고병학 <[email protected]> Date: Tue Nov 22 14:54:07 2022 +0900 Merge branch 'develop' into feature/고병학/firebase-chat commit d07ca81 Merge: 9fccf42 1acc450 Author: Woogie <[email protected]> Date: Tue Nov 22 14:48:34 2022 +0900 Merge pull request #101 from yw22/feature/김영욱/친구목록 [친구 목록] MVVM-C, Clean Architecture 적용했습니다. commit 1acc450 Merge: 57d45d3 9fccf42 Author: Woogie <[email protected]> Date: Tue Nov 22 14:47:35 2022 +0900 Merge branch 'develop' into feature/김영욱/친구목록 commit 51586db Author: 고병학 <[email protected]> Date: Tue Nov 22 13:44:19 2022 +0900 [Refactor] 프로토콜 이름 수정 FirebaseAuthService -> AuthService 인증서버가 교체할 수 있게 설계 하는게 클린아키텍처를 구현하는 목적에 더 맞다는 팀원들의 합의가 있어서 바꿨다. commit 9fccf42 Merge: 9bdd9d7 385d0c9 Author: prestonk162 <[email protected]> Date: Tue Nov 22 13:11:09 2022 +0900 Merge pull request #96 from prestonk162/feature/김준영/앱설정 [앱설정->UseCase] LogoutUseCase, DropoutUseCase 구현 commit 57d45d3 Author: Woogie <[email protected]> Date: Tue Nov 22 11:31:40 2022 +0900 [Feat] 더미데이터 추가, Preview 구현 commit 7461004 Author: Woogie <[email protected]> Date: Tue Nov 22 10:18:13 2022 +0900 [Chore] ChatRoomListUseCase 이름 변경 commit 32fa62a Author: Woogie <[email protected]> Date: Mon Nov 21 18:26:39 2022 +0900 [Feat] Coordinator, Usecase 작성 commit 385d0c9 Author: prestonk162 <[email protected]> Date: Mon Nov 21 18:02:56 2022 +0900 [Fix] AppSetting SwiftUI 프리뷰로 인한 컴파일 에러 해결 commit 4fac681 Author: prestonk162 <[email protected]> Date: Mon Nov 21 17:59:28 2022 +0900 [Feat] DropOutUseCase 구현 commit a2aa513 Author: prestonk162 <[email protected]> Date: Mon Nov 21 17:56:54 2022 +0900 [Feat] AuthRepository, LogoutUseCase 구현 commit 17962a4 Merge: 36905d2 9bdd9d7 Author: prestonk162 <[email protected]> Date: Mon Nov 21 15:50:37 2022 +0900 Merge branch 'develop' into feature/김준영/앱설정 commit a46b298 Merge: 46649ef 9bdd9d7 Author: Woogie <[email protected]> Date: Mon Nov 21 15:46:06 2022 +0900 Merge branch 'develop' of https://github.com/yw22/iOS06-NearTalk into feature/김영욱/친구목록 commit 46649ef Author: Woogie <[email protected]> Date: Mon Nov 21 15:45:24 2022 +0900 [Feat] ViewModel, UseCase 작성 commit 9bdd9d7 Merge: 23ff365 ab4f4f1 Author: Byunghak Ko <[email protected]> Date: Mon Nov 21 15:43:20 2022 +0900 Merge pull request #95 from bengHak/fix/byunghak/firebase [네트워크] 파이어베이스 추상화 commit ab4f4f1 Author: 고병학 <[email protected]> Date: Mon Nov 21 15:39:02 2022 +0900 [Refactor] 파이어베이스 서비스 추상화 작업 commit efe8b68 Merge: bc09e72 23ff365 Author: Woogie <[email protected]> Date: Mon Nov 21 14:29:55 2022 +0900 Merge branch 'develop' of https://github.com/yw22/iOS06-NearTalk into feature/김영욱/친구목록 commit 25a97ee Author: 고병학 <[email protected]> Date: Sun Nov 20 19:12:03 2022 +0900 [Refactor] 파이어베이스 서비스 수정 service, usecase의 역할에 맞게 다시 수정 commit 36905d2 Merge: 5c47df9 23ff365 Author: prestonk162 <[email protected]> Date: Sun Nov 20 16:25:27 2022 +0900 Merge branch 'develop' into feature/김준영/앱설정 commit 5c47df9 Merge: 4b9b655 c46ddca Author: prestonk162 <[email protected]> Date: Fri Nov 18 14:40:52 2022 +0900 Merge branch 'develop' into feature/김준영/앱설정 commit 4b9b655 Merge: 4e0f907 b00e428 Author: prestonk162 <[email protected]> Date: Thu Nov 17 16:10:05 2022 +0900 Merge branch 'develop' into feature/김준영/앱설정 commit 4e0f907 Merge: f89deae 7a0ab2c Author: prestonk162 <[email protected]> Date: Wed Nov 16 15:22:07 2022 +0900 Merge branch 'develop' into feature/김준영/앱설정 commit bc09e72 Author: Woogie <[email protected]> Date: Wed Nov 16 15:15:29 2022 +0900 [chore] 그라운드룰 적용 commit f89deae Merge: cd497ff bae33c2 Author: prestonk162 <[email protected]> Date: Tue Nov 15 14:09:25 2022 +0900 Merge remote-tracking branch 'refs/remotes/upstream/develop' commit cd497ff Merge: 2dc0d26 de63899 Author: prestonk162 <[email protected]> Date: Tue Nov 15 13:32:09 2022 +0900 Merge branch 'feature/김준영/앱설정' of https://github.com/prestonk162/iOS06-NearTalk into feature/김준영/앱설정 commit 2dc0d26 Author: prestonk162 <[email protected]> Date: Tue Nov 15 13:12:35 2022 +0900 [Chore] cell identifier 이름 변경 및 if 문 주변 공백라인으로 정리, preview 하나로 통일
- Loading branch information
Showing
67 changed files
with
2,025 additions
and
1,048 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0"?> | ||
<gpx version="1.1" creator="gpxgenerator.com"> | ||
<wpt lat="37.3596093566472" lon="127.1056219310272"> | ||
<ele>45.90</ele> | ||
<time>2022-11-21T06:20:09Z</time> | ||
</wpt> | ||
</gpx> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
NearTalk/NearTalk/Application/DIContainer/FriendListDIContainer.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
// | ||
// FriendListDIContainer.swift | ||
// NearTalk | ||
// | ||
// Created by 김영욱 on 2022/11/21. | ||
// | ||
|
||
import UIKit | ||
|
||
final class FriendListDIContainer { | ||
|
||
// MARK: - Dependencies | ||
struct Dependencies { | ||
let firestoreService: FirestoreService | ||
let firebaseAuthService: AuthService | ||
} | ||
|
||
private let dependencies: Dependencies | ||
|
||
// MARK: - Persistent Storage | ||
init(dependencies: Dependencies) { | ||
self.dependencies = dependencies | ||
} | ||
|
||
// MARK: - Services | ||
|
||
// MARK: - UseCases | ||
func makeFetchFriendListUseCase() -> FetchFriendListUseCase { | ||
return DefaultFetchFriendListUseCase(profileRepository: self.makeRepository()) | ||
} | ||
|
||
func makeProfileDetailUseCaseAble() -> ProfileDetailUseCaseAble { | ||
return ProfileDetailUseCase() | ||
} | ||
|
||
// MARK: - Repositories | ||
func makeRepository() -> ProfileRepository { | ||
return DefaultProfileRepository(firestoreService: dependencies.firestoreService, firebaseAuthService: dependencies.firebaseAuthService) | ||
} | ||
|
||
// MARK: - Friend Lsit | ||
func makeFriendListViewController(actions: FriendListViewModelActions) -> FriendListViewController { | ||
return FriendListViewController.create(with: self.makeFriendListViewModel(actions: actions)) | ||
} | ||
|
||
func makeFriendListViewModel(actions: FriendListViewModelActions) -> FriendListViewModel { | ||
return DefaultFriendListViewModel(useCase: self.makeFetchFriendListUseCase(), actions: actions) | ||
} | ||
|
||
// MARK: - Profile Detail | ||
// func makeProfileDetailViewController() -> ProfileDetailViewController { | ||
// return ProfileDetailViewController(viewModel: makeProfileDetailViewModel()) | ||
// } | ||
// | ||
// func makeProfileDetailViewModel() -> ProfileDetailViewModel { | ||
// return ProfileDetailViewModel(profileDetailUseCase: self.makeProfileDetailUseCaseAble(), profileDetailCoordinator: self.makeProfileDetailCoordinator(makeFriendListCoordinator)) | ||
// } | ||
|
||
// MARK: - Coordinator | ||
func makeFriendListCoordinator(navigationController: UINavigationController) -> FriendListCoordinator { | ||
return FriendListCoordinator(navigationController: navigationController, dependencies: self) | ||
} | ||
|
||
// func makeProfileDetailDIContainer() -> ProfileDetailDIContainer { | ||
// let dependencies = ProfileDetailDIContainer.Dependencies() | ||
// return ProfileDetailDICOntainer(dependencies: dependencies) | ||
// } | ||
} | ||
|
||
extension FriendListDIContainer: FriendListCoordinatorDependencies {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
NearTalk/NearTalk/Data/Repositories/DefaultAuthRepository.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// DefaultAuthRepository.swift | ||
// NearTalk | ||
// | ||
// Created by Preston Kim on 2022/11/21. | ||
// | ||
|
||
import RxSwift | ||
|
||
final class DefaultAuthRepository: AuthRepository { | ||
private let authService: any AuthService | ||
|
||
init(authService: any AuthService) { | ||
self.authService = authService | ||
} | ||
|
||
func logout() -> Completable { | ||
return self.authService.logout() | ||
} | ||
|
||
func dropout() -> Completable { | ||
return self.authService.deleteCurrentUser() | ||
} | ||
} |
Oops, something went wrong.