Skip to content

Commit

Permalink
Merge pull request #37 from NOW-SOPT-APP7-GS-HOMETOWN/feature/#30
Browse files Browse the repository at this point in the history
[Feat] APIProvider 구현
  • Loading branch information
sozohoy authored May 23, 2024
2 parents 42fa3c3 + 1b8bff2 commit 1a26974
Show file tree
Hide file tree
Showing 21 changed files with 230 additions and 223 deletions.
Binary file removed .DS_Store
Binary file not shown.
Binary file removed GsHometown-iOS/.DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions GsHometown-iOS/GsHometown-iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@
AF4889142BF61AB6007F9C11 /* EventOfTheMonth.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF4889132BF61AB6007F9C11 /* EventOfTheMonth.swift */; };
AF4889172BF61AD5007F9C11 /* EventReusableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF4889162BF61AD5007F9C11 /* EventReusableView.swift */; };
AF4889192BF61B15007F9C11 /* NotificationName+.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF4889182BF61B15007F9C11 /* NotificationName+.swift */; };
AF7AC2722BFC6BA600E39CAC /* APIProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF7AC2712BFC6BA600E39CAC /* APIProvider.swift */; };
AF99AFE22BF7471A004CC4D1 /* GSNavigationBar.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF99AFE12BF7471A004CC4D1 /* GSNavigationBar.swift */; };
AF99AFE52BF75A38004CC4D1 /* GSTabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF99AFE42BF75A38004CC4D1 /* GSTabBarController.swift */; };
AF99AFE92BF75CEA004CC4D1 /* GSTabBarType.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF99AFE82BF75CEA004CC4D1 /* GSTabBarType.swift */; };
AF99AFEC2BF76EDE004CC4D1 /* HomeViewController+.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF99AFEB2BF76EDE004CC4D1 /* HomeViewController+.swift */; };
AFA52C682BFD79AB00E69AB9 /* BannerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFA52C672BFD79AB00E69AB9 /* BannerView.swift */; };
AFA52C652BFCE45D00E69AB9 /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = AFA52C642BFCE45D00E69AB9 /* Kingfisher */; };
AFB7D1642BF6720400A2DBE9 /* ServiceReusableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFB7D1632BF6720400A2DBE9 /* ServiceReusableView.swift */; };
AFC8AC042BEF440B005EAE74 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFC8AC032BEF440B005EAE74 /* AppDelegate.swift */; };
AFC8AC062BEF440B005EAE74 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = AFC8AC052BEF440B005EAE74 /* SceneDelegate.swift */; };
Expand Down Expand Up @@ -155,6 +157,7 @@
AF4889132BF61AB6007F9C11 /* EventOfTheMonth.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventOfTheMonth.swift; sourceTree = "<group>"; };
AF4889162BF61AD5007F9C11 /* EventReusableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventReusableView.swift; sourceTree = "<group>"; };
AF4889182BF61B15007F9C11 /* NotificationName+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NotificationName+.swift"; sourceTree = "<group>"; };
AF7AC2712BFC6BA600E39CAC /* APIProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIProvider.swift; sourceTree = "<group>"; };
AF99AFE12BF7471A004CC4D1 /* GSNavigationBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GSNavigationBar.swift; sourceTree = "<group>"; };
AF99AFE42BF75A38004CC4D1 /* GSTabBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GSTabBarController.swift; sourceTree = "<group>"; };
AF99AFE82BF75CEA004CC4D1 /* GSTabBarType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GSTabBarType.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -217,6 +220,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
AFA52C652BFCE45D00E69AB9 /* Kingfisher in Frameworks */,
AFC8ACA82BF215BB005EAE74 /* LookinServer in Frameworks */,
AFC8AC7F2BF10517005EAE74 /* SnapKit in Frameworks */,
AFC8AC792BF104FD005EAE74 /* Moya in Frameworks */,
Expand Down Expand Up @@ -427,6 +431,7 @@
AFC8AC752BF104C4005EAE74 /* GsPlugin.swift */,
AFC8AC822BF10542005EAE74 /* NetworkResult.swift */,
AFC8AC842BF1055F005EAE74 /* Config.swift */,
AF7AC2712BFC6BA600E39CAC /* APIProvider.swift */,
);
path = Network;
sourceTree = "<group>";
Expand Down Expand Up @@ -684,6 +689,7 @@
AFC8AC7E2BF10517005EAE74 /* SnapKit */,
AFC8AC802BF10517005EAE74 /* SnapKit-Dynamic */,
AFC8ACA72BF215BB005EAE74 /* LookinServer */,
AFA52C642BFCE45D00E69AB9 /* Kingfisher */,
);
productName = "GsHometown-iOS";
productReference = AFC8AC002BEF440B005EAE74 /* GsHometown-iOS.app */;
Expand Down Expand Up @@ -718,6 +724,7 @@
AFC8AC7A2BF1050C005EAE74 /* XCRemoteSwiftPackageReference "Then" */,
AFC8AC7D2BF10517005EAE74 /* XCRemoteSwiftPackageReference "SnapKit" */,
AFC8ACA62BF215BB005EAE74 /* XCRemoteSwiftPackageReference "LookinServer" */,
AFA52C632BFCE45D00E69AB9 /* XCRemoteSwiftPackageReference "Kingfisher" */,
);
productRefGroup = AFC8AC012BEF440B005EAE74 /* Products */;
projectDirPath = "";
Expand Down Expand Up @@ -833,6 +840,7 @@
AFC8AC992BF1F4BB005EAE74 /* HomeSectionType.swift in Sources */,
DC7A4C152BFAEFB00081EB84 /* DetailTabBarView.swift in Sources */,
AFC8ACAA2BF21B50005EAE74 /* ConvenienceCell.swift in Sources */,
AF7AC2722BFC6BA600E39CAC /* APIProvider.swift in Sources */,
AFC8AC302BF0FD08005EAE74 /* APITarget.swift in Sources */,
AF99AFEC2BF76EDE004CC4D1 /* HomeViewController+.swift in Sources */,
AFC8ACB92BF26E39005EAE74 /* ServiceType.swift in Sources */,
Expand Down Expand Up @@ -1058,6 +1066,14 @@
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
AFA52C632BFCE45D00E69AB9 /* XCRemoteSwiftPackageReference "Kingfisher" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/onevcat/Kingfisher.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 7.11.0;
};
};
AFC8AC772BF104FD005EAE74 /* XCRemoteSwiftPackageReference "Moya" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/Moya/Moya";
Expand Down Expand Up @@ -1093,6 +1109,11 @@
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
AFA52C642BFCE45D00E69AB9 /* Kingfisher */ = {
isa = XCSwiftPackageProductDependency;
package = AFA52C632BFCE45D00E69AB9 /* XCRemoteSwiftPackageReference "Kingfisher" */;
productName = Kingfisher;
};
AFC8AC782BF104FD005EAE74 /* Moya */ = {
isa = XCSwiftPackageProductDependency;
package = AFC8AC772BF104FD005EAE74 /* XCRemoteSwiftPackageReference "Moya" */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "5654fe6784d48549eed18311e960895930d95da8bea2e335e8dc4e7c42aa6bd2",
"pins" : [
{
"identity" : "alamofire",
Expand All @@ -9,6 +10,15 @@
"version" : "5.9.1"
}
},
{
"identity" : "kingfisher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/onevcat/Kingfisher.git",
"state" : {
"revision" : "5b92f029fab2cce44386d28588098b5be0824ef5",
"version" : "7.11.0"
}
},
{
"identity" : "lookinserver",
"kind" : "remoteSourceControl",
Expand Down
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file removed GsHometown-iOS/GsHometown-iOS/.DS_Store
Binary file not shown.
21 changes: 1 addition & 20 deletions GsHometown-iOS/GsHometown-iOS/Model/EventOfTheMonth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,6 @@ import UIKit

struct EventOfTheMonth {
let id: Int
let item: UIImage
let item: String
}

extension EventOfTheMonth {
static let mockData: [EventOfTheMonth] = [
EventOfTheMonth(id: 1, item: GSImage.mockEvent1!),
EventOfTheMonth(id: 2, item: GSImage.mockEvent2!),
EventOfTheMonth(id: 3, item: GSImage.mockEvent3!),
EventOfTheMonth(id: 1, item: GSImage.mockEvent1!),
EventOfTheMonth(id: 2, item: GSImage.mockEvent2!),
EventOfTheMonth(id: 3, item: GSImage.mockEvent3!),
EventOfTheMonth(id: 1, item: GSImage.mockEvent1!),
EventOfTheMonth(id: 2, item: GSImage.mockEvent2!),
EventOfTheMonth(id: 3, item: GSImage.mockEvent3!)
]

static let addedMockData: [EventOfTheMonth] = [
EventOfTheMonth(id: 1, item: GSImage.mockEvent1!),
EventOfTheMonth(id: 2, item: GSImage.mockEvent2!),
EventOfTheMonth(id: 3, item: GSImage.mockEvent3!)
]
}
Binary file removed GsHometown-iOS/GsHometown-iOS/Network/.DS_Store
Binary file not shown.
Loading

0 comments on commit 1a26974

Please sign in to comment.