Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
🐛[Fix]: Edit ViewController Name
Browse files Browse the repository at this point in the history
AlbumListViewController로 변경
  • Loading branch information
doyeonjeong committed Mar 26, 2023
1 parent a43e488 commit 52f15d0
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 10 deletions.
8 changes: 4 additions & 4 deletions doyeon/Album/Album.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
8F5BD53829CA9684007230BB /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 8F5BD53729CA9684007230BB /* SnapKit */; };
8FD374AE29BD9C46002A985A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FD374AD29BD9C46002A985A /* AppDelegate.swift */; };
8FD374B029BD9C46002A985A /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FD374AF29BD9C46002A985A /* SceneDelegate.swift */; };
8FD374B229BD9C46002A985A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FD374B129BD9C46002A985A /* ViewController.swift */; };
8FD374B229BD9C46002A985A /* AlbumListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FD374B129BD9C46002A985A /* AlbumListViewController.swift */; };
8FD374B729BD9C48002A985A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8FD374B629BD9C48002A985A /* Assets.xcassets */; };
8FD374BA29BD9C48002A985A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8FD374B829BD9C48002A985A /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */
Expand All @@ -25,7 +25,7 @@
8FD374AA29BD9C46002A985A /* Album.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Album.app; sourceTree = BUILT_PRODUCTS_DIR; };
8FD374AD29BD9C46002A985A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
8FD374AF29BD9C46002A985A /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
8FD374B129BD9C46002A985A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
8FD374B129BD9C46002A985A /* AlbumListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AlbumListViewController.swift; sourceTree = "<group>"; };
8FD374B629BD9C48002A985A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
8FD374B929BD9C48002A985A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
8FD374BB29BD9C48002A985A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -91,7 +91,7 @@
8FD374C329BD9F7E002A985A /* Sources */ = {
isa = PBXGroup;
children = (
8FD374B129BD9C46002A985A /* ViewController.swift */,
8FD374B129BD9C46002A985A /* AlbumListViewController.swift */,
8F316DE229CBFB5B00BA7C36 /* AlbumListCell.swift */,
8F316E0829CC30C300BA7C36 /* Album.swift */,
8F316E0A29CC327100BA7C36 /* AlbumViewModel.swift */,
Expand Down Expand Up @@ -176,7 +176,7 @@
buildActionMask = 2147483647;
files = (
8F316E0B29CC327100BA7C36 /* AlbumViewModel.swift in Sources */,
8FD374B229BD9C46002A985A /* ViewController.swift in Sources */,
8FD374B229BD9C46002A985A /* AlbumListViewController.swift in Sources */,
8FD374AE29BD9C46002A985A /* AppDelegate.swift in Sources */,
8FD374B029BD9C46002A985A /* SceneDelegate.swift in Sources */,
8F316DE329CBFB5B00BA7C36 /* AlbumListCell.swift in Sources */,
Expand Down
78 changes: 78 additions & 0 deletions doyeon/Album/Album.xcodeproj/xcshareddata/xcschemes/Album.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1420"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD374A929BD9C46002A985A"
BuildableName = "Album.app"
BlueprintName = "Album"
ReferencedContainer = "container:Album.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD374A929BD9C46002A985A"
BuildableName = "Album.app"
BlueprintName = "Album"
ReferencedContainer = "container:Album.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD374A929BD9C46002A985A"
BuildableName = "Album.app"
BlueprintName = "Album"
ReferencedContainer = "container:Album.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// ViewController.swift
// AlbumListViewController.swift
// Album
//
// Created by Doyeon on 2023/03/12.
Expand All @@ -8,7 +8,7 @@
import UIKit
import SnapKit

final class ViewController: UIViewController {
final class AlbumListViewController: UIViewController {

// MARK: - Properties
let viewModel = AlbumViewModel()
Expand Down Expand Up @@ -37,7 +37,7 @@ final class ViewController: UIViewController {
}

// MARK: - Methods
extension ViewController {
extension AlbumListViewController {
private func setupUI() {
setDelegates()
setSubviews()
Expand Down Expand Up @@ -68,12 +68,12 @@ extension ViewController {
}

// MARK: - UICollectionViewDelegate
extension ViewController: UICollectionViewDelegate {
extension AlbumListViewController: UICollectionViewDelegate {

}

// MARK: - UICollectionViewDataSource
extension ViewController: UICollectionViewDataSource {
extension AlbumListViewController: UICollectionViewDataSource {
/// 지정된 섹션에 표시할 항목의 개수
func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
return albums.count
Expand All @@ -89,7 +89,7 @@ extension ViewController: UICollectionViewDataSource {
}
}

extension ViewController: AlbumViewModelDelegate {
extension AlbumListViewController: AlbumViewModelDelegate {
func fetchAlbumInfo(_ albums: [Album]) {
self.albums = albums
}
Expand Down

0 comments on commit 52f15d0

Please sign in to comment.