Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDLE-497] 작은 이미지에 대해 캐싱시 리사이징을 통한 최적화 #104

Closed
wants to merge 7 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by 최준영 on 6/20/24.
//

import ProjectDescription
@preconcurrency import ProjectDescription
import Foundation

public typealias D = ModuleDependency
Expand Down Expand Up @@ -48,6 +48,7 @@ public extension ModuleDependency {
public static let NaverMapSDKForSPM: TargetDependency = .external(name: "Junios.NMapSDKForSPM")
public static let Amplitude: TargetDependency = .external(name: "AmplitudeSwift")
public static let SDWebImageWebPCoder: TargetDependency = .external(name: "SDWebImageWebPCoder")
public static let SimpleImageProvider: TargetDependency = .external(name: "SimpleImageProvider")

// FireBase
public static let FirebaseRemoteConfig: TargetDependency = .external(name: "FirebaseRemoteConfig")
Expand Down
6 changes: 0 additions & 6 deletions project/Projects/App/Sources/DIAssembly/DataAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ public struct DataAssembly: Assembly {
}


// MARK: 캐싱 레포지토리
container.register(CacheRepository.self) { _ in
return DefaultCacheRepository()
}
.inObjectScope(.container)

// MARK: 로컬에 저장된 유저정보 레포지토리
container.register(UserInfoLocalRepository.self) { _ in
DefaultUserInfoLocalRepository()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,11 @@ public struct PresentationAssembly: Assembly {
container.register(ChattingListFeatureFactory.self) { _ in
DefaultChattingListFeatureFactory()
}

// MARK: ImageProvider
container.register(ImageProvider.self) { _ in
DefaultImageProvider()
}
.inObjectScope(.container)
}
}
Loading
Loading