From 1e03c1a2adcb76a2e9cf88bdee22b66bc533dc9a Mon Sep 17 00:00:00 2001 From: baegteun Date: Sun, 8 Dec 2024 14:35:08 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20::=20=EC=BD=94=EB=93=9C=20Format?= =?UTF-8?q?ting=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sources/ViewModels/FAQContentViewModel.swift | 7 ++++++- .../Sources/Views/FAQTableViewCell.swift | 11 ++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift b/Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift index a485e8a7c..fa9fe1c23 100644 --- a/Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift +++ b/Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift @@ -5,7 +5,12 @@ import RxRelay import RxSwift import Utility -@available(*, deprecated, renamed: "FAQContentViewModel", message: "QnaContentViewModel is deprecated, use FAQContentViewModel instead.") +@available( + *, + deprecated, + renamed: "FAQContentViewModel", + message: "QnaContentViewModel is deprecated, use FAQContentViewModel instead." +) typealias QnaContentViewModel = FAQContentViewModel public final class FAQContentViewModel: ViewModelType { diff --git a/Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift b/Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift index 8546a48ca..1f2f52656 100644 --- a/Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift +++ b/Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift @@ -2,7 +2,12 @@ import DesignSystem import FaqDomainInterface import UIKit -@available(*, deprecated, renamed: "FAQTableViewCell", message: "QuestionTableViewCell is deprecated, use FAQTableViewCell instead.") +@available( + *, + deprecated, + renamed: "FAQTableViewCell", + message: "QuestionTableViewCell is deprecated, use FAQTableViewCell instead." +) typealias QuestionTableViewCell = FAQTableViewCell class FAQTableViewCell: UITableViewCell { @@ -30,8 +35,8 @@ class FAQTableViewCell: UITableViewCell { } } -extension QuestionTableViewCell { - public func update(model: FaqEntity) { +public extension QuestionTableViewCell { + func update(model: FaqEntity) { categoryLabel.text = model.category titleLabel.text = model.question expandImageView.image = model.isOpen ? DesignSystemAsset.Navigation.fold.image : DesignSystemAsset.Navigation