From 99d666f8a3c0cebd641888d7e3895cbc9bfff7f2 Mon Sep 17 00:00:00 2001 From: baegteun Date: Sun, 8 Dec 2024 14:35:04 +0900 Subject: [PATCH] rename QNA -> FAQ --- .../{QnaContentViewModel.swift => FAQContentViewModel.swift} | 5 ++++- .../{QuestionTableViewCell.swift => FAQTableViewCell.swift} | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) rename Projects/Features/MyInfoFeature/Sources/ViewModels/{QnaContentViewModel.swift => FAQContentViewModel.swift} (66%) rename Projects/Features/MyInfoFeature/Sources/Views/{QuestionTableViewCell.swift => FAQTableViewCell.swift} (86%) diff --git a/Projects/Features/MyInfoFeature/Sources/ViewModels/QnaContentViewModel.swift b/Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift similarity index 66% rename from Projects/Features/MyInfoFeature/Sources/ViewModels/QnaContentViewModel.swift rename to Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift index ef646a4d1..a485e8a7c 100644 --- a/Projects/Features/MyInfoFeature/Sources/ViewModels/QnaContentViewModel.swift +++ b/Projects/Features/MyInfoFeature/Sources/ViewModels/FAQContentViewModel.swift @@ -5,7 +5,10 @@ import RxRelay import RxSwift import Utility -public final class QnaContentViewModel: ViewModelType { +@available(*, deprecated, renamed: "FAQContentViewModel", message: "QnaContentViewModel is deprecated, use FAQContentViewModel instead.") +typealias QnaContentViewModel = FAQContentViewModel + +public final class FAQContentViewModel: ViewModelType { var disposeBag = DisposeBag() var dataSource: [FaqEntity] diff --git a/Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift b/Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift similarity index 86% rename from Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift rename to Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift index 51906e847..8546a48ca 100644 --- a/Projects/Features/MyInfoFeature/Sources/Views/QuestionTableViewCell.swift +++ b/Projects/Features/MyInfoFeature/Sources/Views/FAQTableViewCell.swift @@ -2,7 +2,10 @@ import DesignSystem import FaqDomainInterface import UIKit -class QuestionTableViewCell: UITableViewCell { +@available(*, deprecated, renamed: "FAQTableViewCell", message: "QuestionTableViewCell is deprecated, use FAQTableViewCell instead.") +typealias QuestionTableViewCell = FAQTableViewCell + +class FAQTableViewCell: UITableViewCell { @IBOutlet weak var categoryLabel: UILabel! @IBOutlet weak var titleLabel: UILabel! @IBOutlet weak var expandImageView: UIImageView!