Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1620"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CBC60E402E5CA1900044CA41"
BuildableName = "ByeBooTests.xctest"
BlueprintName = "ByeBooTests"
ReferencedContainer = "container:ByeBoo-iOS.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
6 changes: 6 additions & 0 deletions ByeBoo-iOS/ByeBoo-iOS/Core/ByeBooError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ enum ByeBooError: Error, LocalizedError, Equatable {
case appleLoginError
case endTimer
case configError
case fileNotFound
case nicknameViolation

var errorDescription: String? {
switch self {
Expand Down Expand Up @@ -62,6 +64,10 @@ enum ByeBooError: Error, LocalizedError, Equatable {
return nil
case .configError:
return "info에서 값을 찾을 수 없음"
case .fileNotFound:
return "파일을 찾을 수 없음"
case .nicknameViolation:
return nil
}
}
}
8 changes: 2 additions & 6 deletions ByeBoo-iOS/ByeBoo-iOS/Data/DataDependencyAssembler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,8 @@ struct DataDependencyAssembler: DependencyAssembler {
)
}

DIContainer.shared.register(type: DefaultNotificationRepository.self) { _ in
return DefaultNotificationRepository(
network: networkService,
userDefaultsService: userDefaultService,
keychainService: keychainService
)
DIContainer.shared.register(type: ForbiddenWordInterface.self) { _ in
return DefaultForbiddenWordRepository()
}
}
}
Expand Down
Loading
Loading