File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,9 +122,6 @@ extension ViewController: FDWaveformViewDelegate {
122122 UIView . animate ( withDuration: 0.25 , animations: { ( ) -> Void in
123123 waveformView. alpha = 1.0
124124 } )
125-
126- let data = UIImagePNGRepresentation ( waveformView. imageView. image!) !
127- try ! data. write ( to: URL ( fileURLWithPath: " /Users/kip/Desktop/real_output.png " ) )
128125 }
129126
130127 func waveformViewWillLoad( _ waveformView: FDWaveformView ) {
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ open class FDWaveformView: UIView {
223223 }
224224
225225 /// View for rendered waveform
226- lazy public var imageView : UIImageView = {
226+ lazy fileprivate var imageView : UIImageView = {
227227 let retval = UIImageView ( frame: CGRect . zero)
228228 retval. contentMode = . scaleToFill
229229 retval. tintColor = self . wavesColor
You can’t perform that action at this time.
0 commit comments