这是我的代码:导入UIKitclasscircularLoaderView:UIView{letcirclePathLayer=CAShapeLayer()letcircleRadius:CGFloat=20.0overrideinit(frame:CGRect){super.init(frame:frame)configure()}requiredinit(coderaDecoder:NSCoder){super.init(coder:aDecoder)!configure()}funcconfigure(){circlePathLayer.frame=boundscirclePat