AudioEqualizer in swift
@IBOutlet var viewEqualizer: kEqualizerView! viewEqualizer.backgroundColor = UIColor.clearColor()
// Set bar color
viewEqualizer.barColor = UIColor.purpleColor()
// Set bar Backgorund color
viewEqualizer.barBGColor = UIColor.grayColor()
// Set direction of equalizer
viewEqualizer.initWithDirection(Direction.leftToRight) // Direction.bottomToTop