Guest User

Untitled

a guest
May 23rd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. //
  2. // CircularProgress.swift
  3. // CircularProgress-Tutorial
  4. //
  5. // Created by Aman Aggarwal on 5/18/18.
  6. // Copyright © 2018 iostutorialjunction.com . All rights reserved.
  7. //
  8.  
  9. import UIKit
  10.  
  11. class CircularProgress: UIView {
  12.  
  13. fileprivate var progressLayer = CAShapeLayer()
  14. fileprivate var tracklayer = CAShapeLayer()
  15.  
  16. /*
  17. // Only override draw() if you perform custom drawing.
  18. // An empty implementation adversely affects performance during animation.
  19. override func draw(_ rect: CGRect) {
  20. // Drawing code
  21. }
  22. */
  23.  
  24. override init(frame: CGRect) {
  25. super.init(frame: frame)
  26. }
  27.  
  28. required init?(coder aDecoder: NSCoder) {
  29. super.init(coder: aDecoder)
  30. }
  31. }
Add Comment
Please, Sign In to add comment