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
Binary file added .DS_Store
Binary file not shown.
118 changes: 118 additions & 0 deletions ChatBot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Created by https://www.toptal.com/developers/gitignore/api/xcode,swift,cocoapods
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swift,cocoapods

### CocoaPods ###
## CocoaPods GitIgnore Template

# CocoaPods - Only use to conserve bandwidth / Save time on Pushing
# - Also handy if you have a large number of dependant pods
# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE
Pods/

### Swift ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## User settings
xcuserdata/

## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm

.build/

# CocoaPods
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
# Pods/
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# Carthage
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build/

# Accio dependency management
Dependencies/
.accio/

# fastlane
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### Xcode ###
# Xcode
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore


### DS_Store ###
.DS_Store


## Gcc Patch
/*.gcno

### Xcode Patch ###
*.xcodeproj/*
!*.xcodeproj/project.pbxproj
!*.xcodeproj/xcshareddata/
!*.xcworkspace/contents.xcworkspacedata
**/xcshareddata/WorkspaceSettings.xcsettings

## APIKEY
Api_Key.plist

# End of https://www.toptal.com/developers/gitignore/api/xcode,swift,cocoapods
150 changes: 110 additions & 40 deletions ChatBot/ChatBot.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,39 @@
objects = {

/* Begin PBXBuildFile section */
B4B3E2BD2B42D1BB00818B3C /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4B3E2BC2B42D1BB00818B3C /* AppDelegate.swift */; };
B4B3E2BF2B42D1BB00818B3C /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4B3E2BE2B42D1BB00818B3C /* SceneDelegate.swift */; };
B4B3E2C12B42D1BB00818B3C /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4B3E2C02B42D1BB00818B3C /* ViewController.swift */; };
B4B3E2C42B42D1BB00818B3C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B4B3E2C22B42D1BB00818B3C /* Main.storyboard */; };
B4B3E2C62B42D1BC00818B3C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = B4B3E2C52B42D1BC00818B3C /* Assets.xcassets */; };
B4B3E2C92B42D1BC00818B3C /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = B4B3E2C72B42D1BC00818B3C /* LaunchScreen.storyboard */; };
1512D68D2BC3B42F00FDB7F6 /* Bundel+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1512D68C2BC3B42F00FDB7F6 /* Bundel+Extension.swift */; };
1512D6902BC3B4E800FDB7F6 /* NetworkManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1512D68F2BC3B4E800FDB7F6 /* NetworkManager.swift */; };
1512D6922BC3B58900FDB7F6 /* NetworkError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1512D6912BC3B58900FDB7F6 /* NetworkError.swift */; };
1512D6942BC3B66B00FDB7F6 /* Choice.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1512D6932BC3B66B00FDB7F6 /* Choice.swift */; };
1512D6962BC3B68F00FDB7F6 /* Usage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1512D6952BC3B68F00FDB7F6 /* Usage.swift */; };
15D33E822BBFE96D00F88B25 /* Api_Key.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15D33E812BBFE96D00F88B25 /* Api_Key.plist */; };
1D312FB42BBACF8000169AD3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D312FB12BBACF8000169AD3 /* AppDelegate.swift */; };
1D312FB52BBACF8000169AD3 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D312FB22BBACF8000169AD3 /* SceneDelegate.swift */; };
1D312FBC2BBACFA100169AD3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D312FBA2BBACFA100169AD3 /* ViewController.swift */; };
1D312FC22BBACFAF00169AD3 /* ChatRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D312FBD2BBACFAF00169AD3 /* ChatRequest.swift */; };
1D312FC32BBACFAF00169AD3 /* ChatResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D312FBE2BBACFAF00169AD3 /* ChatResponse.swift */; };
1D312FC42BBACFAF00169AD3 /* Message.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D312FBF2BBACFAF00169AD3 /* Message.swift */; };
1D312FCB2BBACFC200169AD3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1D312FC62BBACFC200169AD3 /* Assets.xcassets */; };
1D312FCD2BBACFC200169AD3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 1D312FC92BBACFC200169AD3 /* LaunchScreen.storyboard */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
1512D68C2BC3B42F00FDB7F6 /* Bundel+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Bundel+Extension.swift"; sourceTree = "<group>"; };
1512D68F2BC3B4E800FDB7F6 /* NetworkManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkManager.swift; sourceTree = "<group>"; };
1512D6912BC3B58900FDB7F6 /* NetworkError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkError.swift; sourceTree = "<group>"; };
1512D6932BC3B66B00FDB7F6 /* Choice.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Choice.swift; sourceTree = "<group>"; };
1512D6952BC3B68F00FDB7F6 /* Usage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Usage.swift; sourceTree = "<group>"; };
15D33E812BBFE96D00F88B25 /* Api_Key.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Api_Key.plist; sourceTree = "<group>"; };
1D312FB12BBACF8000169AD3 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
1D312FB22BBACF8000169AD3 /* SceneDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
1D312FBA2BBACFA100169AD3 /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
1D312FBD2BBACFAF00169AD3 /* ChatRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChatRequest.swift; sourceTree = "<group>"; };
1D312FBE2BBACFAF00169AD3 /* ChatResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ChatResponse.swift; sourceTree = "<group>"; };
1D312FBF2BBACFAF00169AD3 /* Message.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Message.swift; sourceTree = "<group>"; };
1D312FC62BBACFC200169AD3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
1D312FC72BBACFC200169AD3 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1D312FC82BBACFC200169AD3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
B4B3E2B92B42D1BB00818B3C /* ChatBot.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ChatBot.app; sourceTree = BUILT_PRODUCTS_DIR; };
B4B3E2BC2B42D1BB00818B3C /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
B4B3E2BE2B42D1BB00818B3C /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
B4B3E2C02B42D1BB00818B3C /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
B4B3E2C32B42D1BB00818B3C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
B4B3E2C52B42D1BC00818B3C /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
B4B3E2C82B42D1BC00818B3C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
B4B3E2CA2B42D1BC00818B3C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -37,6 +53,63 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
1512D68B2BC3B41A00FDB7F6 /* Extension */ = {
isa = PBXGroup;
children = (
1512D68C2BC3B42F00FDB7F6 /* Bundel+Extension.swift */,
);
path = Extension;
sourceTree = "<group>";
};
1512D68E2BC3B4D400FDB7F6 /* Network */ = {
isa = PBXGroup;
children = (
1512D68F2BC3B4E800FDB7F6 /* NetworkManager.swift */,
1512D6912BC3B58900FDB7F6 /* NetworkError.swift */,
);
path = Network;
sourceTree = "<group>";
};
1D312FB32BBACF8000169AD3 /* App */ = {
isa = PBXGroup;
children = (
1D312FB12BBACF8000169AD3 /* AppDelegate.swift */,
1D312FB22BBACF8000169AD3 /* SceneDelegate.swift */,
);
path = App;
sourceTree = "<group>";
};
1D312FBB2BBACFA100169AD3 /* Controller */ = {
isa = PBXGroup;
children = (
1D312FBA2BBACFA100169AD3 /* ViewController.swift */,
);
path = Controller;
sourceTree = "<group>";
};
1D312FC12BBACFAF00169AD3 /* Model */ = {
isa = PBXGroup;
children = (
1D312FBD2BBACFAF00169AD3 /* ChatRequest.swift */,
1D312FBE2BBACFAF00169AD3 /* ChatResponse.swift */,
1512D6932BC3B66B00FDB7F6 /* Choice.swift */,
1512D6952BC3B68F00FDB7F6 /* Usage.swift */,
1D312FBF2BBACFAF00169AD3 /* Message.swift */,
);
path = Model;
sourceTree = "<group>";
};
1D312FCA2BBACFC200169AD3 /* Resources */ = {
isa = PBXGroup;
children = (
15D33E812BBFE96D00F88B25 /* Api_Key.plist */,
1D312FC62BBACFC200169AD3 /* Assets.xcassets */,
1D312FC72BBACFC200169AD3 /* Info.plist */,
1D312FC92BBACFC200169AD3 /* LaunchScreen.storyboard */,
);
path = Resources;
sourceTree = "<group>";
};
B4B3E2B02B42D1BB00818B3C = {
isa = PBXGroup;
children = (
Expand All @@ -56,13 +129,12 @@
B4B3E2BB2B42D1BB00818B3C /* ChatBot */ = {
isa = PBXGroup;
children = (
B4B3E2BC2B42D1BB00818B3C /* AppDelegate.swift */,
B4B3E2BE2B42D1BB00818B3C /* SceneDelegate.swift */,
B4B3E2C02B42D1BB00818B3C /* ViewController.swift */,
B4B3E2C22B42D1BB00818B3C /* Main.storyboard */,
B4B3E2C52B42D1BC00818B3C /* Assets.xcassets */,
B4B3E2C72B42D1BC00818B3C /* LaunchScreen.storyboard */,
B4B3E2CA2B42D1BC00818B3C /* Info.plist */,
1512D68E2BC3B4D400FDB7F6 /* Network */,
1512D68B2BC3B41A00FDB7F6 /* Extension */,
1D312FB32BBACF8000169AD3 /* App */,
1D312FC12BBACFAF00169AD3 /* Model */,
1D312FCA2BBACFC200169AD3 /* Resources */,
1D312FBB2BBACFA100169AD3 /* Controller */,
);
path = ChatBot;
sourceTree = "<group>";
Expand Down Expand Up @@ -125,9 +197,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B4B3E2C92B42D1BC00818B3C /* LaunchScreen.storyboard in Resources */,
B4B3E2C62B42D1BC00818B3C /* Assets.xcassets in Resources */,
B4B3E2C42B42D1BB00818B3C /* Main.storyboard in Resources */,
15D33E822BBFE96D00F88B25 /* Api_Key.plist in Resources */,
1D312FCB2BBACFC200169AD3 /* Assets.xcassets in Resources */,
1D312FCD2BBACFC200169AD3 /* LaunchScreen.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -138,27 +210,27 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
B4B3E2C12B42D1BB00818B3C /* ViewController.swift in Sources */,
B4B3E2BD2B42D1BB00818B3C /* AppDelegate.swift in Sources */,
B4B3E2BF2B42D1BB00818B3C /* SceneDelegate.swift in Sources */,
1D312FC32BBACFAF00169AD3 /* ChatResponse.swift in Sources */,
1D312FB42BBACF8000169AD3 /* AppDelegate.swift in Sources */,
1D312FC22BBACFAF00169AD3 /* ChatRequest.swift in Sources */,
1D312FC42BBACFAF00169AD3 /* Message.swift in Sources */,
1512D6962BC3B68F00FDB7F6 /* Usage.swift in Sources */,
1512D6902BC3B4E800FDB7F6 /* NetworkManager.swift in Sources */,
1D312FBC2BBACFA100169AD3 /* ViewController.swift in Sources */,
1512D6942BC3B66B00FDB7F6 /* Choice.swift in Sources */,
1512D6922BC3B58900FDB7F6 /* NetworkError.swift in Sources */,
1512D68D2BC3B42F00FDB7F6 /* Bundel+Extension.swift in Sources */,
1D312FB52BBACF8000169AD3 /* SceneDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
B4B3E2C22B42D1BB00818B3C /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
B4B3E2C32B42D1BB00818B3C /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
B4B3E2C72B42D1BC00818B3C /* LaunchScreen.storyboard */ = {
1D312FC92BBACFC200169AD3 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
B4B3E2C82B42D1BC00818B3C /* Base */,
1D312FC82BBACFC200169AD3 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
Expand Down Expand Up @@ -294,10 +366,9 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = W9647FYSN7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ChatBot/Info.plist;
INFOPLIST_FILE = ChatBot/Resources/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";
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
Expand All @@ -323,10 +394,9 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = W9647FYSN7;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = ChatBot/Info.plist;
INFOPLIST_FILE = ChatBot/Resources/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";
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ import UIKit

class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow?

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let _ = (scene as? UIWindowScene) else { return }
guard let windowScene = (scene as? UIWindowScene) else { return }

// TODO: - rootViewController 설정
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이후 스텝에서 구현하실 예정인거죠??👍

let window = UIWindow(windowScene: windowScene)
window.rootViewController = ViewController()
window.makeKeyAndVisible()
self.window = window
}

func sceneDidDisconnect(_ scene: UIScene) { }
func sceneDidBecomeActive(_ scene: UIScene) { }
func sceneWillResignActive(_ scene: UIScene) { }
Expand Down
24 changes: 0 additions & 24 deletions ChatBot/ChatBot/Base.lproj/Main.storyboard

This file was deleted.

Loading