Skip to content

Commit

Permalink
fix: BibbMissionView, BibbInquireBannerView, BibbiProfileView, BibbiC…
Browse files Browse the repository at this point in the history
…heckBoxView 파일 위치 변겅

- BibbiFeedType 코드 위치 변경
  • Loading branch information
Do-hyun-Kim committed Oct 8, 2024
1 parent 6d9aad5 commit 43e45e7
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 32 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
//
// BibbiMissionView.swift
// Core
// App
//
// Created by Kim dohyun on 5/1/24.
// Created by Kim dohyun on 10/9/24.
//

import UIKit

import Core
import DesignSystem
import SnapKit


public final class BibbiMissionView: UIView {
final class BibbiMissionView: UIView {

public let missionBadgeView: UIImageView = UIImageView()
public let missionTitleView: BBLabel = BBLabel(.body2Bold, textAlignment: .center, textColor: .mainYellow)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
//
// BibbiInquireBannerView.swift
// Core
// App
//
// Created by Kim dohyun on 3/20/24.
// Created by Kim dohyun on 10/9/24.
//

import UIKit

import Core
import DesignSystem
import SnapKit
import Then

public final class BibbiInquireBannerView: UIView {
final class BibbiInquireBannerView: UIView {


private let mainLogoView: UIImageView = UIImageView()
Expand Down Expand Up @@ -115,3 +116,5 @@ public final class BibbiInquireBannerView: UIView {
}




Original file line number Diff line number Diff line change
@@ -1,38 +1,36 @@
//
// BibbiProfileView.swift
// Core
// App
//
// Created by Kim dohyun on 12/17/23.
// Created by Kim dohyun on 10/9/24.
//

import UIKit

import Core
import DesignSystem
import RxSwift
import RxCocoa
import ReactorKit
import SnapKit
import Then




public class BibbiProfileView: UIView {
public let profileImageView: UIImageView = UIImageView()
public let profileDefaultLabel: BBLabel = BBLabel(.head1, textAlignment: .center, textColor: .gray200)
public let circleButton: UIButton = UIButton.createCircleButton(radius: 15)
public let birthDayView: UIImageView = UIImageView()
public let profileNickNameButton: UIButton = UIButton()
public let profileCreateLabel: UILabel = BBLabel(.caption, textAlignment: .center ,textColor: .gray400)
final class BibbiProfileView: UIView {
let profileImageView: UIImageView = UIImageView()
let profileDefaultLabel: BBLabel = BBLabel(.head1, textAlignment: .center, textColor: .gray200)
let circleButton: UIButton = UIButton.createCircleButton(radius: 15)
let birthDayView: UIImageView = UIImageView()
let profileNickNameButton: UIButton = UIButton()
let profileCreateLabel: UILabel = BBLabel(.caption, textAlignment: .center ,textColor: .gray400)


public var isSetting: Bool = false {
var isSetting: Bool = false {
didSet {
setupUserProfile(isUser: isSetting)
}
}

public var isBirthDay: Bool = false {
var isBirthDay: Bool = false {
didSet {
setupBirtyDay(isBirtyDay: isBirthDay)
}
Expand Down Expand Up @@ -175,3 +173,4 @@ public class BibbiProfileView: UIView {
birthDayView.isHidden = !isBirtyDay
}
}

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//
// BibbiTermsView.swift
// Core
// BibbiCheckBoxView.swift
// App
//
// Created by Kim dohyun on 1/2/24.
// Created by Kim dohyun on 10/9/24.
//

import UIKit
Expand All @@ -20,9 +20,9 @@ enum ReasonTypes: String, CaseIterable {
}


public final class BibbiCheckBoxView: UIView {
final class BibbiCheckBoxView: UIView {
private let checkStackView: UIStackView = UIStackView()
public var checkButtons: [UIButton] = []
var checkButtons: [UIButton] = []



Expand Down Expand Up @@ -85,3 +85,4 @@ public final class BibbiCheckBoxView: UIView {
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ import Foundation

import RxSwift

public enum BibbiFeedType: Int {
case survival = 0
case mission = 1
}

public enum ProfileFeedEvent {
case didTapSegmentedPage(BibbiFeedType)
case didReceiveMemberId(BibbiFeedType)
Expand Down
7 changes: 0 additions & 7 deletions 14th-team5-iOS/Core/Sources/URLTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@

import UIKit

// TODO: - 요거 옮겨주세요~
public enum BibbiFeedType: Int {
case survival = 0
case mission = 1
}


public enum URLTypes {
case settings
case appStore
Expand Down

0 comments on commit 43e45e7

Please sign in to comment.