Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // CircularProgress.swift
- // CircularProgress-Tutorial
- //
- // Created by Aman Aggarwal on 5/18/18.
- // Copyright © 2018 iostutorialjunction.com . All rights reserved.
- //
- import UIKit
- class CircularProgress: UIView {
- fileprivate var progressLayer = CAShapeLayer()
- fileprivate var tracklayer = CAShapeLayer()
- /*
- // Only override draw() if you perform custom drawing.
- // An empty implementation adversely affects performance during animation.
- override func draw(_ rect: CGRect) {
- // Drawing code
- }
- */
- override init(frame: CGRect) {
- super.init(frame: frame)
- }
- required init?(coder aDecoder: NSCoder) {
- super.init(coder: aDecoder)
- }
- }
Add Comment
Please, Sign In to add comment