├── .gitignore ├── Chatgpt.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Chatgpt.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Chatgpt ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── icon-128.png │ │ ├── icon-128@2x.png │ │ ├── icon-16.png │ │ ├── icon-16@2x.png │ │ ├── icon-256.png │ │ ├── icon-256@2x.png │ │ ├── icon-32.png │ │ ├── icon-32@2x.png │ │ ├── icon-512.png │ │ └── icon-512@2x.png │ ├── Chat │ │ ├── Chat.imageset │ │ │ ├── Chat@2x.png │ │ │ ├── Chat@3x.png │ │ │ └── Contents.json │ │ ├── Chatgpt.imageset │ │ │ ├── Chatgpt@2x.png │ │ │ ├── Chatgpt@3x.png │ │ │ └── Contents.json │ │ ├── ClearRecord.imageset │ │ │ ├── ClearRecord@2x.png │ │ │ ├── ClearRecord@3x.png │ │ │ └── Contents.json │ │ ├── Contents.json │ │ ├── DisableInputColor.colorset │ │ │ └── Contents.json │ │ ├── EnableInputColor.colorset │ │ │ └── Contents.json │ │ ├── ListColor.colorset │ │ │ └── Contents.json │ │ ├── NameColor.colorset │ │ │ └── Contents.json │ │ └── NewChat.imageset │ │ │ ├── Contents.json │ │ │ ├── NewChat@2x.png │ │ │ └── NewChat@3x.png │ ├── Contents.json │ └── Mine │ │ ├── Avatar.imageset │ │ ├── Avatar@2x.png │ │ ├── Avatar@3x.png │ │ └── Contents.json │ │ └── Contents.json ├── Chatgpt.entitlements ├── ChatgptApp.swift ├── ContentView.swift ├── Home │ ├── Models │ │ ├── ChatModel.swift │ │ ├── Database │ │ │ ├── ChatDbModel.swift │ │ │ └── SessionDbModel.swift │ │ ├── SessionManager.swift │ │ └── SessionModel.swift │ └── Views │ │ ├── Cells │ │ ├── ChatCell.swift │ │ └── SessionCell.swift │ │ ├── ChatView.swift │ │ ├── SessionView.swift │ │ └── Widgets │ │ └── InputView.swift ├── Mine │ ├── MineListView.swift │ └── MineView.swift ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json └── Util │ └── QFileManage.swift ├── ChatgptTests └── ChatgptTests.swift ├── ChatgptUITests ├── ChatgptUITests.swift └── ChatgptUITestsLaunchTests.swift ├── LICENSE ├── Podfile ├── Podfile.lock ├── README.md ├── demo.gif └── 微信公众号.jpg /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/.gitignore -------------------------------------------------------------------------------- /Chatgpt.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Chatgpt.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Chatgpt.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Chatgpt.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Chatgpt.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-128.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-128@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-16.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-16@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-256.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-256@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-32.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-32@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-512.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/AppIcon.appiconset/icon-512@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Chat.imageset/Chat@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Chat.imageset/Chat@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Chat.imageset/Chat@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Chat.imageset/Chat@3x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Chat.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Chat.imageset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Chatgpt.imageset/Chatgpt@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Chatgpt.imageset/Chatgpt@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Chatgpt.imageset/Chatgpt@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Chatgpt.imageset/Chatgpt@3x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Chatgpt.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Chatgpt.imageset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/ClearRecord.imageset/ClearRecord@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/ClearRecord.imageset/ClearRecord@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/ClearRecord.imageset/ClearRecord@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/ClearRecord.imageset/ClearRecord@3x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/ClearRecord.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/ClearRecord.imageset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/DisableInputColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/DisableInputColor.colorset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/EnableInputColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/EnableInputColor.colorset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/ListColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/ListColor.colorset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/NameColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/NameColor.colorset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/NewChat.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/NewChat.imageset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/NewChat.imageset/NewChat@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/NewChat.imageset/NewChat@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Chat/NewChat.imageset/NewChat@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Chat/NewChat.imageset/NewChat@3x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Mine/Avatar.imageset/Avatar@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Mine/Avatar.imageset/Avatar@2x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Mine/Avatar.imageset/Avatar@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Mine/Avatar.imageset/Avatar@3x.png -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Mine/Avatar.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Mine/Avatar.imageset/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Assets.xcassets/Mine/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Assets.xcassets/Mine/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Chatgpt.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Chatgpt.entitlements -------------------------------------------------------------------------------- /Chatgpt/ChatgptApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/ChatgptApp.swift -------------------------------------------------------------------------------- /Chatgpt/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/ContentView.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Models/ChatModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Models/ChatModel.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Models/Database/ChatDbModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Models/Database/ChatDbModel.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Models/Database/SessionDbModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Models/Database/SessionDbModel.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Models/SessionManager.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Models/SessionManager.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Models/SessionModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Models/SessionModel.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Views/Cells/ChatCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Views/Cells/ChatCell.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Views/Cells/SessionCell.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Views/Cells/SessionCell.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Views/ChatView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Views/ChatView.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Views/SessionView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Views/SessionView.swift -------------------------------------------------------------------------------- /Chatgpt/Home/Views/Widgets/InputView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Home/Views/Widgets/InputView.swift -------------------------------------------------------------------------------- /Chatgpt/Mine/MineListView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Mine/MineListView.swift -------------------------------------------------------------------------------- /Chatgpt/Mine/MineView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Mine/MineView.swift -------------------------------------------------------------------------------- /Chatgpt/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Chatgpt/Util/QFileManage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Chatgpt/Util/QFileManage.swift -------------------------------------------------------------------------------- /ChatgptTests/ChatgptTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/ChatgptTests/ChatgptTests.swift -------------------------------------------------------------------------------- /ChatgptUITests/ChatgptUITests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/ChatgptUITests/ChatgptUITests.swift -------------------------------------------------------------------------------- /ChatgptUITests/ChatgptUITestsLaunchTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/ChatgptUITests/ChatgptUITestsLaunchTests.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/LICENSE -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Podfile -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/Podfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/README.md -------------------------------------------------------------------------------- /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/demo.gif -------------------------------------------------------------------------------- /微信公众号.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oldedcoder/SwiftChatGPT/HEAD/微信公众号.jpg --------------------------------------------------------------------------------