diff options
| -rw-r--r-- | DDHotKey.xcodeproj/project.pbxproj | 605 | ||||
| -rw-r--r-- | DDHotKey.xcodeproj/project.xcworkspace/contents.xcworkspacedata | 4 | ||||
| -rw-r--r-- | README.md | 3 | 
3 files changed, 424 insertions, 188 deletions
| diff --git a/DDHotKey.xcodeproj/project.pbxproj b/DDHotKey.xcodeproj/project.pbxproj index d420d6d..bdfae2e 100644 --- a/DDHotKey.xcodeproj/project.pbxproj +++ b/DDHotKey.xcodeproj/project.pbxproj @@ -6,336 +6,569 @@  	objectVersion = 46;  	objects = { +/* Begin PBXAggregateTarget section */ +		"DDHotKey::DDHotKeyPackageTests::ProductTarget" /* DDHotKeyPackageTests */ = { +			isa = PBXAggregateTarget; +			buildConfigurationList = OBJ_41 /* Build configuration list for PBXAggregateTarget "DDHotKeyPackageTests" */; +			buildPhases = ( +			); +			dependencies = ( +				OBJ_44 /* PBXTargetDependency */, +			); +			name = DDHotKeyPackageTests; +			productName = DDHotKeyPackageTests; +		}; +/* End PBXAggregateTarget section */ +  /* Begin PBXBuildFile section */ -		1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; }; -		256AC3DA0F4B6AC300CF3369 /* DDHotKeyAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 256AC3D90F4B6AC300CF3369 /* DDHotKeyAppDelegate.m */; }; -		55378E8C1135C0A70038E405 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 55378E8B1135C0A70038E405 /* Carbon.framework */; }; -		55CD8D52181C222C003799D0 /* DDHotKeyCenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 55CD8D4D181C222B003799D0 /* DDHotKeyCenter.m */; }; -		55CD8D53181C222C003799D0 /* DDHotKeyTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 55CD8D4F181C222C003799D0 /* DDHotKeyTextField.m */; }; -		55CD8D54181C222C003799D0 /* DDHotKeyUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 55CD8D51181C222C003799D0 /* DDHotKeyUtilities.m */; }; -		8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; -		8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; -		8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; +		55CD09042316E82D00D6A384 /* DDHotKeyCenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55CD09032316E82D00D6A384 /* DDHotKeyCenter.swift */; }; +		55CD09062316E8EE00D6A384 /* DDHotKeyUtilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55CD09052316E8EE00D6A384 /* DDHotKeyUtilities.swift */; }; +		55CD0918231723DF00D6A384 /* DDHotKeyTranslation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55CD0917231723DF00D6A384 /* DDHotKeyTranslation.swift */; }; +		OBJ_32 /* DDHotKey.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_9 /* DDHotKey.swift */; }; +		OBJ_39 /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_6 /* Package.swift */; }; +		OBJ_50 /* DDHotKeyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_12 /* DDHotKeyTests.swift */; }; +		OBJ_51 /* XCTestManifests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_13 /* XCTestManifests.swift */; }; +		OBJ_53 /* DDHotKey.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "DDHotKey::DDHotKey::Product" /* DDHotKey.framework */; };  /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ +		55CD09012316DF3200D6A384 /* PBXContainerItemProxy */ = { +			isa = PBXContainerItemProxy; +			containerPortal = OBJ_1 /* Project object */; +			proxyType = 1; +			remoteGlobalIDString = "DDHotKey::DDHotKey"; +			remoteInfo = DDHotKey; +		}; +		55CD09022316DF3300D6A384 /* PBXContainerItemProxy */ = { +			isa = PBXContainerItemProxy; +			containerPortal = OBJ_1 /* Project object */; +			proxyType = 1; +			remoteGlobalIDString = "DDHotKey::DDHotKeyTests"; +			remoteInfo = DDHotKeyTests; +		}; +/* End PBXContainerItemProxy section */ +  /* Begin PBXFileReference section */ -		089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; -		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; -		13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; }; -		1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; }; -		256AC3D80F4B6AC300CF3369 /* DDHotKeyAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDHotKeyAppDelegate.h; sourceTree = "<group>"; }; -		256AC3D90F4B6AC300CF3369 /* DDHotKeyAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDHotKeyAppDelegate.m; sourceTree = "<group>"; }; -		256AC3F00F4B6AF500CF3369 /* DDHotKey_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDHotKey_Prefix.pch; sourceTree = "<group>"; }; -		29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; -		29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; -		29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; -		55378E8B1135C0A70038E405 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = System/Library/Frameworks/Carbon.framework; sourceTree = SDKROOT; }; -		55CD8D4C181C222B003799D0 /* DDHotKeyCenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDHotKeyCenter.h; sourceTree = "<group>"; }; -		55CD8D4D181C222B003799D0 /* DDHotKeyCenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDHotKeyCenter.m; sourceTree = "<group>"; }; -		55CD8D4E181C222B003799D0 /* DDHotKeyTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDHotKeyTextField.h; sourceTree = "<group>"; }; -		55CD8D4F181C222C003799D0 /* DDHotKeyTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDHotKeyTextField.m; sourceTree = "<group>"; }; -		55CD8D50181C222C003799D0 /* DDHotKeyUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DDHotKeyUtilities.h; sourceTree = "<group>"; }; -		55CD8D51181C222C003799D0 /* DDHotKeyUtilities.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DDHotKeyUtilities.m; sourceTree = "<group>"; }; -		8D1107310486CEB800E47090 /* DDHotKey-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "DDHotKey-Info.plist"; sourceTree = "<group>"; }; -		8D1107320486CEB800E47090 /* DDHotKey.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DDHotKey.app; sourceTree = BUILT_PRODUCTS_DIR; }; +		55CD09032316E82D00D6A384 /* DDHotKeyCenter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDHotKeyCenter.swift; sourceTree = "<group>"; }; +		55CD09052316E8EE00D6A384 /* DDHotKeyUtilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDHotKeyUtilities.swift; sourceTree = "<group>"; }; +		55CD0917231723DF00D6A384 /* DDHotKeyTranslation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDHotKeyTranslation.swift; sourceTree = "<group>"; }; +		"DDHotKey::DDHotKey::Product" /* DDHotKey.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = DDHotKey.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +		"DDHotKey::DDHotKeyTests::Product" /* DDHotKeyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; path = DDHotKeyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +		OBJ_12 /* DDHotKeyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDHotKeyTests.swift; sourceTree = "<group>"; }; +		OBJ_13 /* XCTestManifests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = XCTestManifests.swift; sourceTree = "<group>"; }; +		OBJ_17 /* English.lproj */ = {isa = PBXFileReference; lastKnownFileType = folder; path = English.lproj; sourceTree = SOURCE_ROOT; }; +		OBJ_18 /* build */ = {isa = PBXFileReference; lastKnownFileType = folder; path = build; sourceTree = SOURCE_ROOT; }; +		OBJ_19 /* DDHotKeyCenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDHotKeyCenter.h; sourceTree = "<group>"; }; +		OBJ_20 /* DDHotKeyTextField.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDHotKeyTextField.h; sourceTree = "<group>"; }; +		OBJ_21 /* DDHotKey-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "DDHotKey-Info.plist"; sourceTree = "<group>"; }; +		OBJ_22 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; }; +		OBJ_23 /* README.markdown */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.markdown; sourceTree = "<group>"; }; +		OBJ_24 /* DDHotKeyAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDHotKeyAppDelegate.h; sourceTree = "<group>"; }; +		OBJ_25 /* DDHotKey_Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDHotKey_Prefix.pch; sourceTree = "<group>"; }; +		OBJ_26 /* DDHotKeyUtilities.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DDHotKeyUtilities.h; sourceTree = "<group>"; }; +		OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; }; +		OBJ_9 /* DDHotKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DDHotKey.swift; sourceTree = "<group>"; };  /* End PBXFileReference section */  /* Begin PBXFrameworksBuildPhase section */ -		8D11072E0486CEB800E47090 /* Frameworks */ = { +		OBJ_33 /* Frameworks */ = {  			isa = PBXFrameworksBuildPhase; -			buildActionMask = 2147483647; +			buildActionMask = 0;  			files = ( -				8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, -				55378E8C1135C0A70038E405 /* Carbon.framework in Frameworks */, +			); +			runOnlyForDeploymentPostprocessing = 0; +		}; +		OBJ_52 /* Frameworks */ = { +			isa = PBXFrameworksBuildPhase; +			buildActionMask = 0; +			files = ( +				OBJ_53 /* DDHotKey.framework in Frameworks */,  			);  			runOnlyForDeploymentPostprocessing = 0;  		};  /* End PBXFrameworksBuildPhase section */  /* Begin PBXGroup section */ -		080E96DDFE201D6D7F000001 /* Classes */ = { -			isa = PBXGroup; -			children = ( -				55CD8D55181C2F9E003799D0 /* DDHotKey */, -				256AC3D80F4B6AC300CF3369 /* DDHotKeyAppDelegate.h */, -				256AC3D90F4B6AC300CF3369 /* DDHotKeyAppDelegate.m */, -			); -			name = Classes; -			sourceTree = "<group>"; -		}; -		1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { +		OBJ_10 /* Tests */ = {  			isa = PBXGroup;  			children = ( -				55378E8B1135C0A70038E405 /* Carbon.framework */, -				1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, +				OBJ_11 /* DDHotKeyTests */,  			); -			name = "Linked Frameworks"; -			sourceTree = "<group>"; +			name = Tests; +			sourceTree = SOURCE_ROOT;  		}; -		1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { +		OBJ_11 /* DDHotKeyTests */ = {  			isa = PBXGroup;  			children = ( -				29B97324FDCFA39411CA2CEA /* AppKit.framework */, -				13E42FB307B3F0F600E4EEF1 /* CoreData.framework */, -				29B97325FDCFA39411CA2CEA /* Foundation.framework */, +				OBJ_12 /* DDHotKeyTests.swift */, +				OBJ_13 /* XCTestManifests.swift */,  			); -			name = "Other Frameworks"; -			sourceTree = "<group>"; +			name = DDHotKeyTests; +			path = Tests/DDHotKeyTests; +			sourceTree = SOURCE_ROOT;  		}; -		19C28FACFE9D520D11CA2CBB /* Products */ = { +		OBJ_14 /* Products */ = {  			isa = PBXGroup;  			children = ( -				8D1107320486CEB800E47090 /* DDHotKey.app */, +				"DDHotKey::DDHotKey::Product" /* DDHotKey.framework */, +				"DDHotKey::DDHotKeyTests::Product" /* DDHotKeyTests.xctest */,  			);  			name = Products; -			sourceTree = "<group>"; +			sourceTree = BUILT_PRODUCTS_DIR;  		}; -		29B97314FDCFA39411CA2CEA /* DDHotKey */ = { +		OBJ_5 /*  */ = {  			isa = PBXGroup;  			children = ( -				080E96DDFE201D6D7F000001 /* Classes */, -				29B97315FDCFA39411CA2CEA /* Other Sources */, -				29B97317FDCFA39411CA2CEA /* Resources */, -				29B97323FDCFA39411CA2CEA /* Frameworks */, -				19C28FACFE9D520D11CA2CBB /* Products */, +				OBJ_6 /* Package.swift */, +				OBJ_7 /* Sources */, +				OBJ_10 /* Tests */, +				OBJ_14 /* Products */, +				OBJ_17 /* English.lproj */, +				OBJ_18 /* build */, +				OBJ_19 /* DDHotKeyCenter.h */, +				OBJ_20 /* DDHotKeyTextField.h */, +				OBJ_21 /* DDHotKey-Info.plist */, +				OBJ_22 /* README.md */, +				OBJ_23 /* README.markdown */, +				OBJ_24 /* DDHotKeyAppDelegate.h */, +				OBJ_25 /* DDHotKey_Prefix.pch */, +				OBJ_26 /* DDHotKeyUtilities.h */,  			); -			name = DDHotKey; +			name = "";  			sourceTree = "<group>";  		}; -		29B97315FDCFA39411CA2CEA /* Other Sources */ = { +		OBJ_7 /* Sources */ = {  			isa = PBXGroup;  			children = ( -				256AC3F00F4B6AF500CF3369 /* DDHotKey_Prefix.pch */, -				29B97316FDCFA39411CA2CEA /* main.m */, +				OBJ_8 /* DDHotKey */,  			); -			name = "Other Sources"; -			sourceTree = "<group>"; -		}; -		29B97317FDCFA39411CA2CEA /* Resources */ = { -			isa = PBXGroup; -			children = ( -				8D1107310486CEB800E47090 /* DDHotKey-Info.plist */, -				089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, -				1DDD58140DA1D0A300B32029 /* MainMenu.xib */, -			); -			name = Resources; -			sourceTree = "<group>"; -		}; -		29B97323FDCFA39411CA2CEA /* Frameworks */ = { -			isa = PBXGroup; -			children = ( -				1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, -				1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, -			); -			name = Frameworks; -			sourceTree = "<group>"; +			name = Sources; +			sourceTree = SOURCE_ROOT;  		}; -		55CD8D55181C2F9E003799D0 /* DDHotKey */ = { +		OBJ_8 /* DDHotKey */ = {  			isa = PBXGroup;  			children = ( -				55CD8D4C181C222B003799D0 /* DDHotKeyCenter.h */, -				55CD8D4D181C222B003799D0 /* DDHotKeyCenter.m */, -				55CD8D4E181C222B003799D0 /* DDHotKeyTextField.h */, -				55CD8D4F181C222C003799D0 /* DDHotKeyTextField.m */, -				55CD8D50181C222C003799D0 /* DDHotKeyUtilities.h */, -				55CD8D51181C222C003799D0 /* DDHotKeyUtilities.m */, +				OBJ_9 /* DDHotKey.swift */, +				55CD09032316E82D00D6A384 /* DDHotKeyCenter.swift */, +				55CD0917231723DF00D6A384 /* DDHotKeyTranslation.swift */, +				55CD09052316E8EE00D6A384 /* DDHotKeyUtilities.swift */,  			);  			name = DDHotKey; -			sourceTree = "<group>"; +			path = Sources/DDHotKey; +			sourceTree = SOURCE_ROOT;  		};  /* End PBXGroup section */  /* Begin PBXNativeTarget section */ -		8D1107260486CEB800E47090 /* DDHotKey */ = { +		"DDHotKey::DDHotKey" /* DDHotKey */ = {  			isa = PBXNativeTarget; -			buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "DDHotKey" */; +			buildConfigurationList = OBJ_28 /* Build configuration list for PBXNativeTarget "DDHotKey" */;  			buildPhases = ( -				8D1107290486CEB800E47090 /* Resources */, -				8D11072C0486CEB800E47090 /* Sources */, -				8D11072E0486CEB800E47090 /* Frameworks */, +				OBJ_31 /* Sources */, +				OBJ_33 /* Frameworks */,  			);  			buildRules = (  			);  			dependencies = (  			);  			name = DDHotKey; -			productInstallPath = "$(HOME)/Applications";  			productName = DDHotKey; -			productReference = 8D1107320486CEB800E47090 /* DDHotKey.app */; -			productType = "com.apple.product-type.application"; +			productReference = "DDHotKey::DDHotKey::Product" /* DDHotKey.framework */; +			productType = "com.apple.product-type.framework"; +		}; +		"DDHotKey::DDHotKeyTests" /* DDHotKeyTests */ = { +			isa = PBXNativeTarget; +			buildConfigurationList = OBJ_46 /* Build configuration list for PBXNativeTarget "DDHotKeyTests" */; +			buildPhases = ( +				OBJ_49 /* Sources */, +				OBJ_52 /* Frameworks */, +			); +			buildRules = ( +			); +			dependencies = ( +				OBJ_54 /* PBXTargetDependency */, +			); +			name = DDHotKeyTests; +			productName = DDHotKeyTests; +			productReference = "DDHotKey::DDHotKeyTests::Product" /* DDHotKeyTests.xctest */; +			productType = "com.apple.product-type.bundle.unit-test"; +		}; +		"DDHotKey::SwiftPMPackageDescription" /* DDHotKeyPackageDescription */ = { +			isa = PBXNativeTarget; +			buildConfigurationList = OBJ_35 /* Build configuration list for PBXNativeTarget "DDHotKeyPackageDescription" */; +			buildPhases = ( +				OBJ_38 /* Sources */, +			); +			buildRules = ( +			); +			dependencies = ( +			); +			name = DDHotKeyPackageDescription; +			productName = DDHotKeyPackageDescription; +			productType = "com.apple.product-type.framework";  		};  /* End PBXNativeTarget section */  /* Begin PBXProject section */ -		29B97313FDCFA39411CA2CEA /* Project object */ = { +		OBJ_1 /* Project object */ = {  			isa = PBXProject;  			attributes = { -				LastUpgradeCheck = 0500; +				LastSwiftMigration = 9999; +				LastUpgradeCheck = 1100;  			}; -			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DDHotKey" */; +			buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "DDHotKey" */;  			compatibilityVersion = "Xcode 3.2"; -			developmentRegion = English; -			hasScannedForEncodings = 1; +			developmentRegion = en; +			hasScannedForEncodings = 0;  			knownRegions = ( -				English, -				Japanese, -				French, -				German, +				en, +				Base,  			); -			mainGroup = 29B97314FDCFA39411CA2CEA /* DDHotKey */; +			mainGroup = OBJ_5 /*  */; +			productRefGroup = OBJ_14 /* Products */;  			projectDirPath = "";  			projectRoot = "";  			targets = ( -				8D1107260486CEB800E47090 /* DDHotKey */, +				"DDHotKey::DDHotKey" /* DDHotKey */, +				"DDHotKey::SwiftPMPackageDescription" /* DDHotKeyPackageDescription */, +				"DDHotKey::DDHotKeyPackageTests::ProductTarget" /* DDHotKeyPackageTests */, +				"DDHotKey::DDHotKeyTests" /* DDHotKeyTests */,  			);  		};  /* End PBXProject section */ -/* Begin PBXResourcesBuildPhase section */ -		8D1107290486CEB800E47090 /* Resources */ = { -			isa = PBXResourcesBuildPhase; -			buildActionMask = 2147483647; +/* Begin PBXSourcesBuildPhase section */ +		OBJ_31 /* Sources */ = { +			isa = PBXSourcesBuildPhase; +			buildActionMask = 0;  			files = ( -				8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, -				1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */, +				55CD09062316E8EE00D6A384 /* DDHotKeyUtilities.swift in Sources */, +				55CD09042316E82D00D6A384 /* DDHotKeyCenter.swift in Sources */, +				OBJ_32 /* DDHotKey.swift in Sources */, +				55CD0918231723DF00D6A384 /* DDHotKeyTranslation.swift in Sources */,  			);  			runOnlyForDeploymentPostprocessing = 0;  		}; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ -		8D11072C0486CEB800E47090 /* Sources */ = { +		OBJ_38 /* Sources */ = { +			isa = PBXSourcesBuildPhase; +			buildActionMask = 0; +			files = ( +				OBJ_39 /* Package.swift in Sources */, +			); +			runOnlyForDeploymentPostprocessing = 0; +		}; +		OBJ_49 /* Sources */ = {  			isa = PBXSourcesBuildPhase; -			buildActionMask = 2147483647; +			buildActionMask = 0;  			files = ( -				8D11072D0486CEB800E47090 /* main.m in Sources */, -				55CD8D52181C222C003799D0 /* DDHotKeyCenter.m in Sources */, -				55CD8D54181C222C003799D0 /* DDHotKeyUtilities.m in Sources */, -				256AC3DA0F4B6AC300CF3369 /* DDHotKeyAppDelegate.m in Sources */, -				55CD8D53181C222C003799D0 /* DDHotKeyTextField.m in Sources */, +				OBJ_50 /* DDHotKeyTests.swift in Sources */, +				OBJ_51 /* XCTestManifests.swift in Sources */,  			);  			runOnlyForDeploymentPostprocessing = 0;  		};  /* End PBXSourcesBuildPhase section */ -/* Begin PBXVariantGroup section */ -		089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { -			isa = PBXVariantGroup; -			children = ( -				089C165DFE840E0CC02AAC07 /* English */, -			); -			name = InfoPlist.strings; -			sourceTree = "<group>"; +/* Begin PBXTargetDependency section */ +		OBJ_44 /* PBXTargetDependency */ = { +			isa = PBXTargetDependency; +			target = "DDHotKey::DDHotKeyTests" /* DDHotKeyTests */; +			targetProxy = 55CD09022316DF3300D6A384 /* PBXContainerItemProxy */;  		}; -		1DDD58140DA1D0A300B32029 /* MainMenu.xib */ = { -			isa = PBXVariantGroup; -			children = ( -				1DDD58150DA1D0A300B32029 /* English */, -			); -			name = MainMenu.xib; -			sourceTree = "<group>"; +		OBJ_54 /* PBXTargetDependency */ = { +			isa = PBXTargetDependency; +			target = "DDHotKey::DDHotKey" /* DDHotKey */; +			targetProxy = 55CD09012316DF3200D6A384 /* PBXContainerItemProxy */;  		}; -/* End PBXVariantGroup section */ +/* End PBXTargetDependency section */  /* Begin XCBuildConfiguration section */ -		C01FCF4B08A954540054247B /* Debug */ = { +		OBJ_29 /* Debug */ = {  			isa = XCBuildConfiguration;  			buildSettings = { -				ALWAYS_SEARCH_USER_PATHS = NO; -				COMBINE_HIDPI_IMAGES = YES; -				COPY_PHASE_STRIP = NO; -				GCC_DYNAMIC_NO_PIC = NO; -				GCC_MODEL_TUNING = G5; -				GCC_OPTIMIZATION_LEVEL = 0; -				GCC_PRECOMPILE_PREFIX_HEADER = YES; -				GCC_PREFIX_HEADER = DDHotKey_Prefix.pch; -				INFOPLIST_FILE = "DDHotKey-Info.plist"; -				INSTALL_PATH = "$(HOME)/Applications"; -				PRODUCT_NAME = DDHotKey; +				ENABLE_TESTABILITY = YES; +				FRAMEWORK_SEARCH_PATHS = ( +					"$(inherited)", +					"$(PLATFORM_DIR)/Developer/Library/Frameworks", +				); +				HEADER_SEARCH_PATHS = "$(inherited)"; +				INFOPLIST_FILE = DDHotKey.xcodeproj/DDHotKey_Info.plist; +				IPHONEOS_DEPLOYMENT_TARGET = 8.0; +				LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; +				MACOSX_DEPLOYMENT_TARGET = 10.10; +				OTHER_CFLAGS = "$(inherited)"; +				OTHER_LDFLAGS = "$(inherited)"; +				OTHER_SWIFT_FLAGS = "$(inherited)"; +				PRODUCT_BUNDLE_IDENTIFIER = DDHotKey; +				PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; +				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; +				SKIP_INSTALL = YES; +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; +				SWIFT_VERSION = 5.0; +				TARGET_NAME = DDHotKey; +				TVOS_DEPLOYMENT_TARGET = 9.0; +				WATCHOS_DEPLOYMENT_TARGET = 2.0;  			};  			name = Debug;  		}; -		C01FCF4C08A954540054247B /* Release */ = { -			isa = XCBuildConfiguration; -			buildSettings = { -				ALWAYS_SEARCH_USER_PATHS = NO; -				COMBINE_HIDPI_IMAGES = YES; -				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; -				GCC_MODEL_TUNING = G5; -				GCC_PRECOMPILE_PREFIX_HEADER = YES; -				GCC_PREFIX_HEADER = DDHotKey_Prefix.pch; -				INFOPLIST_FILE = "DDHotKey-Info.plist"; -				INSTALL_PATH = "$(HOME)/Applications"; -				PRODUCT_NAME = DDHotKey; -			}; -			name = Release; -		}; -		C01FCF4F08A954540054247B /* Debug */ = { +		OBJ_3 /* Debug */ = {  			isa = XCBuildConfiguration;  			buildSettings = {  				CLANG_ENABLE_OBJC_ARC = YES; +				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;  				CLANG_WARN_BOOL_CONVERSION = YES; +				CLANG_WARN_COMMA = YES;  				CLANG_WARN_CONSTANT_CONVERSION = YES; +				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;  				CLANG_WARN_EMPTY_BODY = YES;  				CLANG_WARN_ENUM_CONVERSION = YES; +				CLANG_WARN_INFINITE_RECURSION = YES;  				CLANG_WARN_INT_CONVERSION = YES; +				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; +				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; +				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; +				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; +				CLANG_WARN_STRICT_PROTOTYPES = YES; +				CLANG_WARN_SUSPICIOUS_MOVE = YES; +				CLANG_WARN_UNREACHABLE_CODE = YES;  				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; -				GCC_C_LANGUAGE_STANDARD = gnu99; +				COMBINE_HIDPI_IMAGES = YES; +				COPY_PHASE_STRIP = NO; +				DEBUG_INFORMATION_FORMAT = dwarf; +				DYLIB_INSTALL_NAME_BASE = "@rpath"; +				ENABLE_NS_ASSERTIONS = YES; +				ENABLE_STRICT_OBJC_MSGSEND = YES; +				ENABLE_TESTABILITY = YES; +				GCC_NO_COMMON_BLOCKS = YES;  				GCC_OPTIMIZATION_LEVEL = 0; -				GCC_VERSION = com.apple.compilers.llvm.clang.1_0; +				GCC_PREPROCESSOR_DEFINITIONS = ( +					"$(inherited)", +					"SWIFT_PACKAGE=1", +					"DEBUG=1", +				); +				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;  				GCC_WARN_ABOUT_RETURN_TYPE = YES;  				GCC_WARN_UNDECLARED_SELECTOR = YES;  				GCC_WARN_UNINITIALIZED_AUTOS = YES;  				GCC_WARN_UNUSED_FUNCTION = YES;  				GCC_WARN_UNUSED_VARIABLE = YES; +				MACOSX_DEPLOYMENT_TARGET = 10.10;  				ONLY_ACTIVE_ARCH = YES; +				OTHER_SWIFT_FLAGS = "-DXcode"; +				PRODUCT_NAME = "$(TARGET_NAME)";  				SDKROOT = macosx; +				SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG"; +				SWIFT_OPTIMIZATION_LEVEL = "-Onone"; +				USE_HEADERMAP = NO;  			};  			name = Debug;  		}; -		C01FCF5008A954540054247B /* Release */ = { +		OBJ_30 /* Release */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +				ENABLE_TESTABILITY = YES; +				FRAMEWORK_SEARCH_PATHS = ( +					"$(inherited)", +					"$(PLATFORM_DIR)/Developer/Library/Frameworks", +				); +				HEADER_SEARCH_PATHS = "$(inherited)"; +				INFOPLIST_FILE = DDHotKey.xcodeproj/DDHotKey_Info.plist; +				IPHONEOS_DEPLOYMENT_TARGET = 8.0; +				LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; +				MACOSX_DEPLOYMENT_TARGET = 10.10; +				OTHER_CFLAGS = "$(inherited)"; +				OTHER_LDFLAGS = "$(inherited)"; +				OTHER_SWIFT_FLAGS = "$(inherited)"; +				PRODUCT_BUNDLE_IDENTIFIER = DDHotKey; +				PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; +				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; +				SKIP_INSTALL = YES; +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; +				SWIFT_VERSION = 5.0; +				TARGET_NAME = DDHotKey; +				TVOS_DEPLOYMENT_TARGET = 9.0; +				WATCHOS_DEPLOYMENT_TARGET = 2.0; +			}; +			name = Release; +		}; +		OBJ_36 /* Debug */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +				LD = /usr/bin/true; +				OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode11b1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; +				SWIFT_VERSION = 5.0; +			}; +			name = Debug; +		}; +		OBJ_37 /* Release */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +				LD = /usr/bin/true; +				OTHER_SWIFT_FLAGS = "-swift-version 5 -I $(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode11b1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; +				SWIFT_VERSION = 5.0; +			}; +			name = Release; +		}; +		OBJ_4 /* Release */ = {  			isa = XCBuildConfiguration;  			buildSettings = {  				CLANG_ENABLE_OBJC_ARC = YES; +				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;  				CLANG_WARN_BOOL_CONVERSION = YES; +				CLANG_WARN_COMMA = YES;  				CLANG_WARN_CONSTANT_CONVERSION = YES; +				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;  				CLANG_WARN_EMPTY_BODY = YES;  				CLANG_WARN_ENUM_CONVERSION = YES; +				CLANG_WARN_INFINITE_RECURSION = YES;  				CLANG_WARN_INT_CONVERSION = YES; +				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; +				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; +				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; +				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; +				CLANG_WARN_STRICT_PROTOTYPES = YES; +				CLANG_WARN_SUSPICIOUS_MOVE = YES; +				CLANG_WARN_UNREACHABLE_CODE = YES;  				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; -				GCC_C_LANGUAGE_STANDARD = gnu99; -				GCC_VERSION = com.apple.compilers.llvm.clang.1_0; +				COMBINE_HIDPI_IMAGES = YES; +				COPY_PHASE_STRIP = YES; +				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; +				DYLIB_INSTALL_NAME_BASE = "@rpath"; +				ENABLE_STRICT_OBJC_MSGSEND = YES; +				GCC_NO_COMMON_BLOCKS = YES; +				GCC_OPTIMIZATION_LEVEL = s; +				GCC_PREPROCESSOR_DEFINITIONS = ( +					"$(inherited)", +					"SWIFT_PACKAGE=1", +				); +				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;  				GCC_WARN_ABOUT_RETURN_TYPE = YES;  				GCC_WARN_UNDECLARED_SELECTOR = YES;  				GCC_WARN_UNINITIALIZED_AUTOS = YES;  				GCC_WARN_UNUSED_FUNCTION = YES;  				GCC_WARN_UNUSED_VARIABLE = YES; +				MACOSX_DEPLOYMENT_TARGET = 10.10; +				OTHER_SWIFT_FLAGS = "-DXcode"; +				PRODUCT_NAME = "$(TARGET_NAME)";  				SDKROOT = macosx; +				SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvos appletvsimulator watchos watchsimulator"; +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE"; +				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; +				USE_HEADERMAP = NO; +			}; +			name = Release; +		}; +		OBJ_42 /* Debug */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +			}; +			name = Debug; +		}; +		OBJ_43 /* Release */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +			}; +			name = Release; +		}; +		OBJ_47 /* Debug */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; +				CLANG_ENABLE_MODULES = YES; +				FRAMEWORK_SEARCH_PATHS = ( +					"$(inherited)", +					"$(PLATFORM_DIR)/Developer/Library/Frameworks", +				); +				HEADER_SEARCH_PATHS = "$(inherited)"; +				INFOPLIST_FILE = DDHotKey.xcodeproj/DDHotKeyTests_Info.plist; +				IPHONEOS_DEPLOYMENT_TARGET = 8.0; +				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks"; +				MACOSX_DEPLOYMENT_TARGET = 10.10; +				OTHER_CFLAGS = "$(inherited)"; +				OTHER_LDFLAGS = "$(inherited)"; +				OTHER_SWIFT_FLAGS = "$(inherited)"; +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; +				SWIFT_VERSION = 5.0; +				TARGET_NAME = DDHotKeyTests; +				TVOS_DEPLOYMENT_TARGET = 9.0; +				WATCHOS_DEPLOYMENT_TARGET = 2.0; +			}; +			name = Debug; +		}; +		OBJ_48 /* Release */ = { +			isa = XCBuildConfiguration; +			buildSettings = { +				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; +				CLANG_ENABLE_MODULES = YES; +				FRAMEWORK_SEARCH_PATHS = ( +					"$(inherited)", +					"$(PLATFORM_DIR)/Developer/Library/Frameworks", +				); +				HEADER_SEARCH_PATHS = "$(inherited)"; +				INFOPLIST_FILE = DDHotKey.xcodeproj/DDHotKeyTests_Info.plist; +				IPHONEOS_DEPLOYMENT_TARGET = 8.0; +				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @loader_path/../Frameworks @loader_path/Frameworks"; +				MACOSX_DEPLOYMENT_TARGET = 10.10; +				OTHER_CFLAGS = "$(inherited)"; +				OTHER_LDFLAGS = "$(inherited)"; +				OTHER_SWIFT_FLAGS = "$(inherited)"; +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; +				SWIFT_VERSION = 5.0; +				TARGET_NAME = DDHotKeyTests; +				TVOS_DEPLOYMENT_TARGET = 9.0; +				WATCHOS_DEPLOYMENT_TARGET = 2.0;  			};  			name = Release;  		};  /* End XCBuildConfiguration section */  /* Begin XCConfigurationList section */ -		C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "DDHotKey" */ = { +		OBJ_2 /* Build configuration list for PBXProject "DDHotKey" */ = { +			isa = XCConfigurationList; +			buildConfigurations = ( +				OBJ_3 /* Debug */, +				OBJ_4 /* Release */, +			); +			defaultConfigurationIsVisible = 0; +			defaultConfigurationName = Release; +		}; +		OBJ_28 /* Build configuration list for PBXNativeTarget "DDHotKey" */ = { +			isa = XCConfigurationList; +			buildConfigurations = ( +				OBJ_29 /* Debug */, +				OBJ_30 /* Release */, +			); +			defaultConfigurationIsVisible = 0; +			defaultConfigurationName = Release; +		}; +		OBJ_35 /* Build configuration list for PBXNativeTarget "DDHotKeyPackageDescription" */ = { +			isa = XCConfigurationList; +			buildConfigurations = ( +				OBJ_36 /* Debug */, +				OBJ_37 /* Release */, +			); +			defaultConfigurationIsVisible = 0; +			defaultConfigurationName = Release; +		}; +		OBJ_41 /* Build configuration list for PBXAggregateTarget "DDHotKeyPackageTests" */ = {  			isa = XCConfigurationList;  			buildConfigurations = ( -				C01FCF4B08A954540054247B /* Debug */, -				C01FCF4C08A954540054247B /* Release */, +				OBJ_42 /* Debug */, +				OBJ_43 /* Release */,  			);  			defaultConfigurationIsVisible = 0;  			defaultConfigurationName = Release;  		}; -		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DDHotKey" */ = { +		OBJ_46 /* Build configuration list for PBXNativeTarget "DDHotKeyTests" */ = {  			isa = XCConfigurationList;  			buildConfigurations = ( -				C01FCF4F08A954540054247B /* Debug */, -				C01FCF5008A954540054247B /* Release */, +				OBJ_47 /* Debug */, +				OBJ_48 /* Release */,  			);  			defaultConfigurationIsVisible = 0;  			defaultConfigurationName = Release;  		};  /* End XCConfigurationList section */  	}; -	rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +	rootObject = OBJ_1 /* Project object */;  } diff --git a/DDHotKey.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/DDHotKey.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 2bd2ea5..fe1aa71 100644 --- a/DDHotKey.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/DDHotKey.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@  <Workspace     version = "1.0">     <FileRef -      location = "self:DDHotKey.xcodeproj"> +      location = "self:">     </FileRef> -</Workspace> +</Workspace>
\ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..de457bb --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# DDHotKey + +A description of this package. | 
