Closed HanSJin closed 5 years ago
Hi. @bastienFalcou . We discussed about removing the middle lines on the level-meter bar in issue40. So I create PR about this.
The contents of this PR are as follows.
First, I added design option meteringLevelBarSingleStick.
meteringLevelBarSingleStick
@IBInspectable public var meteringLevelBarSingleStick: Bool = false { didSet { self.setNeedsDisplay() } }
Second, I added LevelBarType enum that determine shapes of level-meter bar.
LevelBarType
private enum LevelBarType { case upper case lower case single }
Last, I attach the sample gif files.
Original sample.
After audioVisualizationView.meteringLevelBarSingleStick = true.
audioVisualizationView.meteringLevelBarSingleStick = true
Hi. @bastienFalcou . We discussed about removing the middle lines on the level-meter bar in issue40. So I create PR about this.
The contents of this PR are as follows.
First, I added design option
meteringLevelBarSingleStick
.Second, I added
LevelBarType
enum that determine shapes of level-meter bar.Last, I attach the sample gif files.
audioVisualizationView.meteringLevelBarSingleStick = true
.