-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
0 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
Binary file modified
BIN
+5.84 KB
(130%)
DalTube/DalTube.xcworkspace/xcuserdata/guest1.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
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 @@ | ||
// This file was generated from JSON Schema using quicktype, do not modify it directly. | ||
// To parse the JSON, add this file to your project and do: | ||
// | ||
// let welcome = try? newJSONDecoder().decode(Welcome.self, from: jsonData) | ||
|
||
import Foundation | ||
|
||
// MARK: - LoginResponseData | ||
struct LoginResponseData: Codable { | ||
let status: Int | ||
let success: Bool | ||
let message: String | ||
let data: LoginResultData? | ||
} | ||
|
||
// MARK: - LoginResultData | ||
struct LoginResultData: Codable { | ||
let id: Int | ||
let name, email: 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,16 @@ | ||
// | ||
// NetworkResult.swift | ||
// DalTube | ||
// | ||
// Created by 김선오 on 2021/12/24. | ||
// | ||
|
||
import Foundation | ||
|
||
enum NetworkResult <T> { | ||
case success(T) | ||
case requestErr(T) | ||
case pathErr | ||
case serverErr | ||
case networkFail | ||
} |