1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00

Move EnvTest to Commons

This commit is contained in:
Tae Won Ha 2020-08-19 00:57:33 +02:00
parent 103db00027
commit 4f8c0391dd
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
8 changed files with 373 additions and 21 deletions

View File

@ -0,0 +1,345 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objects = {
/* Begin PBXBuildFile section */
4B7FBFFB24EC936C002D12A1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B7FBFFA24EC936C002D12A1 /* AppDelegate.swift */; };
4B7FBFFD24EC936E002D12A1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B7FBFFC24EC936E002D12A1 /* Assets.xcassets */; };
4B7FC00024EC936E002D12A1 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4B7FBFFE24EC936E002D12A1 /* MainMenu.xib */; };
4B7FC00824EC9425002D12A1 /* Commons in Frameworks */ = {isa = PBXBuildFile; productRef = 4B7FC00724EC9425002D12A1 /* Commons */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
4B7FBFF824EC936C002D12A1 /* EnvVarTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = EnvVarTest.app; sourceTree = BUILT_PRODUCTS_DIR; };
4B7FBFFA24EC936C002D12A1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4B7FBFFC24EC936E002D12A1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4B7FBFFF24EC936E002D12A1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
4B7FC00124EC936E002D12A1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
4B7FBFF524EC936C002D12A1 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4B7FC00824EC9425002D12A1 /* Commons in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
4B7FBFDA24EC92F2002D12A1 = {
isa = PBXGroup;
children = (
4B7FBFF924EC936C002D12A1 /* EnvVarTest */,
4B7FBFE424EC92F2002D12A1 /* Products */,
4B7FC00624EC9425002D12A1 /* Frameworks */,
);
sourceTree = "<group>";
};
4B7FBFE424EC92F2002D12A1 /* Products */ = {
isa = PBXGroup;
children = (
4B7FBFF824EC936C002D12A1 /* EnvVarTest.app */,
);
name = Products;
sourceTree = "<group>";
};
4B7FBFF924EC936C002D12A1 /* EnvVarTest */ = {
isa = PBXGroup;
children = (
4B7FBFFA24EC936C002D12A1 /* AppDelegate.swift */,
4B7FBFFC24EC936E002D12A1 /* Assets.xcassets */,
4B7FBFFE24EC936E002D12A1 /* MainMenu.xib */,
4B7FC00124EC936E002D12A1 /* Info.plist */,
);
path = EnvVarTest;
sourceTree = "<group>";
};
4B7FC00624EC9425002D12A1 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
4B7FBFF724EC936C002D12A1 /* EnvVarTest */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4B7FC00324EC936E002D12A1 /* Build configuration list for PBXNativeTarget "EnvVarTest" */;
buildPhases = (
4B7FBFF424EC936C002D12A1 /* Sources */,
4B7FBFF524EC936C002D12A1 /* Frameworks */,
4B7FBFF624EC936C002D12A1 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = EnvVarTest;
packageProductDependencies = (
4B7FC00724EC9425002D12A1 /* Commons */,
);
productName = EnvVarTest;
productReference = 4B7FBFF824EC936C002D12A1 /* EnvVarTest.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
4B7FBFDB24EC92F2002D12A1 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1200;
LastUpgradeCheck = 1200;
TargetAttributes = {
4B7FBFF724EC936C002D12A1 = {
CreatedOnToolsVersion = 12.0;
};
};
};
buildConfigurationList = 4B7FBFDE24EC92F2002D12A1 /* Build configuration list for PBXProject "CommonsSupport" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 4B7FBFDA24EC92F2002D12A1;
productRefGroup = 4B7FBFE424EC92F2002D12A1 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
4B7FBFF724EC936C002D12A1 /* EnvVarTest */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
4B7FBFF624EC936C002D12A1 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4B7FBFFD24EC936E002D12A1 /* Assets.xcassets in Resources */,
4B7FC00024EC936E002D12A1 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
4B7FBFF424EC936C002D12A1 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4B7FBFFB24EC936C002D12A1 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
4B7FBFFE24EC936E002D12A1 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
4B7FBFFF24EC936E002D12A1 /* Base */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
4B7FBFEF24EC92F3002D12A1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = 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_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
4B7FBFF024EC92F3002D12A1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = 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_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
};
name = Release;
};
4B7FC00424EC936E002D12A1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = EnvVarTest/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = com.qvacua.EnvVarTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SWIFT_VERSION = 5.0;
};
name = Debug;
};
4B7FC00524EC936E002D12A1 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = EnvVarTest/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.15;
PRODUCT_BUNDLE_IDENTIFIER = com.qvacua.EnvVarTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
SWIFT_VERSION = 5.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
4B7FBFDE24EC92F2002D12A1 /* Build configuration list for PBXProject "CommonsSupport" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4B7FBFEF24EC92F3002D12A1 /* Debug */,
4B7FBFF024EC92F3002D12A1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4B7FC00324EC936E002D12A1 /* Build configuration list for PBXNativeTarget "EnvVarTest" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4B7FC00424EC936E002D12A1 /* Debug */,
4B7FC00524EC936E002D12A1 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin XCSwiftPackageProductDependency section */
4B7FC00724EC9425002D12A1 /* Commons */ = {
isa = XCSwiftPackageProductDependency;
productName = Commons;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 4B7FBFDB24EC92F2002D12A1 /* Project object */;
}

View File

@ -1,12 +1,10 @@
//
// AppDelegate.swift
// EnvTest
//
// Created by Tae Won Ha on 12.07.20.
// Copyright © 2020 Tae Won Ha. All rights reserved.
//
/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Cocoa
import Commons
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {

View File

@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="16097" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17147" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16097"/>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17147"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@ -12,7 +13,7 @@
</customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="EnvTest" customModuleProvider="target">
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="EnvVarTest" customModuleProvider="target">
<connections>
<outlet property="textView" destination="Pa8-WR-2pk" id="mpC-ja-sK7"/>
<outlet property="window" destination="QvC-M9-y7g" id="gIp-Ho-8D9"/>
@ -21,9 +22,9 @@
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
<menu title="Main Menu" systemMenu="main" id="AYu-sK-qS6">
<items>
<menuItem title="EnvTest" id="1Xt-HY-uBw">
<menuItem title="EnvVarTest" id="1Xt-HY-uBw">
<modifierMask key="keyEquivalentModifierMask"/>
<menu key="submenu" title="EnvTest" systemMenu="apple" id="uQy-DD-JDr">
<menu key="submenu" title="EnvVarTest" systemMenu="apple" id="uQy-DD-JDr">
<items>
<menuItem title="About EnvTest" id="5kV-Vb-QxS">
<modifierMask key="keyEquivalentModifierMask"/>
@ -694,7 +695,7 @@
<rect key="frame" x="0.0" y="0.0" width="480" height="360"/>
<clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="P9E-bd-O3r">
<rect key="frame" x="0.0" y="0.0" width="480" height="360"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<textView editable="NO" importsGraphics="NO" richText="NO" verticallyResizable="YES" findStyle="bar" smartInsertDelete="YES" id="Pa8-WR-2pk">
<rect key="frame" x="0.0" y="0.0" width="480" height="360"/>

View File

@ -17,20 +17,14 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>SNAPSHOT-357</string>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>357</string>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 Tae Won Ha. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSSupportsAutomaticTermination</key>
<true/>
<key>NSSupportsSuddenTermination</key>
<true/>
</dict>
</plist>

View File

@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Commons/Support/CommonsSupport.xcodeproj">
</FileRef>
<FileRef
location = "group:RxPack/Support/RxPackSupport.xcodeproj">
</FileRef>