Skip to content

Commit

Permalink
feat: 迁移项目依赖至swift package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
marchyang committed Sep 16, 2023
1 parent fcea75a commit 01bef08
Show file tree
Hide file tree
Showing 18 changed files with 266,603 additions and 742 deletions.
805 changes: 372 additions & 433 deletions Fire.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions Fire.xcodeproj/xcshareddata/xcschemes/Fire.xcscheme
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
version = "1.3">
version = "1.7">
<BuildAction
parallelizeBuildables = "NO"
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
Expand All @@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "451E6043232E227B007B0463"
BlueprintIdentifier = "67C99FE72AB53DB2000B5281"
BuildableName = "Fire.app"
BlueprintName = "Fire"
ReferencedContainer = "container:Fire.xcodeproj">
Expand All @@ -26,9 +26,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand All @@ -53,7 +52,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "451E6043232E227B007B0463"
BlueprintIdentifier = "67C99FE72AB53DB2000B5281"
BuildableName = "Fire.app"
BlueprintName = "Fire"
ReferencedContainer = "container:Fire.xcodeproj">
Expand All @@ -70,7 +69,7 @@
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "451E6043232E227B007B0463"
BlueprintIdentifier = "67C99FE72AB53DB2000B5281"
BuildableName = "Fire.app"
BlueprintName = "Fire"
ReferencedContainer = "container:Fire.xcodeproj">
Expand Down
84 changes: 0 additions & 84 deletions Fire.xcodeproj/xcshareddata/xcschemes/TableBuilder.xcscheme

This file was deleted.

84 changes: 0 additions & 84 deletions Fire.xcodeproj/xcshareddata/xcschemes/build-dict.xcscheme

This file was deleted.

84 changes: 0 additions & 84 deletions Fire.xcodeproj/xcshareddata/xcschemes/install Fire.xcscheme

This file was deleted.

3 changes: 1 addition & 2 deletions Fire/FireInputController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import SwiftUI
import InputMethodKit
import Sparkle
import Preferences
import Defaults

typealias NotificationObserver = (name: Notification.Name, callback: (_ notification: Notification) -> Void)
Expand Down Expand Up @@ -293,7 +292,7 @@ class FireInputController: IMKInputController {
}

override func handle(_ event: NSEvent!, client sender: Any!) -> Bool {
guard let event = event else { return }
guard let event = event else { return false }
NSLog("[FireInputController] handle: \(event.debugDescription)")

// 在activateServer中有把IMKInputController绑定给CandidatesWindow
Expand Down
6 changes: 3 additions & 3 deletions Fire/Preferences/ApplicationPane.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import SwiftUI
import Preferences
import Settings
import Defaults

struct ApplicationSettingItemView: View {
Expand Down Expand Up @@ -108,8 +108,8 @@ struct ApplicationPane: View {
}

var body: some View {
Preferences.Container(contentWidth: 450) {
Preferences.Section(title: "") {
Settings.Container(contentWidth: 450) {
Settings.Section(title: "") {
VStack(alignment: .leading) {
HStack {
Text("自动切换")
Expand Down
Loading

0 comments on commit 01bef08

Please sign in to comment.