-
Notifications
You must be signed in to change notification settings - Fork 50
got 5 errors in your file #14
Copy link
Copy link
Open
Description
##1
public enum LineCap : Int{
case round, butt, square
public func style() -> String {
switch self {
case .round:
return CAShapeLayerLineCap.round.rawValue
case .butt:
return CAShapeLayerLineCap.butt.rawValue
case .square:
return CAShapeLayerLineCap.square.rawValue
}
}
}
##2
private func updateShapes() {
backgroundShape?.lineWidth = lineWidth
backgroundShape?.strokeColor = backgroundShapeColor.cgColor
//backgroundShape?.lineCap = lineCap.style()
progressShape?.strokeColor = progressShapeColor.cgColor
progressShape?.lineWidth = lineWidth - inset
// progressShape?.lineCap = lineCap.style()
switch orientation {
the above code is changed in my system and two line need to comment
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels