Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 141 additions & 21 deletions CodingProject.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,43 @@
/* Begin PBXBuildFile section */
0DA58D4E29CC06D600AFFB8A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D4D29CC06D600AFFB8A /* AppDelegate.swift */; };
0DA58D5029CC06D600AFFB8A /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D4F29CC06D600AFFB8A /* SceneDelegate.swift */; };
0DA58D5229CC06D600AFFB8A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D5129CC06D600AFFB8A /* ViewController.swift */; };
0DA58D5529CC06D600AFFB8A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0DA58D5329CC06D600AFFB8A /* Main.storyboard */; };
0DA58D5229CC06D600AFFB8A /* HomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D5129CC06D600AFFB8A /* HomeViewController.swift */; };
0DA58D5729CC06D800AFFB8A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0DA58D5629CC06D800AFFB8A /* Assets.xcassets */; };
0DA58D5A29CC06D800AFFB8A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0DA58D5829CC06D800AFFB8A /* LaunchScreen.storyboard */; };
0DA58D6329CC347B00AFFB8A /* HomeViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D6229CC347B00AFFB8A /* HomeViewModel.swift */; };
0DA58D6829CC39BE00AFFB8A /* APIKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D6729CC39BE00AFFB8A /* APIKey.swift */; };
0DA58D6A29CC39E500AFFB8A /* APIService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D6929CC39E500AFFB8A /* APIService.swift */; };
0DA58D6C29CC3E8B00AFFB8A /* MovieResponseModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA58D6B29CC3E8B00AFFB8A /* MovieResponseModel.swift */; };
0DE0712129CD46B600D753A9 /* HomeTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DE0712029CD46B600D753A9 /* HomeTableViewCell.swift */; };
0DE0712429CD940000D753A9 /* MovieViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DE0712329CD940000D753A9 /* MovieViewController.swift */; };
71BDE4E9E07AF1AB117B66A2 /* Pods_CodingProject.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF798B97169E6399A3661E0E /* Pods_CodingProject.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
0DA58D4A29CC06D600AFFB8A /* CodingProject.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CodingProject.app; sourceTree = BUILT_PRODUCTS_DIR; };
0DA58D4D29CC06D600AFFB8A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
0DA58D4F29CC06D600AFFB8A /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
0DA58D5129CC06D600AFFB8A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
0DA58D5429CC06D600AFFB8A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
0DA58D5129CC06D600AFFB8A /* HomeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeViewController.swift; sourceTree = "<group>"; };
0DA58D5629CC06D800AFFB8A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
0DA58D5929CC06D800AFFB8A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
0DA58D5B29CC06D800AFFB8A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
0DA58D6229CC347B00AFFB8A /* HomeViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeViewModel.swift; sourceTree = "<group>"; };
0DA58D6729CC39BE00AFFB8A /* APIKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIKey.swift; sourceTree = "<group>"; };
0DA58D6929CC39E500AFFB8A /* APIService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = APIService.swift; sourceTree = "<group>"; };
0DA58D6B29CC3E8B00AFFB8A /* MovieResponseModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MovieResponseModel.swift; sourceTree = "<group>"; };
0DE0712029CD46B600D753A9 /* HomeTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeTableViewCell.swift; sourceTree = "<group>"; };
0DE0712329CD940000D753A9 /* MovieViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MovieViewController.swift; sourceTree = "<group>"; };
24780FA682D597569F73C174 /* Pods-CodingProject.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CodingProject.debug.xcconfig"; path = "Target Support Files/Pods-CodingProject/Pods-CodingProject.debug.xcconfig"; sourceTree = "<group>"; };
75393BC7754BBA9B3A91D947 /* Pods-CodingProject.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-CodingProject.release.xcconfig"; path = "Target Support Files/Pods-CodingProject/Pods-CodingProject.release.xcconfig"; sourceTree = "<group>"; };
EF798B97169E6399A3661E0E /* Pods_CodingProject.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_CodingProject.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
0DA58D4729CC06D600AFFB8A /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
71BDE4E9E07AF1AB117B66A2 /* Pods_CodingProject.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -42,6 +57,8 @@
children = (
0DA58D4C29CC06D600AFFB8A /* CodingProject */,
0DA58D4B29CC06D600AFFB8A /* Products */,
E3FE4768B8B550EFFFE051C2 /* Pods */,
18D908302FC11C6C1A1B1B84 /* Frameworks */,
);
sourceTree = "<group>";
};
Expand All @@ -56,27 +73,91 @@
0DA58D4C29CC06D600AFFB8A /* CodingProject */ = {
isa = PBXGroup;
children = (
0DA58D4D29CC06D600AFFB8A /* AppDelegate.swift */,
0DA58D4F29CC06D600AFFB8A /* SceneDelegate.swift */,
0DA58D5129CC06D600AFFB8A /* ViewController.swift */,
0DA58D5329CC06D600AFFB8A /* Main.storyboard */,
0DA58D5629CC06D800AFFB8A /* Assets.xcassets */,
0DE0712229CD93DE00D753A9 /* MovieView */,
0DA58D6129CC344B00AFFB8A /* HomeView */,
0DA58D6429CC396A00AFFB8A /* APIService */,
0DA58D6529CC398000AFFB8A /* Resource */,
0DA58D5829CC06D800AFFB8A /* LaunchScreen.storyboard */,
0DA58D5B29CC06D800AFFB8A /* Info.plist */,
);
path = CodingProject;
sourceTree = "<group>";
};
0DA58D6129CC344B00AFFB8A /* HomeView */ = {
isa = PBXGroup;
children = (
0DA58D5129CC06D600AFFB8A /* HomeViewController.swift */,
0DA58D6229CC347B00AFFB8A /* HomeViewModel.swift */,
0DE0712029CD46B600D753A9 /* HomeTableViewCell.swift */,
);
path = HomeView;
sourceTree = "<group>";
};
0DA58D6429CC396A00AFFB8A /* APIService */ = {
isa = PBXGroup;
children = (
0DA58D6729CC39BE00AFFB8A /* APIKey.swift */,
0DA58D6929CC39E500AFFB8A /* APIService.swift */,
0DA58D6629CC39A100AFFB8A /* Models */,
);
path = APIService;
sourceTree = "<group>";
};
0DA58D6529CC398000AFFB8A /* Resource */ = {
isa = PBXGroup;
children = (
0DA58D4D29CC06D600AFFB8A /* AppDelegate.swift */,
0DA58D4F29CC06D600AFFB8A /* SceneDelegate.swift */,
0DA58D5629CC06D800AFFB8A /* Assets.xcassets */,
);
path = Resource;
sourceTree = "<group>";
};
0DA58D6629CC39A100AFFB8A /* Models */ = {
isa = PBXGroup;
children = (
0DA58D6B29CC3E8B00AFFB8A /* MovieResponseModel.swift */,
);
path = Models;
sourceTree = "<group>";
};
0DE0712229CD93DE00D753A9 /* MovieView */ = {
isa = PBXGroup;
children = (
0DE0712329CD940000D753A9 /* MovieViewController.swift */,
);
path = MovieView;
sourceTree = "<group>";
};
18D908302FC11C6C1A1B1B84 /* Frameworks */ = {
isa = PBXGroup;
children = (
EF798B97169E6399A3661E0E /* Pods_CodingProject.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
E3FE4768B8B550EFFFE051C2 /* Pods */ = {
isa = PBXGroup;
children = (
24780FA682D597569F73C174 /* Pods-CodingProject.debug.xcconfig */,
75393BC7754BBA9B3A91D947 /* Pods-CodingProject.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
0DA58D4929CC06D600AFFB8A /* CodingProject */ = {
isa = PBXNativeTarget;
buildConfigurationList = 0DA58D5E29CC06D800AFFB8A /* Build configuration list for PBXNativeTarget "CodingProject" */;
buildPhases = (
30147021AAADE7A431C2EB03 /* [CP] Check Pods Manifest.lock */,
0DA58D4629CC06D600AFFB8A /* Sources */,
0DA58D4729CC06D600AFFB8A /* Frameworks */,
0DA58D4829CC06D600AFFB8A /* Resources */,
95A4326359AC16A38DAABA2A /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -127,34 +208,73 @@
files = (
0DA58D5A29CC06D800AFFB8A /* LaunchScreen.storyboard in Resources */,
0DA58D5729CC06D800AFFB8A /* Assets.xcassets in Resources */,
0DA58D5529CC06D600AFFB8A /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
30147021AAADE7A431C2EB03 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-CodingProject-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
95A4326359AC16A38DAABA2A /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-CodingProject/Pods-CodingProject-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-CodingProject/Pods-CodingProject-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-CodingProject/Pods-CodingProject-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
0DA58D4629CC06D600AFFB8A /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
0DA58D5229CC06D600AFFB8A /* ViewController.swift in Sources */,
0DA58D5229CC06D600AFFB8A /* HomeViewController.swift in Sources */,
0DA58D6C29CC3E8B00AFFB8A /* MovieResponseModel.swift in Sources */,
0DA58D4E29CC06D600AFFB8A /* AppDelegate.swift in Sources */,
0DA58D5029CC06D600AFFB8A /* SceneDelegate.swift in Sources */,
0DA58D6329CC347B00AFFB8A /* HomeViewModel.swift in Sources */,
0DE0712429CD940000D753A9 /* MovieViewController.swift in Sources */,
0DA58D6A29CC39E500AFFB8A /* APIService.swift in Sources */,
0DE0712129CD46B600D753A9 /* HomeTableViewCell.swift in Sources */,
0DA58D6829CC39BE00AFFB8A /* APIKey.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
0DA58D5329CC06D600AFFB8A /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
0DA58D5429CC06D600AFFB8A /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
0DA58D5829CC06D800AFFB8A /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
Expand Down Expand Up @@ -282,6 +402,7 @@
};
0DA58D5F29CC06D800AFFB8A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 24780FA682D597569F73C174 /* Pods-CodingProject.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand All @@ -292,7 +413,6 @@
INFOPLIST_FILE = CodingProject/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -310,6 +430,7 @@
};
0DA58D6029CC06D800AFFB8A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 75393BC7754BBA9B3A91D947 /* Pods-CodingProject.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
Expand All @@ -320,7 +441,6 @@
INFOPLIST_FILE = CodingProject/Info.plist;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CodingProject.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>3</integer>
</dict>
</dict>
</dict>
Expand Down
10 changes: 10 additions & 0 deletions CodingProject.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
10 changes: 10 additions & 0 deletions CodingProject/APIService/APIKey.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//
// APIKey.swift
// CodingProject
//
// Created by Tung Truong on 23/03/2023.
//

import Foundation

let APIKey = "d69534d3"
Loading