Skip to content

Commit

Permalink
[#196] FIX:Scheme Changeing
Browse files Browse the repository at this point in the history
  • Loading branch information
SuwonPabby committed Jul 16, 2023
1 parent 7a041ab commit 8f65d90
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -67,7 +67,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -96,7 +96,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -67,7 +67,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand All @@ -84,7 +84,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down Expand Up @@ -67,7 +67,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand All @@ -84,7 +84,7 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "777C665C28A74A62000BECEA"
BuildableName = "Hous-.app"
BuildableName = "Hous-iOS-release.app"
BlueprintName = "Hous-iOS-release"
ReferencedContainer = "container:Hous-iOS-release.xcodeproj">
</BuildableReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ final class ProfileSettingListView: UIView {

private let disposeBag: DisposeBag = DisposeBag()

private let listImage = UIImageView()

private let listTextLabel = UILabel().then {
$0.textColor = Colors.black.color
$0.font = Fonts.SpoqaHanSansNeo.medium.font(size: 16)
Expand All @@ -40,7 +38,6 @@ final class ProfileSettingListView: UIView {

convenience init(image: UIImage, text: String) {
self.init(frame: .zero)
self.listImage.image = image
self.listTextLabel.text = text
}

Expand All @@ -49,16 +46,11 @@ final class ProfileSettingListView: UIView {
}

private func render() {
self.addSubViews([listImage, listTextLabel, forwardButtonImage])

listImage.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.leading.equalToSuperview().offset(24)
}
self.addSubViews([listTextLabel, forwardButtonImage])

listTextLabel.snp.makeConstraints { make in
make.centerY.equalToSuperview()
make.leading.equalTo(listImage.snp.trailing).offset(12)
make.leading.equalToSuperview().offset(24)
}

forwardButtonImage.snp.makeConstraints { make in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ final class ProfileAlarmSettingViewController: BaseViewController, LoadingPresen

// MARK: UI Components

private let navigationBarView = ProfileNavigationBarView().then {
$0.titleName.text = "설정"
}
private let navigationBarView = NavBarWithBackButtonView(
title: "알림",
rightButtonText: ""
)

private let alarmSettingCollectionView: UICollectionView = {
let layout = UICollectionViewFlowLayout()
Expand Down Expand Up @@ -81,7 +82,7 @@ final class ProfileAlarmSettingViewController: BaseViewController, LoadingPresen

let actionDetected = PublishSubject<ProfileAlarmSettingActionControl>()

navigationBarView.navigationBackButton.rx.tap
navigationBarView.backButton.rx.tap
.observe(on: MainScheduler.asyncInstance)
.bind(onNext: { _ in
actionDetected.onNext(.didTabBack)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Then
import MessageUI
import SafariServices
import BottomSheetKit
import HousUIComponent

final class ProfileSettingViewController: UIViewController {

Expand All @@ -32,17 +33,18 @@ final class ProfileSettingViewController: UIViewController {

// MARK: UI Components

private let navigationBarView = ProfileNavigationBarView().then {
$0.titleName.text = "설정"
}
private let navigationBarView = NavBarWithBackButtonView(
title: "설정",
rightButtonText: ""
)

private let settingListStackView = UIStackView().then {
$0.alignment = .fill
$0.distribution = .fillEqually
$0.axis = .vertical
}

private let alarmSetting = ProfileSettingListView(image: Images.icAlarmSetting.image, text: "알람")
private let alarmSetting = ProfileSettingListView(image: Images.icAlarmSetting.image, text: "알림")

private let agreementInfo = ProfileSettingListView(image: Images.icInfo.image, text: "개인정보 및 약관")

Expand Down Expand Up @@ -187,7 +189,7 @@ final class ProfileSettingViewController: UIViewController {
})
.disposed(by: disposeBag)

navigationBarView.navigationBackButton.rx.tap
navigationBarView.backButton.rx.tap
.observe(on: MainScheduler.asyncInstance)
.bind(onNext: { [weak self] in
guard let self = self else { return }
Expand Down

0 comments on commit 8f65d90

Please sign in to comment.