Closed nassarofficial closed 8 years ago
var activityIndicator: PulsingHaloLayer!
self.activityIndicator = PulsingHaloLayer(layerNumber: 3)
self.activityIndicator.position = getCenterOfView(self.view)
self.activityIndicator.radius = self.view.bounds.height / 2
self.activityIndicator.backgroundColor = UIColor.grayColor().CGColor
self.activityIndicator.useTimingFunction = false
self.view.layer.addSublayer(self.activityIndicator)
Hi, I updated the README.
How could I initiate a pulse on swift?