[0.1.4] fix visibility issue in terms of animation

This commit is contained in:
Shial 2018-03-01 16:23:40 +11:00
parent b2846d8f1d
commit 1dfcffe562
5 changed files with 356 additions and 341 deletions

View File

@ -1,326 +1,337 @@
// !$*UTF8*$!
{
archiveVersion = "1";
objectVersion = "46";
objects = {
"OBJ_1" = {
isa = "PBXProject";
attributes = {
LastUpgradeCheck = "9999";
};
buildConfigurationList = "OBJ_2";
compatibilityVersion = "Xcode 3.2";
developmentRegion = "English";
hasScannedForEncodings = "0";
knownRegions = (
"en",
);
mainGroup = "OBJ_5";
productRefGroup = "OBJ_11";
projectDirPath = ".";
targets = (
"SWindow::SwiftPMPackageDescription",
"SWindow::SWindow",
);
};
"OBJ_10" = {
isa = "PBXGroup";
children = (
);
name = "Tests";
path = "";
sourceTree = "SOURCE_ROOT";
};
"OBJ_11" = {
isa = "PBXGroup";
children = (
"SWindow::SWindow::Product",
);
name = "Products";
path = "";
sourceTree = "BUILT_PRODUCTS_DIR";
};
"OBJ_14" = {
isa = "XCConfigurationList";
buildConfigurations = (
"OBJ_15",
"OBJ_16",
);
defaultConfigurationIsVisible = "0";
defaultConfigurationName = "Debug";
};
"OBJ_15" = {
isa = "XCBuildConfiguration";
buildSettings = {
LD = "/usr/bin/true";
OTHER_SWIFT_FLAGS = (
"-swift-version",
"4",
"-I",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4",
"-target",
"x86_64-apple-macosx10.10",
"-sdk",
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk",
);
SWIFT_VERSION = "4.0";
};
name = "Debug";
};
"OBJ_16" = {
isa = "XCBuildConfiguration";
buildSettings = {
LD = "/usr/bin/true";
OTHER_SWIFT_FLAGS = (
"-swift-version",
"4",
"-I",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4",
"-target",
"x86_64-apple-macosx10.10",
"-sdk",
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk",
);
SWIFT_VERSION = "4.0";
};
name = "Release";
};
"OBJ_17" = {
isa = "PBXSourcesBuildPhase";
files = (
"OBJ_18",
);
};
"OBJ_18" = {
isa = "PBXBuildFile";
fileRef = "OBJ_6";
};
"OBJ_2" = {
isa = "XCConfigurationList";
buildConfigurations = (
"OBJ_3",
"OBJ_4",
);
defaultConfigurationIsVisible = "0";
defaultConfigurationName = "Debug";
};
"OBJ_20" = {
isa = "XCConfigurationList";
buildConfigurations = (
"OBJ_21",
"OBJ_22",
);
defaultConfigurationIsVisible = "0";
defaultConfigurationName = "Debug";
};
"OBJ_21" = {
isa = "XCBuildConfiguration";
buildSettings = {
ENABLE_TESTABILITY = "YES";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
);
INFOPLIST_FILE = "SWindow.xcodeproj/SWindow_Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
);
OTHER_LDFLAGS = (
"$(inherited)",
);
OTHER_SWIFT_FLAGS = (
"$(inherited)",
);
PRODUCT_BUNDLE_IDENTIFIER = "SWindow";
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = "YES";
SWIFT_VERSION = "4.0";
TARGET_NAME = "SWindow";
};
name = "Debug";
};
"OBJ_22" = {
isa = "XCBuildConfiguration";
buildSettings = {
ENABLE_TESTABILITY = "YES";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
);
INFOPLIST_FILE = "SWindow.xcodeproj/SWindow_Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
);
OTHER_LDFLAGS = (
"$(inherited)",
);
OTHER_SWIFT_FLAGS = (
"$(inherited)",
);
PRODUCT_BUNDLE_IDENTIFIER = "SWindow";
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = "YES";
SWIFT_VERSION = "4.0";
TARGET_NAME = "SWindow";
};
name = "Release";
};
"OBJ_23" = {
isa = "PBXSourcesBuildPhase";
files = (
"OBJ_24",
);
};
"OBJ_24" = {
isa = "PBXBuildFile";
fileRef = "OBJ_9";
};
"OBJ_25" = {
isa = "PBXFrameworksBuildPhase";
files = (
);
};
"OBJ_3" = {
isa = "XCBuildConfiguration";
buildSettings = {
CLANG_ENABLE_OBJC_ARC = "YES";
COMBINE_HIDPI_IMAGES = "YES";
COPY_PHASE_STRIP = "NO";
DEBUG_INFORMATION_FORMAT = "dwarf";
DYLIB_INSTALL_NAME_BASE = "@rpath";
ENABLE_NS_ASSERTIONS = "YES";
GCC_OPTIMIZATION_LEVEL = "0";
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 = "SWIFT_PACKAGE";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
USE_HEADERMAP = "NO";
};
name = "Debug";
};
"OBJ_4" = {
isa = "XCBuildConfiguration";
buildSettings = {
CLANG_ENABLE_OBJC_ARC = "YES";
COMBINE_HIDPI_IMAGES = "YES";
COPY_PHASE_STRIP = "YES";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_OPTIMIZATION_LEVEL = "s";
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 = "SWIFT_PACKAGE";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
USE_HEADERMAP = "NO";
};
name = "Release";
};
"OBJ_5" = {
isa = "PBXGroup";
children = (
"OBJ_6",
"OBJ_7",
"OBJ_10",
"OBJ_11",
);
path = "";
sourceTree = "<group>";
};
"OBJ_6" = {
isa = "PBXFileReference";
explicitFileType = "sourcecode.swift";
path = "Package.swift";
sourceTree = "<group>";
};
"OBJ_7" = {
isa = "PBXGroup";
children = (
"OBJ_8",
);
name = "Sources";
path = "";
sourceTree = "SOURCE_ROOT";
};
"OBJ_8" = {
isa = "PBXGroup";
children = (
"OBJ_9",
);
name = "SWindow";
path = "Sources/SWindow";
sourceTree = "SOURCE_ROOT";
};
"OBJ_9" = {
isa = "PBXFileReference";
path = "SWindow.swift";
sourceTree = "<group>";
};
"SWindow::SWindow" = {
isa = "PBXNativeTarget";
buildConfigurationList = "OBJ_20";
buildPhases = (
"OBJ_23",
"OBJ_25",
);
dependencies = (
);
name = "SWindow";
productName = "SWindow";
productReference = "SWindow::SWindow::Product";
productType = "com.apple.product-type.framework";
};
"SWindow::SWindow::Product" = {
isa = "PBXFileReference";
path = "SWindow.framework";
sourceTree = "BUILT_PRODUCTS_DIR";
};
"SWindow::SwiftPMPackageDescription" = {
isa = "PBXNativeTarget";
buildConfigurationList = "OBJ_14";
buildPhases = (
"OBJ_17",
);
dependencies = (
);
name = "SWindowPackageDescription";
productName = "SWindowPackageDescription";
productType = "com.apple.product-type.framework";
};
};
rootObject = "OBJ_1";
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
OBJ_18 /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_6 /* Package.swift */; };
OBJ_24 /* SWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_9 /* SWindow.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
OBJ_9 /* SWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SWindow.swift; sourceTree = "<group>"; };
"SWindow::SWindow::Product" /* SWindow.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = SWindow.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
OBJ_25 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
OBJ_10 /* Tests */ = {
isa = PBXGroup;
children = (
);
name = Tests;
sourceTree = SOURCE_ROOT;
};
OBJ_11 /* Products */ = {
isa = PBXGroup;
children = (
"SWindow::SWindow::Product" /* SWindow.framework */,
);
name = Products;
sourceTree = BUILT_PRODUCTS_DIR;
};
OBJ_5 /* */ = {
isa = PBXGroup;
children = (
OBJ_6 /* Package.swift */,
OBJ_7 /* Sources */,
OBJ_10 /* Tests */,
OBJ_11 /* Products */,
);
name = "";
sourceTree = "<group>";
};
OBJ_7 /* Sources */ = {
isa = PBXGroup;
children = (
OBJ_8 /* SWindow */,
);
name = Sources;
sourceTree = SOURCE_ROOT;
};
OBJ_8 /* SWindow */ = {
isa = PBXGroup;
children = (
OBJ_9 /* SWindow.swift */,
);
name = SWindow;
path = Sources/SWindow;
sourceTree = SOURCE_ROOT;
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
"SWindow::SWindow" /* SWindow */ = {
isa = PBXNativeTarget;
buildConfigurationList = OBJ_20 /* Build configuration list for PBXNativeTarget "SWindow" */;
buildPhases = (
OBJ_23 /* Sources */,
OBJ_25 /* Frameworks */,
);
buildRules = (
);
dependencies = (
);
name = SWindow;
productName = SWindow;
productReference = "SWindow::SWindow::Product" /* SWindow.framework */;
productType = "com.apple.product-type.framework";
};
"SWindow::SwiftPMPackageDescription" /* SWindowPackageDescription */ = {
isa = PBXNativeTarget;
buildConfigurationList = OBJ_14 /* Build configuration list for PBXNativeTarget "SWindowPackageDescription" */;
buildPhases = (
OBJ_17 /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = SWindowPackageDescription;
productName = SWindowPackageDescription;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
OBJ_1 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0920;
};
buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "SWindow" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = OBJ_5 /* */;
productRefGroup = OBJ_11 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
"SWindow::SwiftPMPackageDescription" /* SWindowPackageDescription */,
"SWindow::SWindow" /* SWindow */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
OBJ_17 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 0;
files = (
OBJ_18 /* Package.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
OBJ_23 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 0;
files = (
OBJ_24 /* SWindow.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
OBJ_15 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
LD = /usr/bin/true;
OTHER_SWIFT_FLAGS = "-swift-version 4 -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk";
SWIFT_VERSION = 4.0;
};
name = Debug;
};
OBJ_16 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
LD = /usr/bin/true;
OTHER_SWIFT_FLAGS = "-swift-version 4 -I /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/4 -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk";
SWIFT_VERSION = 4.0;
};
name = Release;
};
OBJ_21 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = SWindow.xcodeproj/SWindow_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = SWindow;
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGET_NAME = SWindow;
};
name = Debug;
};
OBJ_22 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
HEADER_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = SWindow.xcodeproj/SWindow_Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
OTHER_LDFLAGS = "$(inherited)";
OTHER_SWIFT_FLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = SWindow;
PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 4.0;
TARGET_NAME = SWindow;
};
name = Release;
};
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_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_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;
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_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 = SWIFT_PACKAGE;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
USE_HEADERMAP = NO;
};
name = Debug;
};
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_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_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;
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_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 = SWIFT_PACKAGE;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
USE_HEADERMAP = NO;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
OBJ_14 /* Build configuration list for PBXNativeTarget "SWindowPackageDescription" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_15 /* Debug */,
OBJ_16 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_2 /* Build configuration list for PBXProject "SWindow" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_3 /* Debug */,
OBJ_4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
OBJ_20 /* Build configuration list for PBXNativeTarget "SWindow" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_21 /* Debug */,
OBJ_22 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */
};
rootObject = OBJ_1 /* Project object */;
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "9999"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "0920"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@ -14,7 +14,7 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "62A735A91EDDA1CA008174F2"
BlueprintIdentifier = "SWindow::SWindow"
BuildableName = "SWindow.framework"
BlueprintName = "SWindow"
ReferencedContainer = "container:SWindow.xcodeproj">
@ -44,7 +44,7 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "62A735A91EDDA1CA008174F2"
BlueprintIdentifier = "SWindow::SWindow"
BuildableName = "SWindow.framework"
BlueprintName = "SWindow"
ReferencedContainer = "container:SWindow.xcodeproj">
@ -67,7 +67,7 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "62A735A91EDDA1CA008174F2"
BlueprintIdentifier = "SWindow::SWindow"
BuildableName = "SWindow.framework"
BlueprintName = "SWindow"
ReferencedContainer = "container:SWindow.xcodeproj">
@ -85,7 +85,7 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "62A735A91EDDA1CA008174F2"
BlueprintIdentifier = "SWindow::SWindow"
BuildableName = "SWindow.framework"
BlueprintName = "SWindow"
ReferencedContainer = "container:SWindow.xcodeproj">

View File

@ -154,6 +154,7 @@ extension SModalPresentation where Self: UIViewController {
} else {
SModal.modalWindow.rootViewController = controller
SModal.makeKey()
SModal.modalWindow.alpha = 1
SModal.modalWindow.isHidden = false
completion?()
}
@ -178,6 +179,7 @@ extension SModalPresentation where Self: UIViewController {
completion?()
})
} else {
SModal.modalWindow.alpha = 1
SModal.modalWindow.isHidden = false
completion?()
}
@ -205,22 +207,24 @@ extension SModalPresentation where Self: UIViewController {
completion?()
}
}
if SModal.modalWindow.rootViewController === self {
if animated {
SModal.modalWindow.alpha = 1
UIView.animate(withDuration: SModal.animationDuration, animations: {
DispatchQueue.main.async {
if SModal.modalWindow.rootViewController === self {
if animated {
SModal.modalWindow.alpha = 1
UIView.animate(withDuration: SModal.animationDuration, animations: {
SModal.modalWindow.alpha = 0
}, completion: { completed in
SModal.dropRootViewController()
completedProcedure()
})
} else {
SModal.modalWindow.alpha = 0
}, completion: { completed in
SModal.dropRootViewController()
completedProcedure()
})
} else {
SModal.dropRootViewController()
completedProcedure()
}
} else if SModal.stack.contains(where: { $0 === self }) {
SModal.stack = SModal.stack.filter() { !($0 === self) }
}
} else if SModal.stack.contains(where: { $0 === self }) {
SModal.stack = SModal.stack.filter() { !($0 === self) }
}
}
}