Skip to content

Commit abc40f1

Browse files
committed
백업용
1 parent 3f1e746 commit abc40f1

File tree

5 files changed

+31
-2
lines changed

5 files changed

+31
-2
lines changed

EatTogether.xcodeproj/project.pbxproj

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
7441027924EC0E3500E37345 /* Spoqa Han Sans Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7441027524EC0E3500E37345 /* Spoqa Han Sans Light.ttf */; };
2222
7441027A24EC0E3500E37345 /* Spoqa Han Sans Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7441027624EC0E3500E37345 /* Spoqa Han Sans Regular.ttf */; };
2323
7441027E24EC14C400E37345 /* UIKitExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7441027D24EC14C400E37345 /* UIKitExtension.swift */; };
24+
74B9FF90250075D2000EB563 /* EndPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74B9FF8F250075D2000EB563 /* EndPoint.swift */; };
2425
74E2C24924EF9A5E0075698A /* CellType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74E2C24824EF9A5E0075698A /* CellType.swift */; };
2526
9AA523050709504396464587 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9AA520F999729A2486311C3F /* LaunchScreen.storyboard */; };
2627
9AA5231A53FC286C8CD18870 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AA524846836AFCE5CE9C3D7 /* AppDelegate.swift */; };
@@ -46,6 +47,7 @@
4647
7441027524EC0E3500E37345 /* Spoqa Han Sans Light.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Spoqa Han Sans Light.ttf"; sourceTree = "<group>"; };
4748
7441027624EC0E3500E37345 /* Spoqa Han Sans Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Spoqa Han Sans Regular.ttf"; sourceTree = "<group>"; };
4849
7441027D24EC14C400E37345 /* UIKitExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIKitExtension.swift; sourceTree = "<group>"; };
50+
74B9FF8F250075D2000EB563 /* EndPoint.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EndPoint.swift; sourceTree = "<group>"; };
4951
74E2C24824EF9A5E0075698A /* CellType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CellType.swift; sourceTree = "<group>"; };
5052
9AA5200A29F1C88873745283 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
5153
9AA5226D72684DA881EA5437 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
@@ -127,6 +129,7 @@
127129
isa = PBXGroup;
128130
children = (
129131
743A894824EE92A500D005D1 /* ApiService.swift */,
132+
74B9FF8F250075D2000EB563 /* EndPoint.swift */,
130133
);
131134
path = Network;
132135
sourceTree = "<group>";
@@ -329,6 +332,7 @@
329332
isa = PBXSourcesBuildPhase;
330333
buildActionMask = 2147483647;
331334
files = (
335+
74B9FF90250075D2000EB563 /* EndPoint.swift in Sources */,
332336
743A893F24ED488D00D005D1 /* SplashDataController.swift in Sources */,
333337
743A894624EE8CA900D005D1 /* SelectFood.swift in Sources */,
334338
743A892E24ECF5AA00D005D1 /* SplashIntroViewController.swift in Sources */,

EatTogether/Data/Network/ApiService.swift

+4
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ import Foundation
1010
import Alamofire
1111

1212
class ApiService {
13+
public static let shared = ApiService()
1314

15+
// func request() {
16+
// AF.request(met)
17+
// }
1418
}
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// EndPoint.swift
3+
// EatTogether
4+
//
5+
// Created by 박진수 on 2020/09/03.
6+
// Copyright © 2020 FourMan. All rights reserved.
7+
//
8+
9+
import Foundation
10+
import Alamofire
11+
12+
protocol EndPointType {
13+
var baseURL: String { get }
14+
var url: URL { get }
15+
var httpMethod: HTTPMethod { get }
16+
var header: [String:String]? { get }
17+
var paramEncoding: ParameterEncoding { get }
18+
}
19+
20+
enum EndPoint {
21+
22+
}

EatTogether/Presentation/Splash/SplashDataController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class SplashDataController {
1212
private let apiService = ApiService()
1313

1414
func getFoodList() -> [SelectFood] {
15-
return [
15+
[
1616
SelectFood(imageName: "KoreanFood", foodName: "한식"),
1717
SelectFood(imageName: "JapaneseFood", foodName: "돈까스·회·일식"),
1818
SelectFood(imageName: "WesternFood", foodName: "양식"),

EatTogether/Presentation/Splash/SplashRootViewController.swift

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class SplashRootViewController: UIViewController {
5151
}
5252
transitionPageIndex = currentPageIndex.next
5353
pageDirection = .forward
54-
5554
case backButton:
5655
transitionPageIndex = currentPageIndex.previous
5756
pageDirection = .reverse

0 commit comments

Comments
 (0)