Skip to content

Commit

Permalink
Release Version 1.6.2 (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
wngus4296 authored Sep 1, 2024
2 parents 0515f1c + 09c150f commit 9d35e4f
Show file tree
Hide file tree
Showing 12 changed files with 385 additions and 54 deletions.
32 changes: 32 additions & 0 deletions Boolti/Boolti.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
22DEF7812C28396100EA492A /* GiftingDetailDIContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22DEF7802C28396100EA492A /* GiftingDetailDIContainer.swift */; };
22DEF7832C28396D00EA492A /* GiftingDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22DEF7822C28396D00EA492A /* GiftingDetailViewController.swift */; };
22DEF7852C28397600EA492A /* GiftingDetailViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22DEF7842C28397600EA492A /* GiftingDetailViewModel.swift */; };
22DFC56D2C7F60E600C8433D /* BannerCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22DFC56C2C7F60E600C8433D /* BannerCollectionViewCell.swift */; };
22FA98232C3D0BE500831F64 /* ConcertTicketInfoView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22FA98222C3D0BE500831F64 /* ConcertTicketInfoView.swift */; };
840B39552B7667D500E7F8C8 /* ConcertCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 840B39542B7667D500E7F8C8 /* ConcertCollectionViewCell.swift */; };
840B39572B76688C00E7F8C8 /* ConcertCollectionViewFlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 840B39562B76688C00E7F8C8 /* ConcertCollectionViewFlowLayout.swift */; };
Expand Down Expand Up @@ -342,6 +343,9 @@
87D2FAC02B7003970027FBE1 /* ReversalPolicyView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87D2FABF2B7003970027FBE1 /* ReversalPolicyView.swift */; };
87DB76C02C52823400DE8B14 /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 87DB76BE2C52823400DE8B14 /* Debug.xcconfig */; };
87DB76C12C52823400DE8B14 /* Release.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 87DB76BF2C52823400DE8B14 /* Release.xcconfig */; };
87EFEEDB2C7E1C4300A8993C /* Preview.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87EFEEDA2C7E1C4300A8993C /* Preview.swift */; };
87EFEEDE2C7E21EF00A8993C /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 87EFEEDD2C7E21EF00A8993C /* WebKit.framework */; };
87EFEEE12C7F597700A8993C /* AgreementViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87EFEEE02C7F597700A8993C /* AgreementViewController.swift */; };
87F63D692C3F7E46001D7A56 /* GiftCompletionDIContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87F63D682C3F7E46001D7A56 /* GiftCompletionDIContainer.swift */; };
87F63D6B2C3F7E55001D7A56 /* GiftCompletionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87F63D6A2C3F7E55001D7A56 /* GiftCompletionViewController.swift */; };
87F63D6D2C3F7E62001D7A56 /* GiftCompletionViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87F63D6C2C3F7E62001D7A56 /* GiftCompletionViewModel.swift */; };
Expand Down Expand Up @@ -430,6 +434,7 @@
22DEF7802C28396100EA492A /* GiftingDetailDIContainer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftingDetailDIContainer.swift; sourceTree = "<group>"; };
22DEF7822C28396D00EA492A /* GiftingDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftingDetailViewController.swift; sourceTree = "<group>"; };
22DEF7842C28397600EA492A /* GiftingDetailViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftingDetailViewModel.swift; sourceTree = "<group>"; };
22DFC56C2C7F60E600C8433D /* BannerCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BannerCollectionViewCell.swift; sourceTree = "<group>"; };
22FA98222C3D0BE500831F64 /* ConcertTicketInfoView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConcertTicketInfoView.swift; sourceTree = "<group>"; };
840B39542B7667D500E7F8C8 /* ConcertCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConcertCollectionViewCell.swift; sourceTree = "<group>"; };
840B39562B76688C00E7F8C8 /* ConcertCollectionViewFlowLayout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConcertCollectionViewFlowLayout.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -693,6 +698,9 @@
87D2FABF2B7003970027FBE1 /* ReversalPolicyView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ReversalPolicyView.swift; sourceTree = "<group>"; };
87DB76BE2C52823400DE8B14 /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
87DB76BF2C52823400DE8B14 /* Release.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
87EFEEDA2C7E1C4300A8993C /* Preview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Preview.swift; sourceTree = "<group>"; };
87EFEEDD2C7E21EF00A8993C /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
87EFEEE02C7F597700A8993C /* AgreementViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AgreementViewController.swift; sourceTree = "<group>"; };
87F63D682C3F7E46001D7A56 /* GiftCompletionDIContainer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftCompletionDIContainer.swift; sourceTree = "<group>"; };
87F63D6A2C3F7E55001D7A56 /* GiftCompletionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftCompletionViewController.swift; sourceTree = "<group>"; };
87F63D6C2C3F7E62001D7A56 /* GiftCompletionViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftCompletionViewModel.swift; sourceTree = "<group>"; };
Expand All @@ -715,6 +723,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
87EFEEDE2C7E21EF00A8993C /* WebKit.framework in Frameworks */,
84B3219D2B61543E007FD669 /* FirebaseAnalyticsSwift in Frameworks */,
84781C972B5BF15A00D37921 /* RxKakaoSDKCommon in Frameworks */,
87F63D812C3FC372001D7A56 /* KakaoSDK in Frameworks */,
Expand Down Expand Up @@ -805,6 +814,7 @@
224BEEFC2C4CC99900863970 /* Detail */ = {
isa = PBXGroup;
children = (
87EFEEDF2C7F596C00A8993C /* ViewController */,
224BEF092C4CD18500863970 /* Views */,
848CBF042B6547DB00239303 /* TicketingDetail */,
22DEF77F2C2838E100EA492A /* GiftingDetail */,
Expand Down Expand Up @@ -973,6 +983,7 @@
840B395A2B7679EC00E7F8C8 /* SearchBarCollectionViewCell.swift */,
840B395E2B76966E00E7F8C8 /* ConcertListMainTitleCollectionViewCell.swift */,
840B39542B7667D500E7F8C8 /* ConcertCollectionViewCell.swift */,
22DFC56C2C7F60E600C8433D /* BannerCollectionViewCell.swift */,
221D09FB2BA1E49B0035B0E6 /* BusinessInfoCollectionViewCell.swift */,
);
path = Cells;
Expand Down Expand Up @@ -1120,6 +1131,7 @@
children = (
84781BCB2B5BDAFC00D37921 /* Boolti */,
84781BCA2B5BDAFC00D37921 /* Products */,
87EFEEDC2C7E21D000A8993C /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -1240,6 +1252,7 @@
84FEF6162B68A6D100EBB64F /* UIResponder+.swift */,
87F7DF442B82322E0068A6C9 /* Notification.Name+.swift */,
870C33352BBC29B600ED212C /* UICollectionReusableView+.swift */,
87EFEEDA2C7E1C4300A8993C /* Preview.swift */,
);
path = Extensions;
sourceTree = "<group>";
Expand Down Expand Up @@ -2134,6 +2147,22 @@
path = TicketDetail;
sourceTree = "<group>";
};
87EFEEDC2C7E21D000A8993C /* Frameworks */ = {
isa = PBXGroup;
children = (
87EFEEDD2C7E21EF00A8993C /* WebKit.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
87EFEEDF2C7F596C00A8993C /* ViewController */ = {
isa = PBXGroup;
children = (
87EFEEE02C7F597700A8993C /* AgreementViewController.swift */,
);
path = ViewController;
sourceTree = "<group>";
};
87F63D632C3EE9E2001D7A56 /* Completion */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -2346,6 +2375,7 @@
8769BF9D2B6267CC00DA9A67 /* BooltiButton.swift in Sources */,
841D77E12B7464250068B1C5 /* UIImageView+.swift in Sources */,
84A713432B7C6DEA000BABCB /* EntranceCodeViewModel.swift in Sources */,
22DFC56D2C7F60E600C8433D /* BannerCollectionViewCell.swift in Sources */,
224BEEFF2C4CC9BA00863970 /* GiftingConfirmDIContainer.swift in Sources */,
84E512532B6E9E0B002658D1 /* ConcertPosterView.swift in Sources */,
872605422B793223005CD0D4 /* TicketReservationDetailDIContainer.swift in Sources */,
Expand Down Expand Up @@ -2506,6 +2536,7 @@
8769BF9A2B625DC900DA9A67 /* TermsAgreementDIContainer.swift in Sources */,
22CF3A382BB806560094711C /* MiddlemanPolicyView.swift in Sources */,
87F7DF472B8275980068A6C9 /* EntryCodeErrorResponseDTO.swift in Sources */,
87EFEEE12C7F597700A8993C /* AgreementViewController.swift in Sources */,
87A3716F2B76534B0061814E /* TicketReservationItemEntity.swift in Sources */,
8755A1602B8BA5510067C5CE /* QRCodeResponsePopUpView.swift in Sources */,
8730F02E2B7BAA2B00D4F339 /* RefundAccountNumberView.swift in Sources */,
Expand Down Expand Up @@ -2547,6 +2578,7 @@
84DF59E52B726E3F000816DA /* ConcertContentExpandViewModel.swift in Sources */,
84DF59E12B726E0A000816DA /* ConcertContentExpandDIContainer.swift in Sources */,
84781C7E2B5BEC0700D37921 /* LoginRequestDTO.swift in Sources */,
87EFEEDB2C7E1C4300A8993C /* Preview.swift in Sources */,
8710D9462B74FA5700309FBF /* QRScannerListViewController.swift in Sources */,
876E41572B5F972A006BEEB7 /* LoginResponseDTO.swift in Sources */,
870099BE2B7767E7001779FB /* EmptyReservationsView.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "banner_background.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "banner_fire.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions Boolti/Boolti/Sources/Global/Extensions/Preview.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// Preview.swift
// Boolti
//
// Created by Miro on 8/27/24.
//
import SwiftUI

#if DEBUG
extension UIViewController {
private struct Preview: UIViewControllerRepresentable {
let viewController: UIViewController

func makeUIViewController(context: Context) -> UIViewController {
return viewController
}

func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}

func toPreview() -> some View {
Preview(viewController: self)
}
}
#endif

/// 아래와 같이 PreView를 활용하면 됨
/*
import SwiftUI

struct PreView: PreviewProvider {
static var previews: some View {
// Preview를 보고자 하는 ViewController를 넣으면 됩니다.
HomeViewController().toPreview()
}
}
*/
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
//
// BannerCollectionViewCell.swift
// Boolti
//
// Created by Juhyeon Byun on 8/28/24.
//

import UIKit

final class BannerCollectionViewCell: UICollectionViewCell {

// MARK: UI Component

private let backgroundImageView: UIImageView = {
let imageView = UIImageView()
imageView.clipsToBounds = true
imageView.contentMode = .scaleAspectFill
imageView.image = .bannerBackground
imageView.layer.cornerRadius = 8
return imageView
}()

private let fireImageView: UIImageView = {
let imageView = UIImageView()
imageView.clipsToBounds = true
imageView.image = .bannerFire
return imageView
}()

private let subTitleLabel: BooltiUILabel = {
let label = BooltiUILabel()
label.font = .caption
label.textColor = .grey05
label.text = "지금 공연의 불을 지펴보세요!"
return label
}()

private let mainTitleLabel: BooltiUILabel = {
let label = BooltiUILabel()
label.font = .aggroB(16)
label.textColor = .grey05
label.text = "공연 등록하러 가기"
return label
}()

private lazy var labelStackView: UIStackView = {
let stackView = UIStackView()
stackView.axis = .vertical
stackView.spacing = 2
stackView.alignment = .leading
stackView.addArrangedSubviews([self.subTitleLabel,
self.mainTitleLabel])
return stackView
}()

// MARK: Init

override init(frame: CGRect) {
super.init(frame: frame)

self.configureUI()
self.configureConstraints()
}

required init?(coder: NSCoder) {
fatalError()
}
}

// MARK: - UI

extension BannerCollectionViewCell {

private func configureUI() {
self.contentView.addSubview(self.backgroundImageView)
self.backgroundImageView.addSubviews([self.fireImageView,
self.labelStackView])
}

private func configureConstraints() {
self.backgroundImageView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}

self.fireImageView.snp.makeConstraints { make in
make.trailing.equalToSuperview().inset(24)
make.height.equalToSuperview()
make.width.equalTo(self.fireImageView.snp.height)
}

self.labelStackView.snp.makeConstraints { make in
make.leading.equalToSuperview().inset(24)
make.centerY.equalToSuperview()
}
}
}
Loading

0 comments on commit 9d35e4f

Please sign in to comment.