Skip to content

Commit

Permalink
[Implement] #14 라이센스 화면 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
KakaoTocs committed Sep 23, 2021
1 parent d90d57a commit b56957c
Show file tree
Hide file tree
Showing 7 changed files with 834 additions and 0 deletions.
16 changes: 16 additions & 0 deletions BMDJ.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
65CB2A7626B1BD8E00C61E50 /* AuthRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65CB2A7526B1BD8E00C61E50 /* AuthRouter.swift */; };
65D7D29226849BDF00D69C7C /* Array.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65D7D29126849BDF00D69C7C /* Array.swift */; };
65D985322675F86C00D3F467 /* DanjiCreate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65D985312675F86C00D3F467 /* DanjiCreate.swift */; };
65DB9A6B26E3DC8500643D71 /* LicenseListViewReactor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65DB9A6A26E3DC8500643D71 /* LicenseListViewReactor.swift */; };
65DB9A6D26E3DCC700643D71 /* LicenseDetailViewReactor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65DB9A6C26E3DCC700643D71 /* LicenseDetailViewReactor.swift */; };
65E2140826E3D60C00136D18 /* LicenseListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E2140726E3D60C00136D18 /* LicenseListViewController.swift */; };
65E2140A26E3D61600136D18 /* LicenseDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65E2140926E3D61600136D18 /* LicenseDetailViewController.swift */; };
65EF92B4264839D300EB6315 /* AddMemoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65EF92B3264839D300EB6315 /* AddMemoViewController.swift */; };
65EF92B726484AC200EB6315 /* AddMemoViewReactor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65EF92B626484AC200EB6315 /* AddMemoViewReactor.swift */; };
65F3018126C99330004FAA63 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 65F3018026C99330004FAA63 /* GoogleService-Info.plist */; };
Expand Down Expand Up @@ -190,6 +194,10 @@
65CB2A7526B1BD8E00C61E50 /* AuthRouter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthRouter.swift; sourceTree = "<group>"; };
65D7D29126849BDF00D69C7C /* Array.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Array.swift; sourceTree = "<group>"; };
65D985312675F86C00D3F467 /* DanjiCreate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DanjiCreate.swift; sourceTree = "<group>"; };
65DB9A6A26E3DC8500643D71 /* LicenseListViewReactor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicenseListViewReactor.swift; sourceTree = "<group>"; };
65DB9A6C26E3DCC700643D71 /* LicenseDetailViewReactor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicenseDetailViewReactor.swift; sourceTree = "<group>"; };
65E2140726E3D60C00136D18 /* LicenseListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicenseListViewController.swift; sourceTree = "<group>"; };
65E2140926E3D61600136D18 /* LicenseDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LicenseDetailViewController.swift; sourceTree = "<group>"; };
65EF92B3264839D300EB6315 /* AddMemoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddMemoViewController.swift; sourceTree = "<group>"; };
65EF92B626484AC200EB6315 /* AddMemoViewReactor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddMemoViewReactor.swift; sourceTree = "<group>"; };
65F3018026C99330004FAA63 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -336,6 +344,8 @@
657CF7FE267F330200A4CD57 /* MemoListViewController.swift */,
65CA5536268A13940006FCDB /* LottieTestViewController.swift */,
65440B5726B6757500186E7B /* PrivacyPolicyViewController.swift */,
65E2140726E3D60C00136D18 /* LicenseListViewController.swift */,
65E2140926E3D61600136D18 /* LicenseDetailViewController.swift */,
);
path = ViewController;
sourceTree = "<group>";
Expand Down Expand Up @@ -377,6 +387,8 @@
6503613926713279006CEBC1 /* MemoViewReactor.swift */,
657CF801267F369A00A4CD57 /* MemoListViewReactor.swift */,
65440B5926B67C1100186E7B /* PrivacyPolicyReactor.swift */,
65DB9A6A26E3DC8500643D71 /* LicenseListViewReactor.swift */,
65DB9A6C26E3DCC700643D71 /* LicenseDetailViewReactor.swift */,
);
path = Reactor;
sourceTree = "<group>";
Expand Down Expand Up @@ -698,6 +710,7 @@
6586FF45264AD3B800BF4CD5 /* DanjiPlantViewController.swift in Sources */,
65C152E2265978C500418EBE /* DanjiSortTableCellReactor.swift in Sources */,
65091C4126C97775000F698A /* UserDefaultService.swift in Sources */,
65E2140826E3D60C00136D18 /* LicenseListViewController.swift in Sources */,
655DC07D267DD5B9000A44A0 /* DanjiCellDelegateProxy.swift in Sources */,
6577641626371780001947CF /* AppService.swift in Sources */,
65139D2826B31AE000E32718 /* AuthClient.swift in Sources */,
Expand All @@ -716,8 +729,10 @@
65B893FD268A3362001BB6D9 /* ServiceProvider.swift in Sources */,
658CC9F5263D440F000286D3 /* DanjiCollectionCellReactor.swift in Sources */,
65FF1E122658F44E00F65164 /* ColorCollectionCell.swift in Sources */,
65DB9A6B26E3DC8500643D71 /* LicenseListViewReactor.swift in Sources */,
6585A97E265D69CD008D6858 /* MemoRouter.swift in Sources */,
65AC5D11269DE41E008FFFB7 /* UIImage.swift in Sources */,
65DB9A6D26E3DCC700643D71 /* LicenseDetailViewReactor.swift in Sources */,
6587E2F9264E4C5D00654178 /* DanjiRouter.swift in Sources */,
65B02E8426511E9D00A61D17 /* DanjiLoginViewReactor.swift in Sources */,
651BAC23265A31090090D6A7 /* UIView.swift in Sources */,
Expand All @@ -733,6 +748,7 @@
659E542B265510AC00C6378A /* BMDJTextField.swift in Sources */,
657ED691263093C6008823BC /* Stock.swift in Sources */,
65FF1E0D2658E49D00F65164 /* BMDJMoodSwitch.swift in Sources */,
65E2140A26E3D61600136D18 /* LicenseDetailViewController.swift in Sources */,
6580837F265C09980071EED7 /* DanjiBase.swift in Sources */,
65EF92B4264839D300EB6315 /* AddMemoViewController.swift in Sources */,
659625EF262BF80700277B80 /* HomeViewReactor.swift in Sources */,
Expand Down
3 changes: 3 additions & 0 deletions BMDJ/Reactor/DanjiSettingViewReactor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ final class DanjiSettingViewReactor: Reactor {
SettingSection(model: "서비스 약관", items: [
SettingTableCellReactor(state: .init(name: "개인정보 처리방침", value: nil, isSwitch: false))
]),
SettingSection(model: "라이센스 정보", items: [
SettingTableCellReactor(state: .init(name: "라이센스 목록", value: nil, isSwitch: false))
]),
SettingSection(model: "계정", items: [
SettingTableCellReactor(state: .init(name: "서비스 탈퇴", value: nil, isSwitch: false))
])
Expand Down
24 changes: 24 additions & 0 deletions BMDJ/Reactor/LicenseDetailViewReactor.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// LicenseDetailViewReactor.swift
// BMDJ
//
// Created by 김진우 on 2021/09/05.
//

import Foundation

import ReactorKit

final class LicenseDetailViewReactor: Reactor {
typealias Action = NoAction

struct State {
let text: String
}

let initialState: State

init(text: String) {
self.initialState = .init(text: text)
}
}
Loading

0 comments on commit b56957c

Please sign in to comment.