Re-structure example (#25)
* Re-structure example * Update main.yml * Track exmaple’s scheme * Update main.yml * Update .gitignore * Update main.yml * Update main.yml * Update main.yml
This commit is contained in:
Родитель
1172e08b78
Коммит
4fe97849a8
|
@ -14,9 +14,4 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Build
|
||||
run: xcodebuild -configuration Release | xcpretty -s
|
||||
|
||||
- name: Build DarkModeKitExample
|
||||
run: |
|
||||
cd Examples/DarkModeKitExample/
|
||||
xcodebuild build -scheme DarkModeKitExample -destination 'platform=iOS Simulator,name=iPhone 11 Pro' -configuration Release | xcpretty
|
||||
run: xcodebuild -scheme DarkModeKit -destination generic/platform=iOS -configuration Release | xcpretty -s
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
.DS_Store
|
||||
|
||||
# Xcode
|
||||
build
|
||||
xcuserdata
|
||||
|
||||
# Swift Package Manager
|
||||
|
|
|
@ -11,6 +11,13 @@
|
|||
8C071AED23683BF5001AB7B2 /* NSObject+DarkModeKit.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C071AEB23683BF5001AB7B2 /* NSObject+DarkModeKit.m */; };
|
||||
8C1915D82361EFDB004A606A /* DarkModeKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C1915CE2361EFDB004A606A /* DarkModeKit.framework */; };
|
||||
8C1915DD2361EFDB004A606A /* DarkModeKitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C1915DC2361EFDB004A606A /* DarkModeKitTests.swift */; };
|
||||
8CAFD9D523715FAA001A63B8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CAFD9D423715FAA001A63B8 /* AppDelegate.swift */; };
|
||||
8CAFD9D923715FAA001A63B8 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CAFD9D823715FAA001A63B8 /* ViewController.swift */; };
|
||||
8CAFD9DE23715FAB001A63B8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8CAFD9DD23715FAB001A63B8 /* Assets.xcassets */; };
|
||||
8CAFD9E123715FAB001A63B8 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8CAFD9DF23715FAB001A63B8 /* LaunchScreen.storyboard */; };
|
||||
8CAFD9E723716054001A63B8 /* DarkModeKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C1915CE2361EFDB004A606A /* DarkModeKit.framework */; };
|
||||
8CAFD9E823716054001A63B8 /* DarkModeKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8C1915CE2361EFDB004A606A /* DarkModeKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
||||
8CAFD9ED2371606D001A63B8 /* NavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CAFD9EC2371606D001A63B8 /* NavigationController.swift */; };
|
||||
8CDA628C2366DAA9004895B5 /* DarkModeKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CDA62702366DAA9004895B5 /* DarkModeKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
8CDA628D2366DAA9004895B5 /* DMTraitCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CDA62712366DAA9004895B5 /* DMTraitCollection.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
8CDA628E2366DAA9004895B5 /* DMTraitCollection.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CDA62722366DAA9004895B5 /* DMTraitCollection.m */; };
|
||||
|
@ -46,8 +53,29 @@
|
|||
remoteGlobalIDString = 8C1915CD2361EFDB004A606A;
|
||||
remoteInfo = DarkModeKit;
|
||||
};
|
||||
8CAFD9E923716054001A63B8 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 8C1915C52361EFDB004A606A /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 8C1915CD2361EFDB004A606A;
|
||||
remoteInfo = DarkModeKit;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXCopyFilesBuildPhase section */
|
||||
8CAFD9EB23716054001A63B8 /* Embed Frameworks */ = {
|
||||
isa = PBXCopyFilesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
dstPath = "";
|
||||
dstSubfolderSpec = 10;
|
||||
files = (
|
||||
8CAFD9E823716054001A63B8 /* DarkModeKit.framework in Embed Frameworks */,
|
||||
);
|
||||
name = "Embed Frameworks";
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXCopyFilesBuildPhase section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
8C071AEA23683BF5001AB7B2 /* NSObject+DarkModeKit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSObject+DarkModeKit.h"; sourceTree = "<group>"; };
|
||||
8C071AEB23683BF5001AB7B2 /* NSObject+DarkModeKit.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSObject+DarkModeKit.m"; sourceTree = "<group>"; };
|
||||
|
@ -56,6 +84,13 @@
|
|||
8C1915D72361EFDB004A606A /* DarkModeKitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DarkModeKitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8C1915DC2361EFDB004A606A /* DarkModeKitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DarkModeKitTests.swift; sourceTree = "<group>"; };
|
||||
8C1915DE2361EFDB004A606A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
8CAFD9D223715FAA001A63B8 /* DarkModeKitExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DarkModeKitExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8CAFD9D423715FAA001A63B8 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
8CAFD9D823715FAA001A63B8 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
|
||||
8CAFD9DD23715FAB001A63B8 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
8CAFD9E023715FAB001A63B8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
8CAFD9E223715FAB001A63B8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
8CAFD9EC2371606D001A63B8 /* NavigationController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NavigationController.swift; sourceTree = "<group>"; };
|
||||
8CDA62702366DAA9004895B5 /* DarkModeKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DarkModeKit.h; sourceTree = "<group>"; };
|
||||
8CDA62712366DAA9004895B5 /* DMTraitCollection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DMTraitCollection.h; sourceTree = "<group>"; };
|
||||
8CDA62722366DAA9004895B5 /* DMTraitCollection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DMTraitCollection.m; sourceTree = "<group>"; };
|
||||
|
@ -99,6 +134,14 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
8CAFD9CF23715FAA001A63B8 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8CAFD9E723716054001A63B8 /* DarkModeKit.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
|
@ -107,6 +150,7 @@
|
|||
children = (
|
||||
8C071AF023684588001AB7B2 /* DarkModeCore */,
|
||||
8C1915D02361EFDB004A606A /* DarkModeKit */,
|
||||
8CAFD9D323715FAA001A63B8 /* DarkModeKitExample */,
|
||||
);
|
||||
path = Sources;
|
||||
sourceTree = "<group>";
|
||||
|
@ -141,6 +185,7 @@
|
|||
8C071AEE236844C9001AB7B2 /* Sources */,
|
||||
8C071AEF23684531001AB7B2 /* Tests */,
|
||||
8C1915CF2361EFDB004A606A /* Products */,
|
||||
8CAFD9E623716054001A63B8 /* Frameworks */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
|
@ -149,6 +194,7 @@
|
|||
children = (
|
||||
8C1915CE2361EFDB004A606A /* DarkModeKit.framework */,
|
||||
8C1915D72361EFDB004A606A /* DarkModeKitTests.xctest */,
|
||||
8CAFD9D223715FAA001A63B8 /* DarkModeKitExample.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
|
@ -172,6 +218,26 @@
|
|||
path = DarkModeKitTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CAFD9D323715FAA001A63B8 /* DarkModeKitExample */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8CAFD9D423715FAA001A63B8 /* AppDelegate.swift */,
|
||||
8CAFD9EC2371606D001A63B8 /* NavigationController.swift */,
|
||||
8CAFD9D823715FAA001A63B8 /* ViewController.swift */,
|
||||
8CAFD9DD23715FAB001A63B8 /* Assets.xcassets */,
|
||||
8CAFD9DF23715FAB001A63B8 /* LaunchScreen.storyboard */,
|
||||
8CAFD9E223715FAB001A63B8 /* Info.plist */,
|
||||
);
|
||||
path = DarkModeKitExample;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CAFD9E623716054001A63B8 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CDA62772366DAA9004895B5 /* ThemeableExtensions */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
|
@ -250,6 +316,25 @@
|
|||
productReference = 8C1915D72361EFDB004A606A /* DarkModeKitTests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
8CAFD9D123715FAA001A63B8 /* DarkModeKitExample */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 8CAFD9E523715FAB001A63B8 /* Build configuration list for PBXNativeTarget "DarkModeKitExample" */;
|
||||
buildPhases = (
|
||||
8CAFD9CE23715FAA001A63B8 /* Sources */,
|
||||
8CAFD9CF23715FAA001A63B8 /* Frameworks */,
|
||||
8CAFD9D023715FAA001A63B8 /* Resources */,
|
||||
8CAFD9EB23716054001A63B8 /* Embed Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
8CAFD9EA23716054001A63B8 /* PBXTargetDependency */,
|
||||
);
|
||||
name = DarkModeKitExample;
|
||||
productName = DarkModeKitExample;
|
||||
productReference = 8CAFD9D223715FAA001A63B8 /* DarkModeKitExample.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
|
@ -267,6 +352,9 @@
|
|||
8C1915D62361EFDB004A606A = {
|
||||
CreatedOnToolsVersion = 11.1;
|
||||
};
|
||||
8CAFD9D123715FAA001A63B8 = {
|
||||
CreatedOnToolsVersion = 11.1;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 8C1915C82361EFDB004A606A /* Build configuration list for PBXProject "DarkModeKit" */;
|
||||
|
@ -284,6 +372,7 @@
|
|||
targets = (
|
||||
8C1915CD2361EFDB004A606A /* DarkModeKit */,
|
||||
8C1915D62361EFDB004A606A /* DarkModeKitTests */,
|
||||
8CAFD9D123715FAA001A63B8 /* DarkModeKitExample */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
@ -303,6 +392,15 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
8CAFD9D023715FAA001A63B8 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8CAFD9E123715FAB001A63B8 /* LaunchScreen.storyboard in Resources */,
|
||||
8CAFD9DE23715FAB001A63B8 /* Assets.xcassets in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
|
@ -343,6 +441,16 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
8CAFD9CE23715FAA001A63B8 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8CAFD9D923715FAA001A63B8 /* ViewController.swift in Sources */,
|
||||
8CAFD9ED2371606D001A63B8 /* NavigationController.swift in Sources */,
|
||||
8CAFD9D523715FAA001A63B8 /* AppDelegate.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
|
@ -351,8 +459,24 @@
|
|||
target = 8C1915CD2361EFDB004A606A /* DarkModeKit */;
|
||||
targetProxy = 8C1915D92361EFDB004A606A /* PBXContainerItemProxy */;
|
||||
};
|
||||
8CAFD9EA23716054001A63B8 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = 8C1915CD2361EFDB004A606A /* DarkModeKit */;
|
||||
targetProxy = 8CAFD9E923716054001A63B8 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
8CAFD9DF23715FAB001A63B8 /* LaunchScreen.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
8CAFD9E023715FAB001A63B8 /* Base */,
|
||||
);
|
||||
name = LaunchScreen.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
8C1915E02361EFDB004A606A /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
|
@ -561,6 +685,42 @@
|
|||
};
|
||||
name = Release;
|
||||
};
|
||||
8CAFD9E323715FAB001A63B8 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
INFOPLIST_FILE = Sources/DarkModeKitExample/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.DarkModeKitExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
8CAFD9E423715FAB001A63B8 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
INFOPLIST_FILE = Sources/DarkModeKitExample/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.DarkModeKitExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
|
@ -591,6 +751,15 @@
|
|||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
8CAFD9E523715FAB001A63B8 /* Build configuration list for PBXNativeTarget "DarkModeKitExample" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
8CAFD9E323715FAB001A63B8 /* Debug */,
|
||||
8CAFD9E423715FAB001A63B8 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 8C1915C52361EFDB004A606A /* Project object */;
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "8CD2684C236AB10800121FF8"
|
||||
BlueprintIdentifier = "8CAFD9D123715FAA001A63B8"
|
||||
BuildableName = "DarkModeKitExample.app"
|
||||
BlueprintName = "DarkModeKitExample"
|
||||
ReferencedContainer = "container:DarkModeKitExample.xcodeproj">
|
||||
ReferencedContainer = "container:DarkModeKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
|
@ -44,10 +44,10 @@
|
|||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "8CD2684C236AB10800121FF8"
|
||||
BlueprintIdentifier = "8CAFD9D123715FAA001A63B8"
|
||||
BuildableName = "DarkModeKitExample.app"
|
||||
BlueprintName = "DarkModeKitExample"
|
||||
ReferencedContainer = "container:DarkModeKitExample.xcodeproj">
|
||||
ReferencedContainer = "container:DarkModeKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
|
@ -61,10 +61,10 @@
|
|||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "8CD2684C236AB10800121FF8"
|
||||
BlueprintIdentifier = "8CAFD9D123715FAA001A63B8"
|
||||
BuildableName = "DarkModeKitExample.app"
|
||||
BlueprintName = "DarkModeKitExample"
|
||||
ReferencedContainer = "container:DarkModeKitExample.xcodeproj">
|
||||
ReferencedContainer = "container:DarkModeKit.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
|
@ -1,351 +0,0 @@
|
|||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 52;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
8C5FC2ED236B253A00776C7D /* NavigationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C5FC2EC236B253A00776C7D /* NavigationController.swift */; };
|
||||
8CD26851236AB10800121FF8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD26850236AB10800121FF8 /* AppDelegate.swift */; };
|
||||
8CD26855236AB10800121FF8 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD26854236AB10800121FF8 /* ViewController.swift */; };
|
||||
8CD2685A236AB10900121FF8 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8CD26859236AB10900121FF8 /* Assets.xcassets */; };
|
||||
8CD2685D236AB10900121FF8 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8CD2685B236AB10900121FF8 /* LaunchScreen.storyboard */; };
|
||||
8CD26867236AB1FA00121FF8 /* DarkModeKit in Frameworks */ = {isa = PBXBuildFile; productRef = 8CD26866236AB1FA00121FF8 /* DarkModeKit */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
8C5FC2EC236B253A00776C7D /* NavigationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavigationController.swift; sourceTree = "<group>"; };
|
||||
8CD2684D236AB10800121FF8 /* DarkModeKitExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DarkModeKitExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8CD26850236AB10800121FF8 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
8CD26854236AB10800121FF8 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
|
||||
8CD26859236AB10900121FF8 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
||||
8CD2685C236AB10900121FF8 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||
8CD2685E236AB10900121FF8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
8CD26864236AB1ED00121FF8 /* DarkModeKit */ = {isa = PBXFileReference; lastKnownFileType = folder; name = DarkModeKit; path = ../..; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
8CD2684A236AB10800121FF8 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8CD26867236AB1FA00121FF8 /* DarkModeKit in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
8CD26844236AB10800121FF8 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8CD26864236AB1ED00121FF8 /* DarkModeKit */,
|
||||
8CD2684F236AB10800121FF8 /* DarkModeKitExample */,
|
||||
8CD2684E236AB10800121FF8 /* Products */,
|
||||
8CD26865236AB1FA00121FF8 /* Frameworks */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CD2684E236AB10800121FF8 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8CD2684D236AB10800121FF8 /* DarkModeKitExample.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CD2684F236AB10800121FF8 /* DarkModeKitExample */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8CD26850236AB10800121FF8 /* AppDelegate.swift */,
|
||||
8C5FC2EC236B253A00776C7D /* NavigationController.swift */,
|
||||
8CD26854236AB10800121FF8 /* ViewController.swift */,
|
||||
8CD26859236AB10900121FF8 /* Assets.xcassets */,
|
||||
8CD2685B236AB10900121FF8 /* LaunchScreen.storyboard */,
|
||||
8CD2685E236AB10900121FF8 /* Info.plist */,
|
||||
);
|
||||
path = DarkModeKitExample;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CD26865236AB1FA00121FF8 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
8CD2684C236AB10800121FF8 /* DarkModeKitExample */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 8CD26861236AB10900121FF8 /* Build configuration list for PBXNativeTarget "DarkModeKitExample" */;
|
||||
buildPhases = (
|
||||
8CD26849236AB10800121FF8 /* Sources */,
|
||||
8CD2684A236AB10800121FF8 /* Frameworks */,
|
||||
8CD2684B236AB10800121FF8 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = DarkModeKitExample;
|
||||
packageProductDependencies = (
|
||||
8CD26866236AB1FA00121FF8 /* DarkModeKit */,
|
||||
);
|
||||
productName = DarkModeKitExample;
|
||||
productReference = 8CD2684D236AB10800121FF8 /* DarkModeKitExample.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
8CD26845236AB10800121FF8 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 1110;
|
||||
LastUpgradeCheck = 1110;
|
||||
ORGANIZATIONNAME = "Microsoft Corporation";
|
||||
TargetAttributes = {
|
||||
8CD2684C236AB10800121FF8 = {
|
||||
CreatedOnToolsVersion = 11.1;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 8CD26848236AB10800121FF8 /* Build configuration list for PBXProject "DarkModeKitExample" */;
|
||||
compatibilityVersion = "Xcode 9.3";
|
||||
developmentRegion = en;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 8CD26844236AB10800121FF8;
|
||||
productRefGroup = 8CD2684E236AB10800121FF8 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
8CD2684C236AB10800121FF8 /* DarkModeKitExample */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
8CD2684B236AB10800121FF8 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8CD2685D236AB10900121FF8 /* LaunchScreen.storyboard in Resources */,
|
||||
8CD2685A236AB10900121FF8 /* Assets.xcassets in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
8CD26849236AB10800121FF8 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
8CD26855236AB10800121FF8 /* ViewController.swift in Sources */,
|
||||
8C5FC2ED236B253A00776C7D /* NavigationController.swift in Sources */,
|
||||
8CD26851236AB10800121FF8 /* AppDelegate.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
8CD2685B236AB10900121FF8 /* LaunchScreen.storyboard */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
8CD2685C236AB10900121FF8 /* Base */,
|
||||
);
|
||||
name = LaunchScreen.storyboard;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
8CD2685F236AB10900121FF8 /* 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_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;
|
||||
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;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||
MTL_FAST_MATH = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
8CD26860236AB10900121FF8 /* 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_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;
|
||||
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;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
MTL_FAST_MATH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
8CD26862236AB10900121FF8 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
INFOPLIST_FILE = DarkModeKitExample/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.DarkModeKitExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
8CD26863236AB10900121FF8 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
INFOPLIST_FILE = DarkModeKitExample/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.DarkModeKitExample;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
8CD26848236AB10800121FF8 /* Build configuration list for PBXProject "DarkModeKitExample" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
8CD2685F236AB10900121FF8 /* Debug */,
|
||||
8CD26860236AB10900121FF8 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
8CD26861236AB10900121FF8 /* Build configuration list for PBXNativeTarget "DarkModeKitExample" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
8CD26862236AB10900121FF8 /* Debug */,
|
||||
8CD26863236AB10900121FF8 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
8CD26866236AB1FA00121FF8 /* DarkModeKit */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
productName = DarkModeKit;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = 8CD26845236AB10800121FF8 /* Project object */;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:DarkModeKitExample.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
|
@ -3,7 +3,6 @@
|
|||
// Licensed under the MIT License.
|
||||
//
|
||||
|
||||
import DarkModeCore
|
||||
import DarkModeKit
|
||||
import UIKit
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
// Licensed under the MIT License.
|
||||
//
|
||||
|
||||
import DarkModeCore
|
||||
import DarkModeKit
|
||||
import UIKit
|
||||
|
Загрузка…
Ссылка в новой задаче