-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Network [#43] point 네트워크 구현, 토스트 메세지
- Loading branch information
Showing
22 changed files
with
477 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
HMH_iOS/HMH_iOS/Assets.xcassets/toast.colorset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "srgb", | ||
"components" : { | ||
"alpha" : "0.750", | ||
"blue" : "0x48", | ||
"green" : "0x39", | ||
"red" : "0x36" | ||
} | ||
}, | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
HMH_iOS/HMH_iOS/Network/DTO/Point/EarnPointResponseDTO.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// EarnPointResponseDTO.swift | ||
// HMH_iOS | ||
// | ||
// Created by Seonwoo Kim on 5/30/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct EarnPointResponseDTO: Codable { | ||
let point: Int | ||
} |
19 changes: 19 additions & 0 deletions
19
HMH_iOS/HMH_iOS/Network/DTO/Point/PointListResponseDTO.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// PointListResponseDTO.swift | ||
// HMH_iOS | ||
// | ||
// Created by Seonwoo Kim on 5/30/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct PointListResponseDTO: Codable { | ||
let point: Int | ||
let period: Int | ||
let challengePointStatuses: [PointList] | ||
} | ||
|
||
struct PointList: Codable { | ||
let challengeDate: String | ||
let status: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// EarnPointRequestDTO.swift | ||
// HMH_iOS | ||
// | ||
// Created by Seonwoo Kim on 5/30/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct PointRequestDTO: Codable { | ||
let challengeDate: String | ||
} |
12 changes: 12 additions & 0 deletions
12
HMH_iOS/HMH_iOS/Network/DTO/Point/UsagePointResponseDTO.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// UsagePointDTO.swift | ||
// HMH_iOS | ||
// | ||
// Created by Seonwoo Kim on 5/30/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct UsagePointResponseDTO: Codable { | ||
let point: Int | ||
} |
12 changes: 12 additions & 0 deletions
12
HMH_iOS/HMH_iOS/Network/DTO/Point/UsePointResponseDTO.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// | ||
// UsePointResponseDTO.swift | ||
// HMH_iOS | ||
// | ||
// Created by Seonwoo Kim on 5/30/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct UsePointResponseDTO: Codable { | ||
let challengeDate: String | ||
} |
13 changes: 13 additions & 0 deletions
13
HMH_iOS/HMH_iOS/Network/DTO/Point/UserPointResponseDTO.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// UserPointResponseDTO.swift | ||
// HMH_iOS | ||
// | ||
// Created by Seonwoo Kim on 5/30/24. | ||
// | ||
|
||
import Foundation | ||
|
||
struct UserPointResponseDTO: Codable { | ||
let point: Int | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.