fix: swift 6 경고 제거

This commit is contained in:
Yu Sung
2025-05-14 17:20:35 +09:00
parent 9e16b687e4
commit f3c5e29b60
3 changed files with 6 additions and 6 deletions

View File

@@ -12,18 +12,18 @@ import Combine
class AuditionSoundManager: NSObject, ObservableObject { class AuditionSoundManager: NSObject, ObservableObject {
static let shared = AuditionSoundManager() static let shared = AuditionSoundManager()
@Published private (set) var isPlaying = false @Published private(set) var isPlaying = false
@Published var isLoading = false @Published var isLoading = false
@Published var errorMessage = "" @Published var errorMessage = ""
@Published var isShowPopup = false @Published var isShowPopup = false
@Published var currentTime: Double = 0.0 @Published var currentTime: Double = 0.0
@Published private (set) var duration: Double = 0.0 @Published private(set) var duration: Double = 0.0
private var player: AVAudioPlayer! private var player: AVAudioPlayer!
private var timer: Timer? private var timer: Timer?
@Published private (set) var applicantId = -1 @Published private(set) var applicantId = -1
func resetPlayer() { func resetPlayer() {
stop() stop()

View File

@@ -24,7 +24,7 @@ final class AuditionRoleDetailViewModel: ObservableObject {
@Published var name = "보이스온" @Published var name = "보이스온"
@Published var auditionRoleDetail: GetAuditionRoleDetailResponse? = nil @Published var auditionRoleDetail: GetAuditionRoleDetailResponse? = nil
@Published private (set) var sortType = AuditionApplicantSortType.NEWEST { @Published private(set) var sortType = AuditionApplicantSortType.NEWEST {
didSet { didSet {
refreshApplicantList() refreshApplicantList()
} }

View File

@@ -12,8 +12,8 @@ import MediaPlayer
final class CreatorCommunityMediaPlayerManager: NSObject, ObservableObject { final class CreatorCommunityMediaPlayerManager: NSObject, ObservableObject {
static let shared = CreatorCommunityMediaPlayerManager() static let shared = CreatorCommunityMediaPlayerManager()
@Published private (set) var currentPlayingContentId: Int = 0 @Published private(set) var currentPlayingContentId: Int = 0
@Published private (set) var isPlaying = false @Published private(set) var isPlaying = false
@Published var isLoading = false @Published var isLoading = false
@Published var errorMessage = "" @Published var errorMessage = ""