Skip to content
Permalink
Browse files

Fix warnings

  • Loading branch information...
youknowone committed Jun 12, 2019
1 parent d94ff30 commit d39a39743ebc32297cfccd66b9b4080628de0d20
@@ -22,6 +22,7 @@
/* End PBXAggregateTarget section */

/* Begin PBXBuildFile section */
0378CCB6A8DC8069FA2B6B55 /* Pods_OSXTestApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F10FF4A81E4501FB2F71251 /* Pods_OSXTestApp.framework */; };
38098F0A215A3DB30001F159 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 38098F09215A3DB30001F159 /* Assets.xcassets */; };
38162DF5141263270077AA2D /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 38863C63140E64EB00A8ED76 /* Cocoa.framework */; };
38162DFB141263280077AA2D /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 38162DF9141263280077AA2D /* InfoPlist.strings */; };
@@ -108,7 +109,6 @@
A34E20012168B21B00B12476 /* GureumTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3BAAE062160C6970076C66D /* GureumTests.swift */; };
A34E2025216ADBEC00B12476 /* emoji.txt in Copy Hanja Files */ = {isa = PBXBuildFile; fileRef = A34E2024216ADBEC00B12476 /* emoji.txt */; };
A36A435B216F86780052BE12 /* emoji_ko.txt in Copy Hanja Files */ = {isa = PBXBuildFile; fileRef = A36A4358216F86780052BE12 /* emoji_ko.txt */; };
AA545CB9A59263E4F8A12E2B /* Pods_OSXTestApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F10FF4A81E4501FB2F71251 /* Pods_OSXTestApp.framework */; };
C436BD92FF277CDB5B16D657 /* Pods_OSXCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7DA458745AD2EA657697D90D /* Pods_OSXCore.framework */; };
E5A0EA0A2139098800D4AD69 /* GureumAppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5A0EA092139098800D4AD69 /* GureumAppDelegate.swift */; };
E5ED2DE4213030B700BD9B13 /* GureumMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5ED2DE3213030B700BD9B13 /* GureumMenu.swift */; };
@@ -415,7 +415,7 @@
files = (
388186C021EB9E11004B7FDB /* Pods_OSXTestApp.framework in Frameworks */,
388186BF21EB9E01004B7FDB /* GureumCore.framework in Frameworks */,
AA545CB9A59263E4F8A12E2B /* Pods_OSXTestApp.framework in Frameworks */,
0378CCB6A8DC8069FA2B6B55 /* Pods_OSXTestApp.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -836,7 +836,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1000;
LastUpgradeCheck = 1000;
LastUpgradeCheck = 1020;
ORGANIZATIONNAME = youknowone.org;
TargetAttributes = {
38162DF2141263270077AA2D = {
@@ -70,7 +70,7 @@ public class InputController: IMKInputController {
super.inputControllerWillClose()
}

func asClient(_ sender: Any) -> IMKTextInput & IMKUnicodeTextInput {
func asClient(_ sender: Any!) -> IMKTextInput & IMKUnicodeTextInput {
#if DEBUG
return sender as! (IMKTextInput & IMKUnicodeTextInput)
#else
@@ -90,13 +90,13 @@ public class InputController: IMKInputController {

public override func modes(_ sender: Any!) -> [AnyHashable: Any]! {
let modes = super.modes(sender)
dlog(DEBUG_SPYING, "modes: \(modes)")
dlog(DEBUG_SPYING, "modes: \(String(describing: modes))")
return modes
}

public override func value(forTag tag: Int, client _: Any!) -> Any! {
let v = super.value(forTag: tag, client: client)
dlog(DEBUG_SPYING, "value: \(v) for tag: \(tag)")
dlog(DEBUG_SPYING, "value: \(String(describing: v)) for tag: \(tag)")
return v
}
#endif
@@ -115,7 +115,7 @@ class IOKitty {
}

var capsLockTriggered: Bool {
dlog(DEBUG_IOKIT_EVENT, " triggered: date \(capsLockDate)")
dlog(DEBUG_IOKIT_EVENT, " triggered: date \(String(describing: capsLockDate))")
guard let capsLockDate = capsLockDate else {
return false
}
@@ -76,8 +76,8 @@ public class InputReceiver: InputTextDelegate {

// IMKServerInput 프로토콜에 대한 공용 핸들러
func input(text string: String?, key keyCode: Int, modifiers flags: NSEvent.ModifierFlags, client sender: IMKTextInput & IMKUnicodeTextInput) -> InputResult {
var selected = sender.selectedRange()
var marked = sender.markedRange()
let selected = sender.selectedRange()
let marked = sender.markedRange()
if selected.location != marked.location {
// dlog(DEBUG_LOGGING, "MISMATCHING: \(selected) \(marked)")
// cancelComposition()
@@ -1,8 +1,8 @@
workspace 'Gureum'
use_frameworks!
platform :osx, "10.13"

target 'OSXCore' do
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'cdebug'
pod 'FoundationExtension', '~> 2.0.0'
@@ -11,25 +11,21 @@ target 'OSXCore' do
pod 'SwiftCoreServices'
end
target 'OSX' do
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'FoundationExtension', '~> 2.0.0'
pod 'Fabric'
pod 'Crashlytics'
end
target 'Preferences' do
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'MASShortcut'
end
target 'OSXTestApp' do
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'MASShortcut'
pod 'FoundationExtension', '~> 2.0.0'
end
target 'OSXTests' do
platform :osx, "10.13"
project 'Gureum.xcodeproj'
end

@@ -53,6 +53,6 @@ SPEC CHECKSUMS:
SwiftCoreServices: e4aebffc7143ff3e06920ecb89654f7c81f9768a
SwiftIOKit: 9dce3dec67e00dc74b95fde86f257aca78239853

PODFILE CHECKSUM: 92f3146a89cead217eda655cd018049ec4e1bb19
PODFILE CHECKSUM: e925c41ce712d2063ff0a1d1979b3aa17c3d7854

COCOAPODS: 1.7.1

0 comments on commit d39a397

Please sign in to comment.
You can’t perform that action at this time.