-
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.
- Loading branch information
Showing
106 changed files
with
1,404 additions
and
691 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -78,3 +78,6 @@ Resources/InfoPlist/Info.plist | |
|
||
### Using tests | ||
Tests/**/*.plist | ||
|
||
### Changelog | ||
Changelog/next.md |
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,8 @@ | ||
## New features | ||
- Added to change theme feature. | ||
|
||
## Enhancements | ||
- Prevent adding duplecate word. | ||
|
||
## Fixed | ||
- Fixed memory leak for view controller. |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
17 changes: 17 additions & 0 deletions
17
Sources/Domain/Interfaces/UseCases/ExternalStore/ExternalStoreUseCaseError.swift
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,17 @@ | ||
// | ||
// ExternalStoreUseCaseError.swift | ||
// Domain | ||
// | ||
// Created by Jaewon Yun on 2/12/24. | ||
// Copyright © 2024 woin2ee. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public enum ExternalStoreUseCaseError: Error { | ||
|
||
case noCurrentUser | ||
|
||
case noPresentingConfiguration | ||
|
||
} |
File renamed without changes.
13 changes: 13 additions & 0 deletions
13
Sources/Domain/Interfaces/UseCases/Notification/NotificationsUseCaseError.swift
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,13 @@ | ||
// | ||
// NotificationsUseCaseError.swift | ||
// Domain | ||
// | ||
// Created by Jaewon Yun on 2/12/24. | ||
// Copyright © 2024 woin2ee. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public enum NotificationsUseCaseError: Error { | ||
case noWordsToMemorize | ||
} |
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
Sources/Domain/Interfaces/UseCases/UserSettings/UserSettingsUseCaseError.swift
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,14 @@ | ||
// | ||
// UserSettingsUseCaseError.swift | ||
// Domain | ||
// | ||
// Created by Jaewon Yun on 2/12/24. | ||
// Copyright © 2024 woin2ee. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public enum UserSettingsUseCaseError: Error { | ||
case noPendingDailyReminder | ||
case noNotificationAuthorization | ||
} |
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
41 changes: 41 additions & 0 deletions
41
Sources/Domain/Interfaces/UseCases/Word/WordUseCaseError.swift
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,41 @@ | ||
// | ||
// WordUseCaseError.swift | ||
// Domain | ||
// | ||
// Created by Jaewon Yun on 2/12/24. | ||
// Copyright © 2024 woin2ee. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public enum WordUseCaseError: Error { | ||
|
||
/// `saveFailed` 에러가 발생한 이유입니다. | ||
public enum SaveFailureReason { | ||
|
||
/// 저장하려는 단어가 이미 암기 완료 상태입니다. | ||
case wordStateInvalid | ||
|
||
/// 저장하려는 단어가 중복 단어입니다. | ||
case duplicatedWord(word: String) | ||
|
||
} | ||
|
||
/// `retrieveFailed` 에러가 발생한 이유입니다. | ||
public enum RetrieveFailureReason { | ||
|
||
/// 해당 UUID 와 일치하는 단어가 없습니다. | ||
case uuidInvaild(uuid: UUID) | ||
|
||
} | ||
|
||
/// 단어 저장 실패 | ||
case saveFailed(reason: SaveFailureReason) | ||
|
||
/// 단어 검색 실패 | ||
case retrieveFailed(reason: RetrieveFailureReason) | ||
|
||
/// 현재 암기중인 단어가 없음 | ||
case noMemorizingWords | ||
|
||
} |
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
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
Oops, something went wrong.