danielsaidi / SwiftUIKit

SwiftUIKit is a Swift SDK that adds extra functionality to Swift & SwiftUI.
MIT License
1.42k stars 56 forks source link

Demo doesn’t build #4

Closed mxcl closed 3 years ago

mxcl commented 3 years ago

Tried for iOS, cloned master. This fixes it:

diff --git a/Demo/Demo.xcodeproj/project.pbxproj b/Demo/Demo.xcodeproj/project.pbxproj
index 63775cc..c50d62e 100644
--- a/Demo/Demo.xcodeproj/project.pbxproj
+++ b/Demo/Demo.xcodeproj/project.pbxproj
@@ -7,6 +7,8 @@
    objects = {

 /* Begin PBXBuildFile section */
+       63C55D8E25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63C55D8D25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift */; };
+       63C55D8F25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63C55D8D25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift */; };
        A901F033256F8C9A00F1C285 /* BlursScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = A901F032256F8C9A00F1C285 /* BlursScreen.swift */; };
        A901F034256F8C9A00F1C285 /* BlursScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = A901F032256F8C9A00F1C285 /* BlursScreen.swift */; };
        A901F03A256F8CA600F1C285 /* DataScreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = A901F039256F8CA600F1C285 /* DataScreen.swift */; };
@@ -238,8 +240,6 @@
        A98279CC257ED06F0006D64F /* View+FullScreenCover.swift in Sources */ = {isa = PBXBuildFile; fileRef = A982793F257ED06F0006D64F /* View+FullScreenCover.swift */; };
        A98279CD257ED06F0006D64F /* View+Alert.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827940257ED06F0006D64F /* View+Alert.swift */; };
        A98279CE257ED06F0006D64F /* View+Alert.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827940257ED06F0006D64F /* View+Alert.swift */; };
-       A98279CF257ED06F0006D64F /* Toast+Shadow.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827941257ED06F0006D64F /* Toast+Shadow.swift */; };
-       A98279D0257ED06F0006D64F /* Toast+Shadow.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827941257ED06F0006D64F /* Toast+Shadow.swift */; };
        A98279D1257ED06F0006D64F /* View+Sheet.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827942257ED06F0006D64F /* View+Sheet.swift */; };
        A98279D2257ED06F0006D64F /* View+Sheet.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827942257ED06F0006D64F /* View+Sheet.swift */; };
        A98279D3257ED06F0006D64F /* ToastStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9827943257ED06F0006D64F /* ToastStyle.swift */; };
@@ -293,6 +293,7 @@
 /* End PBXBuildFile section */

 /* Begin PBXFileReference section */
+       63C55D8D25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "ShadowStyle+Toast.swift"; sourceTree = "<group>"; };
        A901F032256F8C9A00F1C285 /* BlursScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlursScreen.swift; sourceTree = "<group>"; };
        A901F039256F8CA600F1C285 /* DataScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataScreen.swift; sourceTree = "<group>"; };
        A901F03E256F8CB100F1C285 /* ExtensionsScreen.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExtensionsScreen.swift; sourceTree = "<group>"; };
@@ -424,7 +425,6 @@
        A982793E257ED06F0006D64F /* PresentationContext.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PresentationContext.swift; sourceTree = "<group>"; };
        A982793F257ED06F0006D64F /* View+FullScreenCover.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "View+FullScreenCover.swift"; sourceTree = "<group>"; };
        A9827940257ED06F0006D64F /* View+Alert.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "View+Alert.swift"; sourceTree = "<group>"; };
-       A9827941257ED06F0006D64F /* Toast+Shadow.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Toast+Shadow.swift"; sourceTree = "<group>"; };
        A9827942257ED06F0006D64F /* View+Sheet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "View+Sheet.swift"; sourceTree = "<group>"; };
        A9827943257ED06F0006D64F /* ToastStyle.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ToastStyle.swift; sourceTree = "<group>"; };
        A9827944257ED06F0006D64F /* View+Toast.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "View+Toast.swift"; sourceTree = "<group>"; };
@@ -953,8 +953,8 @@
        A9D34660259092B700A2C8B9 /* Toast */ = {
            isa = PBXGroup;
            children = (
-               A9827941257ED06F0006D64F /* Toast+Shadow.swift */,
                A9827946257ED06F0006D64F /* ToastContext.swift */,
+               63C55D8D25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift */,
                A982793B257ED06F0006D64F /* ToastProvider.swift */,
                A9827943257ED06F0006D64F /* ToastStyle.swift */,
                A9827944257ED06F0006D64F /* View+Toast.swift */,
@@ -1118,7 +1118,6 @@
                A98279BF257ED06F0006D64F /* OptionalView.swift in Sources */,
                A989133725DE8452007F4DFE /* TextFieldClearButton.swift in Sources */,
                A9355045256F7E3D00BBE9CE /* ContentView.swift in Sources */,
-               A98279CF257ED06F0006D64F /* Toast+Shadow.swift in Sources */,
                A98279E1257ED06F0006D64F /* UIBlurEffectStyle+Name.swift in Sources */,
                A98279DF257ED06F0006D64F /* FullScreenCoverProvider.swift in Sources */,
                A989134925DE8470007F4DFE /* MenuListLink.swift in Sources */,
@@ -1189,6 +1188,7 @@
                A9827993257ED06F0006D64F /* QrCodeGenerator.swift in Sources */,
                A982799B257ED06F0006D64F /* CircularProgressBar.swift in Sources */,
                A901F04E256F8CFE00F1C285 /* StylesScreen.swift in Sources */,
+               63C55D8E25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift in Sources */,
                A982796B257ED06F0006D64F /* FontStyle.swift in Sources */,
                A9827961257ED06F0006D64F /* View+Enabled.swift in Sources */,
                A982796D257ED06F0006D64F /* ShadowStyle.swift in Sources */,
@@ -1261,7 +1261,6 @@
                A98279C0257ED06F0006D64F /* OptionalView.swift in Sources */,
                A9355046256F7E3D00BBE9CE /* ContentView.swift in Sources */,
                A989133825DE8452007F4DFE /* TextFieldClearButton.swift in Sources */,
-               A98279D0257ED06F0006D64F /* Toast+Shadow.swift in Sources */,
                A98279E2257ED06F0006D64F /* UIBlurEffectStyle+Name.swift in Sources */,
                A98279E0257ED06F0006D64F /* FullScreenCoverProvider.swift in Sources */,
                A901F1382570771600F1C285 /* CircularProgressBarScreen.swift in Sources */,
@@ -1334,6 +1333,7 @@
                A982796C257ED06F0006D64F /* FontStyle.swift in Sources */,
                A9827962257ED06F0006D64F /* View+Enabled.swift in Sources */,
                A989132825DE81E2007F4DFE /* MenuListStyle.swift in Sources */,
+               63C55D8F25E2E3EF000D9CE6 /* ShadowStyle+Toast.swift in Sources */,
                A982796E257ED06F0006D64F /* ShadowStyle.swift in Sources */,
                A989132B25DE81E2007F4DFE /* Image+MenuList.swift in Sources */,
                A9827976257ED06F0006D64F /* FontIdentifier.swift in Sources */,
danielsaidi commented 3 years ago

Thank you!