-
-
Save alsedi/a56ed22def2c299783ca517e12d09b53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func updateIndicator(with percent: Double) { | |
let shortestSide = min(view.frame.size.width, view.frame.size.height) | |
let strokeWidth: CGFloat = 40.0 | |
let frame = CGRect(x: 0, y: 0, width: shortestSide - strokeWidth, height: shortestSide - strokeWidth) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment