Skip to content

Commit

Permalink
Merge pull request #3 from eunho8713/STEP1-2
Browse files Browse the repository at this point in the history
Step1
  • Loading branch information
dddowon authored Nov 7, 2022
2 parents 58eb05a + eabfc10 commit 9419507
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OpenMarket/OpenMarket.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
C70FB10025BEF61C00C9924E /* Main.storyboard */,
C70FB10325BEF61D00C9924E /* Assets.xcassets */,
C70FB10525BEF61D00C9924E /* LaunchScreen.storyboard */,
C70FB10825BEF61D00C9924E /* Info.plist */,
);
path = View;
sourceTree = "<group>";
Expand Down Expand Up @@ -181,6 +180,7 @@
C70FB0F925BEF61C00C9924E /* OpenMarket */ = {
isa = PBXGroup;
children = (
C70FB10825BEF61D00C9924E /* Info.plist */,
325B2A672914CF14009354D3 /* Protocol */,
325B7EBA29123CA500CEAF98 /* Error */,
32687C522907B21B005799CA /* Controller */,
Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions OpenMarket/OpenMarket/Model/UrlComponents.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// UrlComponent.swift
// OpenMarket
//
// Created by 박도원 on 2022/11/03.
//

import Foundation

protocol UrlComponents {
var host: String { get }
}
13 changes: 13 additions & 0 deletions OpenMarket/OpenMarket/Protocol/API.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// API.swift
// OpenMarket
//
// Created by 박도원 on 2022/11/03.
//

import Foundation

protocol API {
func getDetailPageData(completion: @escaping (Result<DetailPage, Error>) -> Void)
func getProductData(completion: @escaping (Result<Product, Error>) -> Void)
}

0 comments on commit 9419507

Please sign in to comment.