- 배너/최근/신규/큐레이션 섹션 UI 구성 및 데이터 바인딩 - 네트워크 이미지 로더를 Kingfisher(KFImage)로 교체하여 캐싱/재시도 지원 - CharacterApi에 토큰 헤더 포함, GET /api/chat/character/main 연동
		
			
				
	
	
		
			20 lines
		
	
	
		
			365 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			365 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
//
 | 
						|
//  CharacterRepository.swift
 | 
						|
//  SodaLive
 | 
						|
//
 | 
						|
//  Created by klaus on 8/29/25.
 | 
						|
//
 | 
						|
 | 
						|
import Foundation
 | 
						|
import CombineMoya
 | 
						|
import Combine
 | 
						|
import Moya
 | 
						|
 | 
						|
class CharacterRepository {
 | 
						|
    private let api = MoyaProvider<CharacterApi>()
 | 
						|
    
 | 
						|
    func getCharacterMain() -> AnyPublisher<Response, MoyaError> {
 | 
						|
        return api.requestPublisher(.getCharacterHome)
 | 
						|
    }
 | 
						|
}
 |