Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] My Page Unit Test (#199) #202

Merged
merged 13 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 91 additions & 0 deletions LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
4A52DD9B2ADBBF2C00858230 /* SpalshFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A52DD9A2ADBBF2C00858230 /* SpalshFactory.swift */; };
4A52DD9D2ADBBF4C00858230 /* TodayFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A52DD9C2ADBBF4C00858230 /* TodayFactory.swift */; };
4A52DD9F2ADBC0E500858230 /* AuthFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A52DD9E2ADBC0E500858230 /* AuthFactory.swift */; };
4A57202C2B1B323100F295BE /* ClientFailureResponse.json in Resources */ = {isa = PBXBuildFile; fileRef = 4A57202B2B1B323100F295BE /* ClientFailureResponse.json */; };
4A6DAD6F2B0DC4C300A3980D /* BookViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A6DAD6E2B0DC4C300A3980D /* BookViewModel.swift */; };
4A6DAD712B0DC4D900A3980D /* BookmarkViewModelImpl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A6DAD702B0DC4D900A3980D /* BookmarkViewModelImpl.swift */; };
4A6DAD732B0DC53C00A3980D /* BookmarkRow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A6DAD722B0DC53C00A3980D /* BookmarkRow.swift */; };
Expand All @@ -23,11 +24,20 @@
4A918E792AE10BC2003CB8F9 /* MyPageAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A918E782AE10BC2003CB8F9 /* MyPageAdaptor.swift */; };
4A918E7B2AE11839003CB8F9 /* ArticleAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A918E7A2AE11839003CB8F9 /* ArticleAdaptor.swift */; };
4A918E7D2AE11936003CB8F9 /* ArticleCoordinatorImpl.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A918E7C2AE11936003CB8F9 /* ArticleCoordinatorImpl.swift */; };
4AAA16D92B18E483004A4D2A /* SuccessResponse.json in Resources */ = {isa = PBXBuildFile; fileRef = 4AAA16D82B18E483004A4D2A /* SuccessResponse.json */; };
4ACBE3112B1B365D003412A7 /* MyPageServiceTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A87845B2B189B2B005BCDEA /* MyPageServiceTest.swift */; };
4ACBE3152B1B6B19003412A7 /* MyPageViewModelTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4ACBE3142B1B6B19003412A7 /* MyPageViewModelTest.swift */; };
4ACBE31B2B1C3056003412A7 /* MyPageManagerStub.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4ACBE31A2B1C3056003412A7 /* MyPageManagerStub.swift */; };
4ACBE31D2B1C6C63003412A7 /* MyPageNavigationDummy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4ACBE31C2B1C6C63003412A7 /* MyPageNavigationDummy.swift */; };
4AD216402A69AC1E00C9F2F2 /* MyPageResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AD2163F2A69AC1E00C9F2F2 /* MyPageResponse.swift */; };
4AD6AE1A2A68436B00A3D745 /* ArticleListByCategoryResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AD6AE192A68436B00A3D745 /* ArticleListByCategoryResponse.swift */; };
4AE19A1A2A65886100C1DB7E /* BookmarkReponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AE19A192A65886100C1DB7E /* BookmarkReponse.swift */; };
4AE19A1E2A6597E700C1DB7E /* BookmarkRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AE19A1D2A6597E700C1DB7E /* BookmarkRequest.swift */; };
4AE19A1F2A66F2E200C1DB7E /* BookmarkDetailCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A8980C12A5FD6AF00746C58 /* BookmarkDetailCollectionViewCell.swift */; };
4AF491EB2B1CBCFA00C9D7C1 /* MyPageViewModelTestSetUp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AF491EA2B1CBCFA00C9D7C1 /* MyPageViewModelTestSetUp.swift */; };
4AF491ED2B1CBF6200C9D7C1 /* MyPageViewModelSpy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AF491EC2B1CBF6200C9D7C1 /* MyPageViewModelSpy.swift */; };
4AF491EF2B1CC5CC00C9D7C1 /* MyPageViewControllerTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AF491EE2B1CC5CC00C9D7C1 /* MyPageViewControllerTest.swift */; };
4AF94F062B1B28FA000BEAB9 /* ServerFailureResponse.json in Resources */ = {isa = PBXBuildFile; fileRef = 4AF94F052B1B28FA000BEAB9 /* ServerFailureResponse.json */; };
B512205A2A5FAA47006CBE2D /* ImageLiterals.swift in Sources */ = {isa = PBXBuildFile; fileRef = B51220592A5FAA47006CBE2D /* ImageLiterals.swift */; };
B51220602A60111C006CBE2D /* Token.swift in Sources */ = {isa = PBXBuildFile; fileRef = B512205F2A60111C006CBE2D /* Token.swift */; };
B51220642A6039AA006CBE2D /* HttpMethod.swift in Sources */ = {isa = PBXBuildFile; fileRef = B51220632A6039AA006CBE2D /* HttpMethod.swift */; };
Expand Down Expand Up @@ -388,17 +398,23 @@
4A52DD9A2ADBBF2C00858230 /* SpalshFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpalshFactory.swift; sourceTree = "<group>"; };
4A52DD9C2ADBBF4C00858230 /* TodayFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TodayFactory.swift; sourceTree = "<group>"; };
4A52DD9E2ADBC0E500858230 /* AuthFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthFactory.swift; sourceTree = "<group>"; };
4A57202B2B1B323100F295BE /* ClientFailureResponse.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = ClientFailureResponse.json; sourceTree = "<group>"; };
4A6DAD6E2B0DC4C300A3980D /* BookViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookViewModel.swift; sourceTree = "<group>"; };
4A6DAD702B0DC4D900A3980D /* BookmarkViewModelImpl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkViewModelImpl.swift; sourceTree = "<group>"; };
4A6DAD722B0DC53C00A3980D /* BookmarkRow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkRow.swift; sourceTree = "<group>"; };
4A81C2902ACC7DC80056E815 /* UICollectionViewCell+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UICollectionViewCell+.swift"; sourceTree = "<group>"; };
4A860AD52A6265B2002BA428 /* BookmarkAppData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkAppData.swift; sourceTree = "<group>"; };
4A87845B2B189B2B005BCDEA /* MyPageServiceTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageServiceTest.swift; sourceTree = "<group>"; };
4A8980C12A5FD6AF00746C58 /* BookmarkDetailCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkDetailCollectionViewCell.swift; sourceTree = "<group>"; };
4A8980CD2A617F7100746C58 /* CollectionHeaderViewRegisterDequeueProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CollectionHeaderViewRegisterDequeueProtocol.swift; sourceTree = "<group>"; };
4A918E762AE10A89003CB8F9 /* MyPageCoordinatorImpl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageCoordinatorImpl.swift; sourceTree = "<group>"; };
4A918E782AE10BC2003CB8F9 /* MyPageAdaptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageAdaptor.swift; sourceTree = "<group>"; };
4A918E7A2AE11839003CB8F9 /* ArticleAdaptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArticleAdaptor.swift; sourceTree = "<group>"; };
4A918E7C2AE11936003CB8F9 /* ArticleCoordinatorImpl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArticleCoordinatorImpl.swift; sourceTree = "<group>"; };
4AAA16D82B18E483004A4D2A /* SuccessResponse.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = SuccessResponse.json; sourceTree = "<group>"; };
4ACBE3142B1B6B19003412A7 /* MyPageViewModelTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageViewModelTest.swift; sourceTree = "<group>"; };
4ACBE31A2B1C3056003412A7 /* MyPageManagerStub.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageManagerStub.swift; sourceTree = "<group>"; };
4ACBE31C2B1C6C63003412A7 /* MyPageNavigationDummy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageNavigationDummy.swift; sourceTree = "<group>"; };
4AD2163F2A69AC1E00C9F2F2 /* MyPageResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageResponse.swift; sourceTree = "<group>"; };
4AD6AE032A66F83E00A3D745 /* progressbar_2m.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = progressbar_2m.json; sourceTree = "<group>"; };
4AD6AE052A66F84300A3D745 /* progressbar_3m.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = progressbar_3m.json; sourceTree = "<group>"; };
Expand All @@ -412,6 +428,11 @@
4AD6AE192A68436B00A3D745 /* ArticleListByCategoryResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ArticleListByCategoryResponse.swift; sourceTree = "<group>"; };
4AE19A192A65886100C1DB7E /* BookmarkReponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkReponse.swift; sourceTree = "<group>"; };
4AE19A1D2A6597E700C1DB7E /* BookmarkRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkRequest.swift; sourceTree = "<group>"; };
4AF491EA2B1CBCFA00C9D7C1 /* MyPageViewModelTestSetUp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageViewModelTestSetUp.swift; sourceTree = "<group>"; };
4AF491EC2B1CBF6200C9D7C1 /* MyPageViewModelSpy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageViewModelSpy.swift; sourceTree = "<group>"; };
4AF491EE2B1CC5CC00C9D7C1 /* MyPageViewControllerTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageViewControllerTest.swift; sourceTree = "<group>"; };
4AF94F022B1B2707000BEAB9 /* LionHeart-iOS.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = "LionHeart-iOS.xctestplan"; path = "LionHeart-iOSTests/MyPage/LionHeart-iOS.xctestplan"; sourceTree = "<group>"; };
4AF94F052B1B28FA000BEAB9 /* ServerFailureResponse.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = ServerFailureResponse.json; sourceTree = "<group>"; };
B51220592A5FAA47006CBE2D /* ImageLiterals.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageLiterals.swift; sourceTree = "<group>"; };
B512205F2A60111C006CBE2D /* Token.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Token.swift; sourceTree = "<group>"; };
B51220632A6039AA006CBE2D /* HttpMethod.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HttpMethod.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -822,6 +843,55 @@
path = Model;
sourceTree = "<group>";
};
4A8784542B189AD2005BCDEA /* MyPage */ = {
isa = PBXGroup;
children = (
4A8784552B189AD9005BCDEA /* JSON */,
4A8784562B189ADD005BCDEA /* ViewModelTests */,
4A8784592B189AF1005BCDEA /* ServiceTests */,
4A87845A2B189AF7005BCDEA /* ViewControllerTests */,
);
path = MyPage;
sourceTree = "<group>";
};
4A8784552B189AD9005BCDEA /* JSON */ = {
isa = PBXGroup;
children = (
4AAA16D82B18E483004A4D2A /* SuccessResponse.json */,
4AF94F052B1B28FA000BEAB9 /* ServerFailureResponse.json */,
4A57202B2B1B323100F295BE /* ClientFailureResponse.json */,
);
path = JSON;
sourceTree = "<group>";
};
4A8784562B189ADD005BCDEA /* ViewModelTests */ = {
isa = PBXGroup;
children = (
4ACBE31C2B1C6C63003412A7 /* MyPageNavigationDummy.swift */,
4ACBE31A2B1C3056003412A7 /* MyPageManagerStub.swift */,
4ACBE3142B1B6B19003412A7 /* MyPageViewModelTest.swift */,
4AF491EA2B1CBCFA00C9D7C1 /* MyPageViewModelTestSetUp.swift */,
);
path = ViewModelTests;
sourceTree = "<group>";
};
4A8784592B189AF1005BCDEA /* ServiceTests */ = {
isa = PBXGroup;
children = (
4A87845B2B189B2B005BCDEA /* MyPageServiceTest.swift */,
);
path = ServiceTests;
sourceTree = "<group>";
};
4A87845A2B189AF7005BCDEA /* ViewControllerTests */ = {
isa = PBXGroup;
children = (
4AF491EC2B1CBF6200C9D7C1 /* MyPageViewModelSpy.swift */,
4AF491EE2B1CC5CC00C9D7C1 /* MyPageViewControllerTest.swift */,
);
path = ViewControllerTests;
sourceTree = "<group>";
};
4A8980C32A611ECB00746C58 /* Cell */ = {
isa = PBXGroup;
children = (
Expand All @@ -840,6 +910,13 @@
path = Model;
sourceTree = "<group>";
};
4AAA16D52B18D9F9004A4D2A /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
4AD2163E2A69AC0A00C9F2F2 /* MyPage */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -937,6 +1014,7 @@
B532E8252A5525C600F0DB19 = {
isa = PBXGroup;
children = (
4AF94F022B1B2707000BEAB9 /* LionHeart-iOS.xctestplan */,
B532E8302A5525C600F0DB19 /* LionHeart-iOS */,
B532E8472A5525C800F0DB19 /* LionHeart-iOSTests */,
B532E8512A5525C800F0DB19 /* LionHeart-iOSUITests */,
Expand Down Expand Up @@ -974,6 +1052,7 @@
B532E8472A5525C800F0DB19 /* LionHeart-iOSTests */ = {
isa = PBXGroup;
children = (
4A8784542B189AD2005BCDEA /* MyPage */,
B59FC6C92B1C31BF000996CA /* Today */,
B5BE51C32B15BD6200042EF3 /* URLSessionStub */,
B5BE51BA2B15B79C00042EF3 /* Challenge */,
Expand Down Expand Up @@ -2365,6 +2444,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4AF94F062B1B28FA000BEAB9 /* ServerFailureResponse.json in Resources */,
4AAA16D92B18E483004A4D2A /* SuccessResponse.json in Resources */,
4A57202C2B1B323100F295BE /* ClientFailureResponse.json in Resources */,
B59FC6DB2B1C31BF000996CA /* TodayArticleEmptyData.json in Resources */,
C0AC2ACF2B199474003BDFC0 /* ChallengeFailure_Client.json in Resources */,
C0FF46BE2B19786500D487D7 /* ChallengeFailure_Server.json in Resources */,
Expand Down Expand Up @@ -2687,8 +2769,17 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4AF491ED2B1CBF6200C9D7C1 /* MyPageViewModelSpy.swift in Sources */,
B59FC6DD2B1C31BF000996CA /* TodayViewControllerTests.swift in Sources */,
B5BE51C92B15CB9600042EF3 /* JSONLoader.swift in Sources */,
4ACBE3152B1B6B19003412A7 /* MyPageViewModelTest.swift in Sources */,
C034EDE02ADE3A4A00AD6FF3 /* LionHeart_iOSTests.swift in Sources */,
4ACBE3112B1B365D003412A7 /* MyPageServiceTest.swift in Sources */,
4AF491EB2B1CBCFA00C9D7C1 /* MyPageViewModelTestSetUp.swift in Sources */,
4AF491EF2B1CC5CC00C9D7C1 /* MyPageViewControllerTest.swift in Sources */,
B5BE51C12B15B8F100042EF3 /* ServiceTests.swift in Sources */,
4ACBE31D2B1C6C63003412A7 /* MyPageNavigationDummy.swift in Sources */,
4ACBE31B2B1C3056003412A7 /* MyPageManagerStub.swift in Sources */,
B59FC6E52B1C373A000996CA /* TodayNavigationDummy.swift in Sources */,
B59FC6E32B1C31BF000996CA /* TodayManagerStub.swift in Sources */,
C0B235042B19AA4800AFC5BB /* ChallengeViewModelTestSetUp.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
shouldUseLaunchSchemeArgsEnv = "YES">
<TestPlans>
<TestPlanReference
reference = "container:LionHeart-iOSTests/MyPage/LionHeart-iOS.xctestplan"
default = "YES">
</TestPlanReference>
</TestPlans>
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B532E8432A5525C800F0DB19"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
import UIKit

protocol CollectionSectionViewRegisterDequeueProtocol where Self: UICollectionReusableView {
// associatedtype T: AppData
static func registerHeaderView(to collectionView: UICollectionView)
static func registerFooterView(to collectionView: UICollectionView)
static func dequeueReusableheaderView(to collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, indexPath: IndexPath) -> Self
static func dequeueReusablefooterView(to collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, indexPath: IndexPath) -> Self
static var reuseIdentifier: String { get }
// var inputData: T? { get set }
}

extension CollectionSectionViewRegisterDequeueProtocol {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
import UIKit

protocol CollectionViewCellRegisterDequeueProtocol where Self: UICollectionViewCell {
// associatedtype T: AppData
static func register(to collectionView: UICollectionView)
static func dequeueReusableCell(to collectionView: UICollectionView, indexPath: IndexPath) -> Self
static var reuseIdentifier: String { get }
// var inputData: T? { get set }
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

struct MyPageResponse: DTO, Response {
struct MyPageResponse: DTO, Response, Equatable {
let babyNickname: String
let level: String
let notificationStatus: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

struct MyPageModel {
struct MyPageModel: Equatable {
let profileData: BadgeProfileAppData
let appSettingData: [MyPageRow]
let customerServiceData: [MyPageRow]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ final class MyPageUserInfoView: UIView {
static let buttonMutipleSize: CGFloat = 40/320
}

private let badgeImageView = LHImageView(contentMode: .scaleAspectFit)
private let profileLabel = LHLabel(type: .head3, color: .white, lines: 0)
let badgeImageView = LHImageView(contentMode: .scaleAspectFit)
let profileLabel = LHLabel(type: .head3, color: .white, lines: 0)

private lazy var profileEditButton = {
var titleAttr = AttributedString.init("์ •๋ณด ์ˆ˜์ •")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ protocol MyPageControllerable where Self: UIViewController {}
final class MyPageViewController: UIViewController, MyPageControllerable {

private var viewModel: any MyPageViewModel
private lazy var navigtaionBar = LHNavigationBarView(type: .myPage, viewController: self)
private let myPageTableView = MyPageTableView()
lazy var navigtaionBar = LHNavigationBarView(type: .myPage, viewController: self)
let myPageTableView = MyPageTableView()
lazy var headerView = MyPageUserInfoView(frame: .init(x: 0, y: 0, width: view.frame.size.width, height: view.frame.size.width*(224/360)))
private lazy var dataSource = MyPageDataSource(tableView: myPageTableView)
private let backButtonTapped = PassthroughSubject<Void, Never>()
private let resignButtonTapped = PassthroughSubject<Void, Never>()
private let viewWillAppearSubject = PassthroughSubject<Void, Never>()
private var cancelBag = Set<AnyCancellable>()

// MARK: - ํšŒ์›ํƒˆํ‡ด๋ฅผ ์œ„ํ•œ ์ž„์‹œ ๋ฒ„ํŠผ
private let resignButton: UIButton = {
let resignButton: UIButton = {
let button = UIButton()
button.alpha = 0.1
return button
Expand Down Expand Up @@ -64,7 +65,6 @@ final class MyPageViewController: UIViewController, MyPageControllerable {
}

func setTableViewHeader(_ input: BadgeProfileAppData) {
let headerView = MyPageUserInfoView(frame: .init(x: 0, y: 0, width: view.frame.size.width, height: view.frame.size.width*(224/360)))
headerView.inputData = input
myPageTableView.tableHeaderView = headerView
}
Expand Down
Loading