Skip to content

Commit

Permalink
chore: delete unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuncheol-AHN committed Nov 30, 2024
1 parent f115e4b commit 3a3749b
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,24 +128,6 @@ final public class AudioViewController: UIViewController {
requestMicrophonePermission()
}

private func bind() {
let output = viewModel?.transform(input: input.eraseToAnyPublisher())
output?.sink(receiveValue: { [weak self] event in
switch event {
case .updatedAudioFileURL:
debugPrint("updated audio file URL")
case .savedAudioFile:
debugPrint("saved audio file")
case .deleteTemporaryAudioFile:
debugPrint("delete temporary audio file")
case .audioStart:
self?.startRecording()
case .audioStop:
self?.stopRecording()
}
}).store(in: &cancellables)
}

private func setupBars() {
let width = 300 / numberOfBars - 5
let barSpacing = 5
Expand Down

0 comments on commit 3a3749b

Please sign in to comment.