diff --git a/DailyQuest/DailyQuest/Presentation/Common/Cells/QuestCell.swift b/DailyQuest/DailyQuest/Presentation/Common/Cells/QuestCell.swift new file mode 100644 index 0000000..1cc28d6 --- /dev/null +++ b/DailyQuest/DailyQuest/Presentation/Common/Cells/QuestCell.swift @@ -0,0 +1,8 @@ +// +// QuestCell.swift +// DailyQuest +// +// Created by jinwoong Kim on 2022/11/15. +// + +import Foundation diff --git a/DailyQuest/DailyQuest/Presentation/Common/CustomProgressBar.swift b/DailyQuest/DailyQuest/Presentation/Common/CustomProgressBar.swift new file mode 100644 index 0000000..4b77e93 --- /dev/null +++ b/DailyQuest/DailyQuest/Presentation/Common/CustomProgressBar.swift @@ -0,0 +1,19 @@ +// +// CustomProgressBar.swift +// DailyQuest +// +// Created by jinwoong Kim on 2022/11/15. +// + +import UIKit + +final class CustomProgressBar: UIProgressView { + + override func layoutSubviews() { + super.layoutSubviews() + subviews.forEach { subview in + subview.layer.masksToBounds = true + subview.layer.cornerRadius = 15 + } + } +}