From a378c97617cdd5517dfe7e77c2c140f15bb6c2d7 Mon Sep 17 00:00:00 2001 From: baegteun Date: Sun, 8 Dec 2024 14:21:20 +0900 Subject: [PATCH 1/2] =?UTF-8?q?:bug:=20::=20[#1328]=20Open=20Source=20?= =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EC=84=BC=EC=8A=A4=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EB=AF=B8=EB=85=B8?= =?UTF-8?q?=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OpenSourceLicense/OpenSourceLicenseViewController.swift | 2 +- .../Sources/ViewModels/OpenSourceLicenseViewModel.swift | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift b/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift index a8964ea40..6550edf8c 100644 --- a/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift +++ b/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift @@ -25,8 +25,8 @@ public class OpenSourceLicenseViewController: UIViewController, ViewControllerFr override public func viewDidLoad() { super.viewDidLoad() configureUI() + outputBind() inputBind() - outputBind() bindBtn() } diff --git a/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift b/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift index 811fe60dc..787ecefa6 100644 --- a/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift +++ b/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift @@ -9,6 +9,7 @@ import Foundation @preconcurrency import RxCocoa @preconcurrency import RxSwift +import LogManager import Utility public final class OpenSourceLicenseViewModel: Sendable { @@ -24,7 +25,9 @@ public final class OpenSourceLicenseViewModel: Sendable { let dataSource: BehaviorRelay<[OpenSourceLicense]> = BehaviorRelay(value: []) } - init() {} + init() { + bind() + } func bind() { input.viewDidLoad.bind { [weak self] in From 0818756efa1b6e24e6413525d7832d795c937313 Mon Sep 17 00:00:00 2001 From: baegteun Date: Sun, 8 Dec 2024 14:21:25 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20::=20=EC=BD=94=EB=93=9C=20Fo?= =?UTF-8?q?rmatting=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OpenSourceLicense/OpenSourceLicenseViewController.swift | 2 +- .../Sources/ViewModels/OpenSourceLicenseViewModel.swift | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift b/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift index 6550edf8c..2de38f25b 100644 --- a/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift +++ b/Projects/Features/MyInfoFeature/Sources/ViewControllers/OpenSourceLicense/OpenSourceLicenseViewController.swift @@ -25,7 +25,7 @@ public class OpenSourceLicenseViewController: UIViewController, ViewControllerFr override public func viewDidLoad() { super.viewDidLoad() configureUI() - outputBind() + outputBind() inputBind() bindBtn() } diff --git a/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift b/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift index 787ecefa6..85589872a 100644 --- a/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift +++ b/Projects/Features/MyInfoFeature/Sources/ViewModels/OpenSourceLicenseViewModel.swift @@ -9,7 +9,6 @@ import Foundation @preconcurrency import RxCocoa @preconcurrency import RxSwift -import LogManager import Utility public final class OpenSourceLicenseViewModel: Sendable { @@ -26,7 +25,7 @@ public final class OpenSourceLicenseViewModel: Sendable { } init() { - bind() + bind() } func bind() {