Skip to content

Commit bdfab02

Browse files
committed
Merge branch 'release/1.7.2'
2 parents b62ccbd + 0a09842 commit bdfab02

File tree

179 files changed

+1451
-1281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+1451
-1281
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,6 @@ Tests/**/*.plist
8181

8282
### Changelog
8383
Changelog/next.md
84+
85+
### Personal Playground
86+
MyPlayground.playground

.swiftlint.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
disabled_rules:
22
- line_length
33
- identifier_name
4+
- type_name
5+
- function_body_length
46

57
trailing_whitespace:
68
severity: error
@@ -11,15 +13,7 @@ trailing_comma:
1113

1214
included:
1315
- Sources/
14-
- Tests/
15-
16-
- Project.swift
17-
18-
# Equivalent to Tuist/**/*.swift
19-
- Tuist/*.swift
20-
- Tuist/ProjectDescriptionHelpers/*.swift
21-
- Tuist/ProjectDescriptionHelpers/Extensions/*.swift
2216

2317
excluded:
24-
- Tests/InfrastructureTests/UserDefaults/UserSettingsRepositoryTests.swift.plist
25-
- Tests/InfrastructureTests/UserDefaults/WCUserDefaultsTests.swift.plist
18+
- Tests/
19+
- Tuist/

Changelog/1.7.2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## Fixed
2+
- Fixed bug with adding first word.

Project.swift

Lines changed: 56 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ func targets() -> [Target] {
2323
.external(name: ExternalDependencyName.rxUtilityDynamic),
2424
.external(name: ExternalDependencyName.swinject),
2525
.external(name: ExternalDependencyName.swinjectExtension),
26+
.external(name: ExternalDependencyName.foundationPlus),
2627
],
2728
hasTests: true,
2829
additionalTestDependencies: [
@@ -89,7 +90,6 @@ func targets() -> [Target] {
8990
dependencies: [
9091
.target(name: "Domain"),
9192
.target(name: "Utility"),
92-
.external(name: ExternalDependencyName.foundationPlus),
9393
.external(name: ExternalDependencyName.rxSwift),
9494
.external(name: ExternalDependencyName.rxCocoa),
9595
.external(name: ExternalDependencyName.rxUtilityDynamic),
@@ -100,14 +100,14 @@ func targets() -> [Target] {
100100
.external(name: ExternalDependencyName.sfSafeSymbols),
101101
.external(name: ExternalDependencyName.swinject),
102102
.external(name: ExternalDependencyName.swinjectExtension),
103+
.external(name: ExternalDependencyName.uiKitPlus),
103104
.package(product: ExternalDependencyName.swiftCollections),
104105
],
105106
appendSchemeTo: &schemes
106107
)
107108
+ Target.module(
108-
name: "WordChecking",
109-
sourcesPrefix: "IOSScenes",
110-
resourceOptions: [.additional("Resources/IOSSupport/**")],
109+
name: "IOSScene_WordChecking",
110+
resourceOptions: [.own],
111111
dependencies: [
112112
.target(name: "IOSSupport"),
113113
],
@@ -120,20 +120,18 @@ func targets() -> [Target] {
120120
appendSchemeTo: &schemes
121121
)
122122
+ Target.module(
123-
name: "WordCheckingExample",
123+
name: "IOSScene_WordCheckingExample",
124124
product: .app,
125125
infoPlist: .file(path: "Resources/InfoPlist/InfoExample.plist"),
126-
sourcesPrefix: "IOSScenes",
127126
dependencies: [
128-
.target(name: "WordChecking"),
127+
.target(name: "IOSScene_WordChecking"),
129128
.target(name: "DomainTesting"),
130129
],
131130
appendSchemeTo: &schemes
132131
)
133132
+ Target.module(
134-
name: "WordList",
135-
sourcesPrefix: "IOSScenes",
136-
resourceOptions: [.additional("Resources/IOSSupport/**")],
133+
name: "IOSScene_WordList",
134+
resourceOptions: [.own],
137135
dependencies: [
138136
.target(name: "IOSSupport"),
139137
],
@@ -146,9 +144,8 @@ func targets() -> [Target] {
146144
appendSchemeTo: &schemes
147145
)
148146
+ Target.module(
149-
name: "WordDetail",
150-
sourcesPrefix: "IOSScenes",
151-
resourceOptions: [.additional("Resources/IOSSupport/**")],
147+
name: "IOSScene_WordDetail",
148+
resourceOptions: [.own],
152149
dependencies: [
153150
.target(name: "IOSSupport"),
154151
],
@@ -161,9 +158,8 @@ func targets() -> [Target] {
161158
appendSchemeTo: &schemes
162159
)
163160
+ Target.module(
164-
name: "WordAddition",
165-
sourcesPrefix: "IOSScenes",
166-
resourceOptions: [.additional("Resources/IOSSupport/**")],
161+
name: "IOSScene_WordAddition",
162+
resourceOptions: [.own],
167163
dependencies: [
168164
.target(name: "IOSSupport"),
169165
],
@@ -176,9 +172,8 @@ func targets() -> [Target] {
176172
appendSchemeTo: &schemes
177173
)
178174
+ Target.module(
179-
name: "UserSettings",
180-
sourcesPrefix: "IOSScenes",
181-
resourceOptions: [.additional("Resources/IOSSupport/**")],
175+
name: "IOSScene_UserSettings",
176+
resourceOptions: [.own],
182177
dependencies: [
183178
.target(name: "IOSSupport"),
184179
],
@@ -192,20 +187,18 @@ func targets() -> [Target] {
192187
appendSchemeTo: &schemes
193188
)
194189
+ Target.module(
195-
name: "UserSettingsExample",
190+
name: "IOSScene_UserSettingsExample",
196191
product: .app,
197192
infoPlist: .file(path: "Resources/InfoPlist/InfoExample.plist"),
198-
sourcesPrefix: "IOSScenes",
199193
dependencies: [
200-
.target(name: "UserSettings"),
194+
.target(name: "IOSScene_UserSettings"),
201195
.target(name: "DomainTesting"),
202196
],
203197
appendSchemeTo: &schemes
204198
)
205199
+ Target.module(
206-
name: "LanguageSetting",
207-
sourcesPrefix: "IOSScenes",
208-
resourceOptions: [.additional("Resources/IOSSupport/**")],
200+
name: "IOSScene_LanguageSetting",
201+
resourceOptions: [.own],
209202
dependencies: [
210203
.target(name: "IOSSupport"),
211204
],
@@ -218,9 +211,8 @@ func targets() -> [Target] {
218211
appendSchemeTo: &schemes
219212
)
220213
+ Target.module(
221-
name: "ThemeSetting",
222-
sourcesPrefix: "IOSScenes",
223-
resourceOptions: [.additional("Resources/IOSSupport/**")],
214+
name: "IOSScene_ThemeSetting",
215+
resourceOptions: [.own],
224216
dependencies: [
225217
.target(name: "IOSSupport"),
226218
],
@@ -232,9 +224,8 @@ func targets() -> [Target] {
232224
appendSchemeTo: &schemes
233225
)
234226
+ Target.module(
235-
name: "PushNotificationSettings",
236-
sourcesPrefix: "IOSScenes",
237-
resourceOptions: [.additional("Resources/IOSSupport/**")],
227+
name: "IOSScene_PushNotificationSettings",
228+
resourceOptions: [.own],
238229
dependencies: [
239230
.target(name: "IOSSupport"),
240231
],
@@ -246,20 +237,18 @@ func targets() -> [Target] {
246237
appendSchemeTo: &schemes
247238
)
248239
+ Target.module(
249-
name: "PushNotificationSettingsExample",
240+
name: "IOSScene_PushNotificationSettingsExample",
250241
product: .app,
251242
infoPlist: .file(path: "Resources/InfoPlist/InfoExample.plist"),
252-
sourcesPrefix: "IOSScenes",
253243
dependencies: [
254-
.target(name: "PushNotificationSettings"),
244+
.target(name: "IOSScene_PushNotificationSettings"),
255245
.target(name: "DomainTesting"),
256246
],
257247
appendSchemeTo: &schemes
258248
)
259249
+ Target.module(
260-
name: "GeneralSettings",
261-
sourcesPrefix: "IOSScenes",
262-
resourceOptions: [.additional("Resources/IOSSupport/**")],
250+
name: "IOSScene_GeneralSettings",
251+
resourceOptions: [.own],
263252
dependencies: [
264253
.target(name: "IOSSupport"),
265254
],
@@ -272,18 +261,19 @@ func targets() -> [Target] {
272261
)
273262
+ Target.module(
274263
name: "IPhoneDriver",
264+
resourceOptions: [.own],
275265
dependencies: [
276266
.target(name: "IOSSupport"),
277-
.target(name: "WordChecking"),
278-
.target(name: "WordList"),
279-
.target(name: "WordAddition"),
280-
.target(name: "WordDetail"),
281-
.target(name: "UserSettings"),
282-
.target(name: "LanguageSetting"),
283-
.target(name: "PushNotificationSettings"),
284-
.target(name: "GeneralSettings"),
267+
.target(name: "IOSScene_WordChecking"),
268+
.target(name: "IOSScene_WordList"),
269+
.target(name: "IOSScene_WordAddition"),
270+
.target(name: "IOSScene_WordDetail"),
271+
.target(name: "IOSScene_UserSettings"),
272+
.target(name: "IOSScene_LanguageSetting"),
273+
.target(name: "IOSScene_PushNotificationSettings"),
274+
.target(name: "IOSScene_GeneralSettings"),
285275
.target(name: "Infrastructure"),
286-
.target(name: "ThemeSetting"),
276+
.target(name: "IOSScene_ThemeSetting"),
287277
.external(name: ExternalDependencyName.swinjectDIContainer),
288278
],
289279
appendSchemeTo: &disposedSchemes
@@ -294,8 +284,8 @@ func targets() -> [Target] {
294284
bundleId: BASIC_BUNDLE_ID,
295285
infoPlist: .file(path: "Resources/InfoPlist/Info.plist"),
296286
resourceOptions: [
287+
.own,
297288
.common,
298-
.additional("Resources/InfoPlist/Product/**"),
299289
],
300290
dependencies: [
301291
.target(name: "IPhoneDriver"),
@@ -309,15 +299,27 @@ func targets() -> [Target] {
309299
bundleId: "\(BASIC_BUNDLE_ID)Dev",
310300
infoPlist: .file(path: "Resources/InfoPlist/Info.plist"),
311301
resourceOptions: [
302+
.own,
312303
.common,
313-
.additional("Resources/InfoPlist/Dev/**"),
314304
],
315305
dependencies: [
316306
.target(name: "IPhoneDriver"),
317307
],
318308
settings: .settings(),
319309
appendSchemeTo: &schemes
320310
)
311+
+ Target.module(
312+
name: "\(PROJECT_NAME)Mac",
313+
platform: .macOS,
314+
product: .app,
315+
bundleId: "\(BASIC_BUNDLE_ID)Mac",
316+
deploymentTarget: .macOS(targetVersion: "14.0.0"),
317+
resourceOptions: [.own],
318+
entitlements: nil,
319+
dependencies: [],
320+
settings: .settings(),
321+
appendSchemeTo: &schemes
322+
)
321323
+ Target.module(
322324
name: "TestsSupport",
323325
dependencies: [
@@ -341,6 +343,9 @@ func targets() -> [Target] {
341343
.target(name: "IOSSupport"),
342344
.target(name: "Utility"),
343345
.package(product: "Realm"),
346+
.package(product: ExternalDependencyName.googleAPIClientForRESTCore),
347+
.package(product: ExternalDependencyName.googleAPIClientForREST_Drive),
348+
.package(product: ExternalDependencyName.googleSignIn),
344349
]
345350
),
346351
],
@@ -361,7 +366,9 @@ let project: Project = .init(
361366
.package(url: "https://github.com/google/google-api-objectivec-client-for-rest.git", from: "3.0.0"),
362367
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.0"),
363368
],
364-
settings: .settings(),
369+
settings: .settings(
370+
base: ["SWIFT_EMIT_LOC_STRINGS": true]
371+
),
365372
targets: targets(),
366373
schemes: schemes + [
367374
.init(
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
general = "General";
2+
haptics = "Haptics";
3+
theme = "Theme";
4+
5+
hapticsSettingsFooterTextWhenHapticsIsOn = "Enable haptics for interactions.";
6+
hapticsSettingsFooterTextWhenHapticsIsOff = "Disable haptics for interactions.";
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
general = "일반";
2+
haptics = "진동";
3+
theme = "테마";
4+
5+
hapticsSettingsFooterTextWhenHapticsIsOn = "상호 작용에 대한 진동을 사용합니다.";
6+
hapticsSettingsFooterTextWhenHapticsIsOff = "상호 작용에 대한 진동을 사용하지 않습니다.";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source_language = "Source language";
2+
translation_language = "Translation language";
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
source_language = "원본 언어";
2+
translation_language = "번역 언어";
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
daily_reminder = "Daily Reminder";
2+
notifications = "Notifications";
3+
notice = "Notice";
4+
time = "Time";
5+
6+
allow_notifications_is_required = "Allow notifications is required.";
7+
dailyReminderFooter = "Sends a daily push notification at the time you set.";
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
daily_reminder = "매일 알림";
2+
notifications = "알림";
3+
notice = "알림";
4+
time = "시간";
5+
6+
allow_notifications_is_required = "알림 허용이 필요합니다.";
7+
dailyReminderFooter = "설정한 시각에 매일 푸시 알림을 보냅니다.";
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
theme = "Theme";
2+
system_mode = "System mode";
3+
light_mode = "Light mode";
4+
dark_mode = "Dark mode";
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
theme = "테마";
2+
system_mode = "시스템 설정 모드";
3+
light_mode = "라이트 모드";
4+
dark_mode = "다크 모드";
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source_language = "Source language";
2+
translation_language = "Translation language";
3+
notifications = "Notifications";
4+
general = "General";
5+
settings = "Settings";
6+
notice = "Notice";
7+
8+
google_drive_upload = "Upload data to Google Drive";
9+
google_drive_upload_successfully = "Successfully uploading to Google Drive";
10+
11+
google_drive_download = "Download data from Google Drive";
12+
google_drive_download_successfully = "Successfully downloading from Google Drive";
13+
14+
google_drive_logout = "Google Drive Logout";
15+
signed_out_of_google_drive_successfully = "Signed out of Google Drive successfully";
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source_language = "원본 언어";
2+
translation_language = "번역 언어";
3+
notifications = "알림";
4+
general = "일반";
5+
settings = "설정";
6+
notice = "알림";
7+
8+
google_drive_upload = "구글 드라이브에 데이터 업로드";
9+
google_drive_upload_successfully = "구글 드라이브에 업로드 성공";
10+
11+
google_drive_download = "구글 드라이브에서 데이터 다운로드";
12+
google_drive_download_successfully = "구글 드라이브에서 다운로드 성공";
13+
14+
google_drive_logout = "구글 드라이브 로그아웃";
15+
signed_out_of_google_drive_successfully = "구글 드라이브에서 로그아웃되었습니다.";
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
word = "Word";
2+
duplicate_word = "Duplicate word.";
3+
newWord = "New word";
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
word = "단어";
2+
duplicate_word = "중복 단어입니다.";
3+
newWord = "새로운 단어";

0 commit comments

Comments
 (0)