Skip to content

Commit

Permalink
[feat] #10 - CustomProgressBar를 추가하였습니다.
Browse files Browse the repository at this point in the history
  • Loading branch information
jinwoong16 committed Nov 15, 2022
1 parent 905fcbb commit 0187223
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//
// QuestCell.swift
// DailyQuest
//
// Created by jinwoong Kim on 2022/11/15.
//

import Foundation
19 changes: 19 additions & 0 deletions DailyQuest/DailyQuest/Presentation/Common/CustomProgressBar.swift
Original file line number Diff line number Diff line change
@@ -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
}
}
}

0 comments on commit 0187223

Please sign in to comment.