24 lines
		
	
	
		
			547 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			547 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
//
 | 
						|
//  CharacterDetailGalleryViewModel.swift
 | 
						|
//  SodaLive
 | 
						|
//
 | 
						|
//  Created by klaus on 9/2/25.
 | 
						|
//
 | 
						|
 | 
						|
import Foundation
 | 
						|
import Combine
 | 
						|
import Moya
 | 
						|
 | 
						|
final class CharacterDetailGalleryViewModel: ObservableObject {
 | 
						|
    // MARK: - Published State
 | 
						|
    @Published var isLoading: Bool = false
 | 
						|
    @Published var errorMessage: String = ""
 | 
						|
    @Published var isShowPopup = false
 | 
						|
    
 | 
						|
    // MARK: - Private
 | 
						|
    private let repository = CharacterDetailGalleryRepository()
 | 
						|
    private var subscription = Set<AnyCancellable>()
 | 
						|
    
 | 
						|
    // MARK: - Public Methods
 | 
						|
}
 |