diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e227d8e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,70 @@
+# Build artifacts
+build/
+DerivedData/
+*.xcworkspace
+!Pods/Manifest.lock
+
+# Xcode
+xcuserdata/
+*.xccheckout
+*.xcscmblueprint
+*.xcodeproj/*
+!*.xcodeproj/project.pbxproj
+!*.xcodeproj/xcshareddata/
+!*.xcodeproj/xcshareddata/.*
+
+# Swift Package Manager
+.swiftpm
+.build/
+Package.resolved
+
+# CocoaPods
+Pods/
+Podfile.lock
+
+# Carthage
+Carthage/Build/
+
+# Fastlane
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
+fastlane/test_output
+fastlane/report.html
+
+# Temporary files
+*.tmp
+*.swp
+*.swm
+*.swo
+*.DS_Store
+
+# Logs
+*.log
+
+# User-specific files
+*.moved-aside
+*.dat
+*.plist
+*.orig
+*.lock
+
+# Shared frameworks
+Carthage/Checkouts/
+Carthage/Build/
+
+# Simulator
+ios.simruntime/
+
+# Bundle artifacts
+*.ipa
+*.dSYM.zip
+*.dSYM
+*.xcarchive
+
+# Playgrounds
+timeline.xctimeline
+playground.xcworkspace
+
+# SwiftUI Previews
+*.preview-thumbnails
diff --git a/EmployeeDirectory.xcodeproj/project.pbxproj b/EmployeeDirectory.xcodeproj/project.pbxproj
index e06a8ea..5a673ff 100644
--- a/EmployeeDirectory.xcodeproj/project.pbxproj
+++ b/EmployeeDirectory.xcodeproj/project.pbxproj
@@ -294,7 +294,6 @@
INFOPLIST_FILE = EmployeeDirectory/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 = (
@@ -322,7 +321,6 @@
INFOPLIST_FILE = EmployeeDirectory/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 = (
diff --git a/EmployeeDirectory/Base.lproj/LaunchScreen.storyboard b/EmployeeDirectory/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 865e932..0000000
--- a/EmployeeDirectory/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/EmployeeDirectory/Base.lproj/Main.storyboard b/EmployeeDirectory/Base.lproj/Main.storyboard
deleted file mode 100644
index 25a7638..0000000
--- a/EmployeeDirectory/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/EmployeeDirectory/Info.plist b/EmployeeDirectory/Info.plist
index dd3c9af..0eb786d 100644
--- a/EmployeeDirectory/Info.plist
+++ b/EmployeeDirectory/Info.plist
@@ -15,8 +15,6 @@
Default Configuration
UISceneDelegateClassName
$(PRODUCT_MODULE_NAME).SceneDelegate
- UISceneStoryboardFile
- Main
diff --git a/EmployeeDirectory/README.MD b/EmployeeDirectory/README.MD
new file mode 100644
index 0000000..d1ea3d0
--- /dev/null
+++ b/EmployeeDirectory/README.MD
@@ -0,0 +1,18 @@
+## Build tools & versions used
+
+## Steps to run the app
+
+## What areas of the app did you focus on?
+
+## What was the reason for your focus? What problems were you trying to solve?
+
+## How long did you spend on this project?
+
+## Did you make any trade-offs for this project? What would you have done differently with more time?
+
+## What do you think is the weakest part of your project?
+
+## Did you copy any code or dependencies? Please make sure to attribute them here!
+
+## Is there any other information you’d like us to know?
+
diff --git a/EmployeeDirectory/SceneDelegate.swift b/EmployeeDirectory/SceneDelegate.swift
index 3f0e981..94b6752 100644
--- a/EmployeeDirectory/SceneDelegate.swift
+++ b/EmployeeDirectory/SceneDelegate.swift
@@ -13,10 +13,21 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
- // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
- // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
- // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
- guard let _ = (scene as? UIWindowScene) else { return }
+
+ // Ensure the scene is properly configured
+ guard let windowScene = (scene as? UIWindowScene) else { return }
+
+ // Create a new UIWindow
+ let window = UIWindow(windowScene: windowScene)
+
+ // Set up the root view controller
+ let employeeListVC = ViewController()
+ let navigationController = UINavigationController(rootViewController: employeeListVC)
+ window.rootViewController = navigationController
+
+ // Set the window to the scene
+ self.window = window
+ window.makeKeyAndVisible()
}
func sceneDidDisconnect(_ scene: UIScene) {
diff --git a/EmployeeDirectory/Assets.xcassets/AccentColor.colorset/Contents.json b/EmployeeDirectory/Supporting Files/Assets.xcassets/AccentColor.colorset/Contents.json
similarity index 100%
rename from EmployeeDirectory/Assets.xcassets/AccentColor.colorset/Contents.json
rename to EmployeeDirectory/Supporting Files/Assets.xcassets/AccentColor.colorset/Contents.json
diff --git a/EmployeeDirectory/Assets.xcassets/AppIcon.appiconset/Contents.json b/EmployeeDirectory/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json
similarity index 100%
rename from EmployeeDirectory/Assets.xcassets/AppIcon.appiconset/Contents.json
rename to EmployeeDirectory/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json
diff --git a/EmployeeDirectory/Assets.xcassets/Contents.json b/EmployeeDirectory/Supporting Files/Assets.xcassets/Contents.json
similarity index 100%
rename from EmployeeDirectory/Assets.xcassets/Contents.json
rename to EmployeeDirectory/Supporting Files/Assets.xcassets/Contents.json
diff --git a/EmployeeDirectory/Supporting Files/Base.lproj/LaunchScreen.storyboard b/EmployeeDirectory/Supporting Files/Base.lproj/LaunchScreen.storyboard
new file mode 100644
index 0000000..c734ecf
--- /dev/null
+++ b/EmployeeDirectory/Supporting Files/Base.lproj/LaunchScreen.storyboard
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/EmployeeDirectory/ViewController.swift b/EmployeeDirectory/ViewControllers/ViewController.swift
similarity index 100%
rename from EmployeeDirectory/ViewController.swift
rename to EmployeeDirectory/ViewControllers/ViewController.swift