-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from AVIRO-official/develop
[Ver 1.3.1]
- Loading branch information
Showing
828 changed files
with
4,001 additions
and
805 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-323 Bytes
AVIRO/App/Assets.xcassets/ImageSet/Assets/AppleLogo.imageset/AppleLogo.png
Binary file not shown.
Binary file removed
BIN
-494 Bytes
AVIRO/App/Assets.xcassets/ImageSet/Assets/AppleLogo.imageset/[email protected]
Binary file not shown.
Binary file removed
BIN
-797 Bytes
AVIRO/App/Assets.xcassets/ImageSet/Assets/AppleLogo.imageset/[email protected]
Binary file not shown.
Binary file removed
BIN
-1.15 KB
.../App/Assets.xcassets/ImageSet/LaunchScreen/LaunchTitle.imageset/LaunchTitle.png
Binary file not shown.
Binary file removed
BIN
-1.85 KB
...p/Assets.xcassets/ImageSet/LaunchScreen/LaunchTitle.imageset/[email protected]
Binary file not shown.
Binary file removed
BIN
-2.63 KB
...p/Assets.xcassets/ImageSet/LaunchScreen/LaunchTitle.imageset/[email protected]
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// DIContainer.swift | ||
// AVIRO | ||
// | ||
// Created by 전성훈 on 5/10/24. | ||
// | ||
|
||
import Foundation | ||
|
||
final class DIContainer { | ||
static let shared = DIContainer() | ||
|
||
private var dependencies: [String: AnyObject] = [:] | ||
|
||
private init() { } | ||
|
||
func register<T: AnyObject>(_ type: T.Type, dependency: T) { | ||
let key = String(describing: type) | ||
|
||
dependencies[key] = dependency | ||
} | ||
|
||
func resolve<T: AnyObject>(_ type: T.Type) -> T? { | ||
let key = String(describing: type) | ||
|
||
guard let value = dependencies[key] as? T else { | ||
printIfDebug("---- 의존성 key 값을 찾지 못했습니다 \(key) ----") | ||
|
||
return nil | ||
} | ||
|
||
return value | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// Cancellable.swift | ||
// AVIRO | ||
// | ||
// Created by 전성훈 on 7/6/24. | ||
// | ||
|
||
import Foundation | ||
|
||
protocol Cancellable { | ||
func cancel() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// printIfDebug.swift | ||
// AVIRO | ||
// | ||
// Created by 전성훈 on 5/10/24. | ||
// | ||
|
||
func printIfDebug(_ string: String) { | ||
#if DEBUG | ||
print(string) | ||
#endif | ||
} |
Oops, something went wrong.