Files
sodalive-ios/SodaLive/Sources/Chat/Character/CharacterRepository.swift
Yu Sung 4dd1866169 feat(character): 캐릭터 메인 화면 구현 및 Combine 기반 리팩터링
- 배너/최근/신규/큐레이션 섹션 UI 구성 및 데이터 바인딩
- 네트워크 이미지 로더를 Kingfisher(KFImage)로 교체하여 캐싱/재시도 지원
- CharacterApi에 토큰 헤더 포함, GET /api/chat/character/main 연동
2025-08-29 20:58:57 +09:00

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)
}
}