Skip to content

Commit

Permalink
[feat] MyPageItem enum 추가 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
BAEKYUJEONG committed Aug 29, 2024
1 parent 6c47ee9 commit bb6db6e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PLUV.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
68DB037D2C7CF3DF00FBD014 /* ValidationNotFoundViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DB037C2C7CF3DF00FBD014 /* ValidationNotFoundViewController.swift */; };
68DB03812C80F18E00FBD014 /* TabBarViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DB03802C80F18D00FBD014 /* TabBarViewController.swift */; };
68DB03832C80F1AB00FBD014 /* MyPageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DB03822C80F1AA00FBD014 /* MyPageViewController.swift */; };
68DB038A2C81170D00FBD014 /* MyPageItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DB03892C81170D00FBD014 /* MyPageItem.swift */; };
68DC4C732C6B6DE5006D8E97 /* SelectPlaylistViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DC4C722C6B6DE5006D8E97 /* SelectPlaylistViewController.swift */; };
68DC4C772C6B6E9E006D8E97 /* SelectPlaylistCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DC4C762C6B6E9E006D8E97 /* SelectPlaylistCollectionViewCell.swift */; };
68DC4C792C6B6F48006D8E97 /* UIViewController+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68DC4C782C6B6F48006D8E97 /* UIViewController+Extension.swift */; };
Expand Down Expand Up @@ -131,6 +132,7 @@
68DB037C2C7CF3DF00FBD014 /* ValidationNotFoundViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ValidationNotFoundViewController.swift; sourceTree = "<group>"; };
68DB03802C80F18D00FBD014 /* TabBarViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabBarViewController.swift; sourceTree = "<group>"; };
68DB03822C80F1AA00FBD014 /* MyPageViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageViewController.swift; sourceTree = "<group>"; };
68DB03892C81170D00FBD014 /* MyPageItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyPageItem.swift; sourceTree = "<group>"; };
68DC4C722C6B6DE5006D8E97 /* SelectPlaylistViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectPlaylistViewController.swift; sourceTree = "<group>"; };
68DC4C762C6B6E9E006D8E97 /* SelectPlaylistCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectPlaylistCollectionViewCell.swift; sourceTree = "<group>"; };
68DC4C782C6B6F48006D8E97 /* UIViewController+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIViewController+Extension.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -283,6 +285,7 @@
children = (
68F6FCF92C5A4107001128FF /* MusicPlatform.swift */,
68F6FD002C5BAB3B001128FF /* LoadingState.swift */,
68DB03892C81170D00FBD014 /* MyPageItem.swift */,
);
path = State;
sourceTree = "<group>";
Expand Down Expand Up @@ -732,6 +735,7 @@
68DB037D2C7CF3DF00FBD014 /* ValidationNotFoundViewController.swift in Sources */,
6889F5352C724B58001F5FC2 /* ProgressShapeLayer.swift in Sources */,
6889F51C2C6D4A91001F5FC2 /* APIResponse.swift in Sources */,
68DB038A2C81170D00FBD014 /* MyPageItem.swift in Sources */,
68DC8A9B2C3C535300A03042 /* HomeViewController.swift in Sources */,
6889F5212C6E6E78001F5FC2 /* LoginViewController.swift in Sources */,
6889F5252C6E9A4F001F5FC2 /* MusicKitManager.swift in Sources */,
Expand Down
28 changes: 28 additions & 0 deletions PLUV/Platform/State/MyPageItem.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// MyPageItem.swift
// PLUV
//
// Created by 백유정 on 8/30/24.
//

import Foundation

enum MyPageItem: Int, CaseIterable {
case Inquiry
case TermsOfService
case PrivacyPolicy
case LogOut

var text: String {
switch self {
case .Inquiry:
"1:1 문의"
case .TermsOfService:
"서비스 이용 약관"
case .PrivacyPolicy:
"개인정보처리방침"
case .LogOut:
"로그아웃"
}
}
}

0 comments on commit bb6db6e

Please sign in to comment.