Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 580 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 580 Bytes

PulsingButton

Farmers Market Finder Demo

How to use

pod "PulsingButton"
		let button = PulsingButton()
		button.translatesAutoresizingMaskIntoConstraints = false
		
		self.view.addSubview(button)
		button.pulsingColor = .orange
		button.centerXAnchor.constraint(equalTo: self.view.centerXAnchor).isActive = true
		button.centerYAnchor.constraint(equalTo: self.view.centerYAnchor).isActive = true
		
		button.setTitle("   Press Me To See Pulsing   ", for: .normal)
		button.layer.cornerRadius = 25
		button.backgroundColor = .orange
	}