Skip to content

Commit

Permalink
[style] 몇몇 cell파일 수정.
Browse files Browse the repository at this point in the history
  • Loading branch information
jinwoong16 committed Nov 15, 2022
1 parent 7bdf130 commit 905fcbb
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 9 deletions.
44 changes: 38 additions & 6 deletions DailyQuest/DailyQuest.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
34ACC366291DEF6100741371 /* FirebaseStorage in Frameworks */ = {isa = PBXBuildFile; productRef = 34ACC365291DEF6100741371 /* FirebaseStorage */; };
34ACC36C291DF0DD00741371 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 34ACC36B291DF0DD00741371 /* GoogleService-Info.plist */; };
9B1CFB392922AFC700CCE97A /* QuestView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B1CFB362922763E00CCE97A /* QuestView.swift */; };
9B1CFB3B2922BBDA00CCE97A /* QuestCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B1CFB342922460100CCE97A /* QuestCell.swift */; };
9B1CFB3B2922BBDA00CCE97A /* BrowseCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B1CFB342922460100CCE97A /* BrowseCell.swift */; };
B50078D629222F3F0070AFC4 /* CircleCheckView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B50078D529222F3F0070AFC4 /* CircleCheckView.swift */; };
B58DFC0A29227DA800C68A4B /* CalendarCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = B58DFC0929227DA800C68A4B /* CalendarCell.swift */; };
/* End PBXBuildFile section */
Expand Down Expand Up @@ -69,7 +69,7 @@
34ACC34D291DE9C100741371 /* DailyQuestUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyQuestUITests.swift; sourceTree = "<group>"; };
34ACC34F291DE9C100741371 /* DailyQuestUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DailyQuestUITestsLaunchTests.swift; sourceTree = "<group>"; };
34ACC36B291DF0DD00741371 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
9B1CFB342922460100CCE97A /* QuestCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuestCell.swift; sourceTree = "<group>"; };
9B1CFB342922460100CCE97A /* BrowseCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BrowseCell.swift; sourceTree = "<group>"; };
9B1CFB362922763E00CCE97A /* QuestView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QuestView.swift; sourceTree = "<group>"; };
B50078D529222F3F0070AFC4 /* CircleCheckView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CircleCheckView.swift; sourceTree = "<group>"; };
B58DFC0929227DA800C68A4B /* CalendarCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalendarCell.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -120,11 +120,9 @@
3449AD5E292219D600B87619 /* Common */ = {
isa = PBXGroup;
children = (
9B1CFB342922460100CCE97A /* QuestCell.swift */,
3499551C292332DE007AB99E /* Cells */,
9B1CFB362922763E00CCE97A /* QuestView.swift */,
B50078D529222F3F0070AFC4 /* CircleCheckView.swift */,
B58DFC0929227DA800C68A4B /* CalendarCell.swift */,
3449AD5F29222B3900B87619 /* UserInfoCell.swift */,
);
path = Common;
sourceTree = "<group>";
Expand Down Expand Up @@ -167,6 +165,37 @@
path = Repositories;
sourceTree = "<group>";
};
34995519292332A9007AB99E /* Home */ = {
isa = PBXGroup;
children = (
);
path = Home;
sourceTree = "<group>";
};
3499551A292332B2007AB99E /* Browse */ = {
isa = PBXGroup;
children = (
);
path = Browse;
sourceTree = "<group>";
};
3499551B292332B8007AB99E /* Settings */ = {
isa = PBXGroup;
children = (
);
path = Settings;
sourceTree = "<group>";
};
3499551C292332DE007AB99E /* Cells */ = {
isa = PBXGroup;
children = (
9B1CFB342922460100CCE97A /* BrowseCell.swift */,
B58DFC0929227DA800C68A4B /* CalendarCell.swift */,
3449AD5F29222B3900B87619 /* UserInfoCell.swift */,
);
path = Cells;
sourceTree = "<group>";
};
34ACC320291DE9C000741371 = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -233,6 +262,9 @@
34ACC368291DF02500741371 /* Presentation */ = {
isa = PBXGroup;
children = (
3499551B292332B8007AB99E /* Settings */,
3499551A292332B2007AB99E /* Browse */,
34995519292332A9007AB99E /* Home */,
3449AD5E292219D600B87619 /* Common */,
);
path = Presentation;
Expand Down Expand Up @@ -402,7 +434,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
9B1CFB3B2922BBDA00CCE97A /* QuestCell.swift in Sources */,
9B1CFB3B2922BBDA00CCE97A /* BrowseCell.swift in Sources */,
3449AD5D2922197000B87619 /* User.swift in Sources */,
B50078D629222F3F0070AFC4 /* CircleCheckView.swift in Sources */,
B58DFC0A29227DA800C68A4B /* CalendarCell.swift in Sources */,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import UIKit
import SnapKit

class QuestCell: UITableViewCell {
class BrowseCell: UITableViewCell {

static let reuseIdentifier = "QuestCell"

Expand Down Expand Up @@ -133,10 +133,10 @@ class QuestCell: UITableViewCell {
#if canImport(SwiftUI) && DEBUG
import SwiftUI

struct QuestCellPreview: PreviewProvider{
struct BrowseCellPreview: PreviewProvider{
static var previews: some View {
UIViewPreview {
let cell = QuestCell(frame: .zero)
let cell = BrowseCell(frame: .zero)
cell.setup(user: User(uuid: UUID(), nickName: "맥스", profile: Data(), backgroundImage: Data(), description: ""), quest: [Quest(title: "물 마시기", startDay: Date(), endDay: Date(), repeat: 0, currentCount: 1, totalCount: 5), Quest(title: "물 마시기", startDay: Date(), endDay: Date(), repeat: 0, currentCount: 1, totalCount: 5), Quest(title: "물 마시기", startDay: Date(), endDay: Date(), repeat: 0, currentCount: 1, totalCount: 5)])
return cell
}
Expand Down

0 comments on commit 905fcbb

Please sign in to comment.