Skip to content

Commit 58d1143

Browse files
authored
Merge branch 'main' into develop
2 parents 9f5d97a + 703f0e1 commit 58d1143

File tree

6 files changed

+80
-9
lines changed

6 files changed

+80
-9
lines changed

Projects/CoreKit/Sources/Data/Network/Remind/RemindClient.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ public struct RemindClient {
2121
async throws -> UnreadCountResponse
2222
public var 즐겨찾기_컨텐츠_개수_조회: @Sendable ()
2323
async throws -> BookmarkCountResponse
24-
2524
}

Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailFeature.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,13 @@ private extension CategoryDetailFeature {
265265
state.isPokitDeleteSheetPresented = false
266266
state.kebobSelectedType = nil
267267
return .none
268-
269268
case .pagenation_API_반영(let contentList):
270269
let list = state.domain.contentList.data ?? []
271270
guard let newList = contentList.data else { return .none }
272271

273272
state.domain.contentList = contentList
274273
state.domain.contentList.data = list + newList
275274
newList.forEach { state.contents.append(.init(content: $0)) }
276-
277275
return .none
278276

279277
case .pagenation_초기화:
@@ -310,7 +308,6 @@ private extension CategoryDetailFeature {
310308
let contentList = try await contentClient.카테고리_내_컨텐츠_목록_조회(
311309
"\(id)", request, conditionRequest
312310
).toDomain()
313-
314311
pageable.page == 0
315312
? await send(.inner(.카테고리_내_컨텐츠_목록_조회_API_반영(contentList)), animation: .pokitDissolve)
316313
: await send(.inner(.pagenation_API_반영(contentList)))

Projects/Feature/FeatureContentList/Sources/ContentList/ContentListFeature.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public struct ContentListFeature {
3737
var contentCount: Int {
3838
get { domain.contentCount }
3939
}
40+
var contentCount: Int {
41+
get { domain.contentCount }
42+
}
4043
var isListDescending = true
4144
/// sheet item
4245
var bottomSheetItem: BaseContentItem? = nil
@@ -236,6 +239,9 @@ private extension ContentListFeature {
236239
case let .컨텐츠_개수_업데이트(count):
237240
state.domain.contentCount = count
238241
return .none
242+
case let .컨텐츠_개수_갱신(count):
243+
state.domain.contentCount = count
244+
return .none
239245
}
240246
}
241247

Projects/Feature/FeaturePokit/Sources/PokitRootFeature.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ private extension PokitRootFeature {
410410
animation: .pokitSpring
411411
)
412412
}
413-
414413
case .카테고리_페이징_재조회_API:
415414
return .run { [pageable = state.domain.pageable] send in
416415
let stream = AsyncThrowingStream<BaseCategoryListInquiry, Error> { continuation in
@@ -520,7 +519,6 @@ private extension PokitRootFeature {
520519
/// 🚨 Error Case [1]: 항목을 삭제하려는데 항목이 없을 때
521520
return .none
522521
}
523-
524522
return .send(.async(.미분류_카테고리_컨텐츠_삭제_API(contentId: selectedItem.id)), animation: .pokitSpring)
525523

526524
case .folder(.포킷):

Projects/Feature/FeatureSetting/Sources/Search/PokitSearchFeature.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ private extension PokitSearchFeature {
343343
case .링크_공유_완료되었을때:
344344
state.shareSheetItem = nil
345345
return .none
346-
347346
case .로딩중일때:
348347
return .send(.async(.컨텐츠_검색_페이징_API))
349348
}
@@ -360,7 +359,6 @@ private extension PokitSearchFeature {
360359
state.domain.contentList.data = []
361360
}
362361
return .none
363-
364362
case let .기간_업데이트(startDate, endDate):
365363
let formatter = DateFormat.dateFilter.formatter
366364

@@ -529,7 +527,7 @@ private extension PokitSearchFeature {
529527
pageableRequest,
530528
conditionRequest
531529
).toDomain()
532-
530+
533531
await send(.inner(.컨텐츠_검색_페이징_API_반영(contentList)))
534532
}
535533

README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,76 @@
11
# Pokit
2+
<img src="https://github.com/user-attachments/assets/d51d0c67-0f0b-4ce3-8c73-74992a6b9f0e" alt="6">
23

4+
<a href="https://apps.apple.com/kr/app/pokit-%ED%8F%AC%ED%82%B7-%EA%B0%84%ED%8E%B8-%EB%A7%81%ED%81%AC-%EC%95%84%EC%B9%B4%EC%9D%B4%EB%B9%99-%EC%95%B1/id6514313808" target="_blank"> <img src="https://github.com/user-attachments/assets/cfb6c288-7b66-4488-98c7-df07de27e8a5" alt="Download_on_the_App_Store_Badge" width="150"></a> <a href="https://play.google.com/store/apps/details?id=pokitmons.pokit" target="_blank"><img src="https://github.com/user-attachments/assets/76d30e5f-7a9c-4fd3-80fc-6e19395bd20a" alt="Google_Play_Store_badge_EN" width="150"></a><br>
35

6+
## Feature
7+
<img src="https://github.com/user-attachments/assets/5902a53b-0a69-4866-961c-c9e1c83316e2" alt="b5">
8+
9+
## 아키텍쳐
10+
11+
<img src="https://github.com/user-attachments/assets/452c4a60-f558-46f6-a067-5b210d076762" width=800>
12+
<img src="https://github.com/user-attachments/assets/36ea9d35-3773-4d63-8477-2645c641dcf6" width=800>
13+
14+
## Dependencies
15+
<table style="text-align: center;">
16+
<thead>
17+
<tr>
18+
<th>Used</th>
19+
<th>Dependency</th>
20+
<th>Version</th>
21+
</tr>
22+
</thead>
23+
<tbody>
24+
<tr>
25+
<td>Architecture</td>
26+
<td>TCA</td>
27+
<td>1.11.0</td>
28+
</tr>
29+
<tr>
30+
<td>Architecture</td>
31+
<td>Tuist (Modular Architecture)</td>
32+
<td>4.15.0</td>
33+
</tr>
34+
<tr>
35+
<td>Network</td>
36+
<td>Moya</td>
37+
<td>15.0.0</td>
38+
</tr>
39+
<tr>
40+
<td>UI</td>
41+
<td>Nuke</td>
42+
<td>12.8.0</td>
43+
</tr>
44+
<tr>
45+
<td>Feat</td>
46+
<td>FCM</td>
47+
<td>10.28.0</td>
48+
</tr>
49+
<tr>
50+
<td>Feat</td>
51+
<td>KakaoSDK</td>
52+
<td>2.22.5</td>
53+
</tr>
54+
<tr>
55+
<td>CI/CD</td>
56+
<td>Fastlane</td>
57+
<td>2.222.0</td>
58+
</tr>
59+
<tr>
60+
<td>CI/CD</td>
61+
<td>GitHub Action</td>
62+
<td>-</td>
63+
</tr>
64+
</tbody>
65+
</table>
66+
<br>
67+
68+
## 💻 앱 개발 및 배포환경
69+
- Xcode 15.0
70+
- SwiftUI, iOS 16.0
71+
<br>
72+
73+
## ✨ Contributors
74+
|<img src="https://avatars.githubusercontent.com/u/66459715?v=4" width=180>|<img src="https://avatars.githubusercontent.com/ShapeKim98" width=180>|
75+
|:-:|:-:|
76+
|[@stealmh](https://github.com/stealmh)|[@ShapeKim98](https://github.com/ShapeKim98)|

0 commit comments

Comments
 (0)