From 3a3749b4e569c98061598a37fd30108a46dd6988 Mon Sep 17 00:00:00 2001 From: yuncheol-AHN Date: Sat, 30 Nov 2024 23:07:36 +0900 Subject: [PATCH] chore: delete unnecessary code --- .../Source/Audio/AudioViewController.swift | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/AudioViewController.swift b/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/AudioViewController.swift index acbd45c8..21350fda 100644 --- a/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/AudioViewController.swift +++ b/MemorialHouse/MHPresentation/MHPresentation/Source/Audio/AudioViewController.swift @@ -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