diff --git a/SwiftUIPlayground.xcodeproj/project.pbxproj b/SwiftUIPlayground.xcodeproj/project.pbxproj new file mode 100644 index 0000000..b7e97d6 --- /dev/null +++ b/SwiftUIPlayground.xcodeproj/project.pbxproj @@ -0,0 +1,340 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXFileReference section */ + 04B420DE2C8A14810050839D /* SwiftUIPlayground.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftUIPlayground.app; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + 04B420E02C8A14810050839D /* SwiftUIPlayground */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = SwiftUIPlayground; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + 04B420DB2C8A14810050839D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 04B420D52C8A14810050839D = { + isa = PBXGroup; + children = ( + 04B420E02C8A14810050839D /* SwiftUIPlayground */, + 04B420DF2C8A14810050839D /* Products */, + ); + sourceTree = ""; + }; + 04B420DF2C8A14810050839D /* Products */ = { + isa = PBXGroup; + children = ( + 04B420DE2C8A14810050839D /* SwiftUIPlayground.app */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 04B420DD2C8A14810050839D /* SwiftUIPlayground */ = { + isa = PBXNativeTarget; + buildConfigurationList = 04B420ED2C8A14820050839D /* Build configuration list for PBXNativeTarget "SwiftUIPlayground" */; + buildPhases = ( + 04B420DA2C8A14810050839D /* Sources */, + 04B420DB2C8A14810050839D /* Frameworks */, + 04B420DC2C8A14810050839D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + 04B420E02C8A14810050839D /* SwiftUIPlayground */, + ); + name = SwiftUIPlayground; + packageProductDependencies = ( + ); + productName = SwiftUIPlayground; + productReference = 04B420DE2C8A14810050839D /* SwiftUIPlayground.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 04B420D62C8A14810050839D /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1600; + LastUpgradeCheck = 1600; + TargetAttributes = { + 04B420DD2C8A14810050839D = { + CreatedOnToolsVersion = 16.0; + }; + }; + }; + buildConfigurationList = 04B420D92C8A14810050839D /* Build configuration list for PBXProject "SwiftUIPlayground" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 04B420D52C8A14810050839D; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = 04B420DF2C8A14810050839D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 04B420DD2C8A14810050839D /* SwiftUIPlayground */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 04B420DC2C8A14810050839D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 04B420DA2C8A14810050839D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 04B420EB2C8A14820050839D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + 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; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 04B420EC2C8A14820050839D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + 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; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + 04B420EE2C8A14820050839D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = SwiftUIPlayground/SwiftUIPlayground.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"SwiftUIPlayground/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 15.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playground; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + 04B420EF2C8A14820050839D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = SwiftUIPlayground/SwiftUIPlayground.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"SwiftUIPlayground/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 15.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playground; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 04B420D92C8A14810050839D /* Build configuration list for PBXProject "SwiftUIPlayground" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 04B420EB2C8A14820050839D /* Debug */, + 04B420EC2C8A14820050839D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 04B420ED2C8A14820050839D /* Build configuration list for PBXNativeTarget "SwiftUIPlayground" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 04B420EE2C8A14820050839D /* Debug */, + 04B420EF2C8A14820050839D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 04B420D62C8A14810050839D /* Project object */; +} diff --git a/playground.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SwiftUIPlayground.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from playground.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to SwiftUIPlayground.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/SwiftUIPlayground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/UserInterfaceState.xcuserstate b/SwiftUIPlayground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..40a4da0 Binary files /dev/null and b/SwiftUIPlayground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/SwiftUIPlayground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcschemes/xcschememanagement.plist b/SwiftUIPlayground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..870f7ba --- /dev/null +++ b/SwiftUIPlayground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + SwiftUIPlayground.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/playground/Assets.xcassets/AccentColor.colorset/Contents.json b/SwiftUIPlayground/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from playground/Assets.xcassets/AccentColor.colorset/Contents.json rename to SwiftUIPlayground/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/playground/Assets.xcassets/AppIcon.appiconset/Contents.json b/SwiftUIPlayground/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from playground/Assets.xcassets/AppIcon.appiconset/Contents.json rename to SwiftUIPlayground/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/playground/Assets.xcassets/Contents.json b/SwiftUIPlayground/Assets.xcassets/Contents.json similarity index 100% rename from playground/Assets.xcassets/Contents.json rename to SwiftUIPlayground/Assets.xcassets/Contents.json diff --git a/playground/Preview Content/Preview Assets.xcassets/park.imageset/Contents.json b/SwiftUIPlayground/Assets.xcassets/park.imageset/Contents.json similarity index 100% rename from playground/Preview Content/Preview Assets.xcassets/park.imageset/Contents.json rename to SwiftUIPlayground/Assets.xcassets/park.imageset/Contents.json diff --git a/playground/Preview Content/Preview Assets.xcassets/park.imageset/park.jpeg b/SwiftUIPlayground/Assets.xcassets/park.imageset/park.jpeg similarity index 100% rename from playground/Preview Content/Preview Assets.xcassets/park.imageset/park.jpeg rename to SwiftUIPlayground/Assets.xcassets/park.imageset/park.jpeg diff --git a/playground/ContentView.swift b/SwiftUIPlayground/ContentView.swift similarity index 79% rename from playground/ContentView.swift rename to SwiftUIPlayground/ContentView.swift index 65fbd90..f2024e6 100644 --- a/playground/ContentView.swift +++ b/SwiftUIPlayground/ContentView.swift @@ -1,8 +1,8 @@ // // ContentView.swift -// playground +// SwiftUIPlayground // -// Created by Taha Tesser on 04.08.2024. +// Created by Taha Tesser on 05.09.2024. // import SwiftUI diff --git a/playground/Preview Content/Preview Assets.xcassets/Contents.json b/SwiftUIPlayground/Preview Content/Preview Assets.xcassets/Contents.json similarity index 100% rename from playground/Preview Content/Preview Assets.xcassets/Contents.json rename to SwiftUIPlayground/Preview Content/Preview Assets.xcassets/Contents.json diff --git a/playground/Samples.swift b/SwiftUIPlayground/Samples.swift similarity index 97% rename from playground/Samples.swift rename to SwiftUIPlayground/Samples.swift index 3ee0f07..95afad7 100644 --- a/playground/Samples.swift +++ b/SwiftUIPlayground/Samples.swift @@ -66,6 +66,8 @@ public let samples: [String: AnyView] = [ "Text Renderer": AnyView(TextRendererSample()), // https://developer.apple.com/documentation/swiftui/text/datestyle "Relative DateStyle": AnyView(RelativeDateStyleSample()), + // https://developer.apple.com/documentation/swiftui/font + "Typography": AnyView(TypographySample()), ] )), "Navigation": AnyView(SamplesList( diff --git a/playground/samples/Buttons/ButtonBorderShapeSample.swift b/SwiftUIPlayground/Samples/Buttons/ButtonBorderShapeSample.swift similarity index 100% rename from playground/samples/Buttons/ButtonBorderShapeSample.swift rename to SwiftUIPlayground/Samples/Buttons/ButtonBorderShapeSample.swift diff --git a/playground/samples/DrawingandGraphics/CompsitingGroupSample.swift b/SwiftUIPlayground/Samples/DrawingandGraphics/CompsitingGroupSample.swift similarity index 100% rename from playground/samples/DrawingandGraphics/CompsitingGroupSample.swift rename to SwiftUIPlayground/Samples/DrawingandGraphics/CompsitingGroupSample.swift diff --git a/playground/samples/MaskingSample.swift b/SwiftUIPlayground/Samples/DrawingandGraphics/MaskingSample.swift similarity index 100% rename from playground/samples/MaskingSample.swift rename to SwiftUIPlayground/Samples/DrawingandGraphics/MaskingSample.swift diff --git a/playground/samples/Gesture/RotateGestureSample.swift b/SwiftUIPlayground/Samples/Gesture/RotateGestureSample.swift similarity index 100% rename from playground/samples/Gesture/RotateGestureSample.swift rename to SwiftUIPlayground/Samples/Gesture/RotateGestureSample.swift diff --git a/playground/samples/GroupBox/GroupBoxSample.swift b/SwiftUIPlayground/Samples/GroupBox/GroupBoxSample.swift similarity index 100% rename from playground/samples/GroupBox/GroupBoxSample.swift rename to SwiftUIPlayground/Samples/GroupBox/GroupBoxSample.swift diff --git a/playground/samples/Images/AsyncImageSample.swift b/SwiftUIPlayground/Samples/Images/AsyncImageSample.swift similarity index 100% rename from playground/samples/Images/AsyncImageSample.swift rename to SwiftUIPlayground/Samples/Images/AsyncImageSample.swift diff --git a/playground/samples/Images/VariableValueSample.swift b/SwiftUIPlayground/Samples/Images/VariableValueSample.swift similarity index 100% rename from playground/samples/Images/VariableValueSample.swift rename to SwiftUIPlayground/Samples/Images/VariableValueSample.swift diff --git a/playground/samples/LayoutAdjustments/ContainerRelativeFrameSample.swift b/SwiftUIPlayground/Samples/LayoutAdjustments/ContainerRelativeFrameSample.swift similarity index 100% rename from playground/samples/LayoutAdjustments/ContainerRelativeFrameSample.swift rename to SwiftUIPlayground/Samples/LayoutAdjustments/ContainerRelativeFrameSample.swift diff --git a/playground/samples/Lists/DisclosureGroupSample.swift b/SwiftUIPlayground/Samples/Lists/DisclosureGroupSample.swift similarity index 100% rename from playground/samples/Lists/DisclosureGroupSample.swift rename to SwiftUIPlayground/Samples/Lists/DisclosureGroupSample.swift diff --git a/playground/samples/Lists/ListSectionSpacingSample.swift b/SwiftUIPlayground/Samples/Lists/ListSectionSpacingSample.swift similarity index 100% rename from playground/samples/Lists/ListSectionSpacingSample.swift rename to SwiftUIPlayground/Samples/Lists/ListSectionSpacingSample.swift diff --git a/playground/samples/Map/MapStyleSample.swift b/SwiftUIPlayground/Samples/Map/MapStyleSample.swift similarity index 100% rename from playground/samples/Map/MapStyleSample.swift rename to SwiftUIPlayground/Samples/Map/MapStyleSample.swift diff --git a/playground/samples/Navigation/TabViewSample.swift b/SwiftUIPlayground/Samples/Navigation/TabViewSample.swift similarity index 100% rename from playground/samples/Navigation/TabViewSample.swift rename to SwiftUIPlayground/Samples/Navigation/TabViewSample.swift diff --git a/playground/samples/Navigation/TabViewStyleSample.swift b/SwiftUIPlayground/Samples/Navigation/TabViewStyleSample.swift similarity index 100% rename from playground/samples/Navigation/TabViewStyleSample.swift rename to SwiftUIPlayground/Samples/Navigation/TabViewStyleSample.swift diff --git a/playground/samples/Slider/SliderSample.swift b/SwiftUIPlayground/Samples/Slider/SliderSample.swift similarity index 100% rename from playground/samples/Slider/SliderSample.swift rename to SwiftUIPlayground/Samples/Slider/SliderSample.swift diff --git a/playground/samples/Tables/TableSample.swift b/SwiftUIPlayground/Samples/Tables/TableSample.swift similarity index 100% rename from playground/samples/Tables/TableSample.swift rename to SwiftUIPlayground/Samples/Tables/TableSample.swift diff --git a/playground/samples/Text/RelativeDateStyleSample.swift b/SwiftUIPlayground/Samples/Text/RelativeDateStyleSample.swift similarity index 100% rename from playground/samples/Text/RelativeDateStyleSample.swift rename to SwiftUIPlayground/Samples/Text/RelativeDateStyleSample.swift diff --git a/playground/samples/Text/TextRendererSample.swift b/SwiftUIPlayground/Samples/Text/TextRendererSample.swift similarity index 100% rename from playground/samples/Text/TextRendererSample.swift rename to SwiftUIPlayground/Samples/Text/TextRendererSample.swift diff --git a/SwiftUIPlayground/Samples/Text/TypographySample.swift b/SwiftUIPlayground/Samples/Text/TypographySample.swift new file mode 100644 index 0000000..b53543c --- /dev/null +++ b/SwiftUIPlayground/Samples/Text/TypographySample.swift @@ -0,0 +1,43 @@ +// +// TypographySample.swift +// playground +// +// Created by Taha Tesser on 04.09.2024. +// + +import SwiftUI + +struct TypographySample: View { + var body: some View { + VStack { + Text("Hello, SwiftUI!") + .font(.largeTitle) + Text("Hello, SwiftUI!") + .font(.title) + Text("Hello, SwiftUI!") + .font(.title2) + Text("Hello, SwiftUI!") + .font(.title3) + Text("Hello, SwiftUI!") + .font(.headline) + Text("Hello, SwiftUI!") + .font(.subheadline) + Text("Hello, SwiftUI!") + .font(.body) + Text("Hello, SwiftUI!") + .font(.callout) + Text("Hello, SwiftUI!") + .font(.footnote) + Text("Hello, SwiftUI!") + .font(.caption) + Text("Hello, SwiftUI!") + .font(.caption2) + + } + .padding() + } +} + +#Preview { + TypographySample() +} diff --git a/playground/samples/ThirdParty/JunoUISliderSample.swift b/SwiftUIPlayground/Samples/ThirdParty/JunoUISliderSample.swift similarity index 100% rename from playground/samples/ThirdParty/JunoUISliderSample.swift rename to SwiftUIPlayground/Samples/ThirdParty/JunoUISliderSample.swift diff --git a/playground/samples/ViewGroupings/FormSample.swift b/SwiftUIPlayground/Samples/ViewGroupings/FormSample.swift similarity index 100% rename from playground/samples/ViewGroupings/FormSample.swift rename to SwiftUIPlayground/Samples/ViewGroupings/FormSample.swift diff --git a/playground/SamplesList.swift b/SwiftUIPlayground/SamplesList.swift similarity index 100% rename from playground/SamplesList.swift rename to SwiftUIPlayground/SamplesList.swift diff --git a/playground.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/SwiftUIPlayground/SwiftUIPlayground.entitlements similarity index 100% rename from playground.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to SwiftUIPlayground/SwiftUIPlayground.entitlements diff --git a/SwiftUIPlayground/SwiftUIPlaygroundApp.swift b/SwiftUIPlayground/SwiftUIPlaygroundApp.swift new file mode 100644 index 0000000..a977746 --- /dev/null +++ b/SwiftUIPlayground/SwiftUIPlaygroundApp.swift @@ -0,0 +1,17 @@ +// +// SwiftUIPlaygroundApp.swift +// SwiftUIPlayground +// +// Created by Taha Tesser on 05.09.2024. +// + +import SwiftUI + +@main +struct SwiftUIPlaygroundApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/playground.xcodeproj/project.pbxproj b/playground.xcodeproj/project.pbxproj deleted file mode 100644 index f37917b..0000000 --- a/playground.xcodeproj/project.pbxproj +++ /dev/null @@ -1,611 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 70; - objects = { - -/* Begin PBXBuildFile section */ - 04AA7C212C6001DD00EF3687 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 04AA7C202C6001D800EF3687 /* README.md */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 04AA7BD12C5FEDC700EF3687 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 04AA7BB52C5FEDC400EF3687 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 04AA7BBC2C5FEDC400EF3687; - remoteInfo = playground; - }; - 04AA7BDB2C5FEDC700EF3687 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 04AA7BB52C5FEDC400EF3687 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 04AA7BBC2C5FEDC400EF3687; - remoteInfo = playground; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 04AA7BBD2C5FEDC400EF3687 /* playground.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = playground.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 04AA7BD02C5FEDC700EF3687 /* playgroundTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = playgroundTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 04AA7BDA2C5FEDC700EF3687 /* playgroundUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = playgroundUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 04AA7C202C6001D800EF3687 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ - 04AA7C092C5FF49100EF3687 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = { - isa = PBXFileSystemSynchronizedBuildFileExceptionSet; - membershipExceptions = ( - samples/Lists/ListSectionSpacingSample.swift, - samples/MaskingSample.swift, - samples/Slider/SliderSample.swift, - ); - target = 04AA7BCF2C5FEDC700EF3687 /* playgroundTests */; - }; - 04AA7C0A2C5FF49100EF3687 /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = { - isa = PBXFileSystemSynchronizedBuildFileExceptionSet; - membershipExceptions = ( - samples/Lists/ListSectionSpacingSample.swift, - samples/MaskingSample.swift, - samples/Slider/SliderSample.swift, - ); - target = 04AA7BD92C5FEDC700EF3687 /* playgroundUITests */; - }; -/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ - -/* Begin PBXFileSystemSynchronizedRootGroup section */ - 04AA7BBF2C5FEDC400EF3687 /* playground */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (04AA7C092C5FF49100EF3687 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, 04AA7C0A2C5FF49100EF3687 /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = playground; sourceTree = ""; }; - 04AA7BD32C5FEDC700EF3687 /* playgroundTests */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = playgroundTests; sourceTree = ""; }; - 04AA7BDD2C5FEDC700EF3687 /* playgroundUITests */ = {isa = PBXFileSystemSynchronizedRootGroup; explicitFileTypes = {}; explicitFolders = (); path = playgroundUITests; sourceTree = ""; }; -/* End PBXFileSystemSynchronizedRootGroup section */ - -/* Begin PBXFrameworksBuildPhase section */ - 04AA7BBA2C5FEDC400EF3687 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 04AA7BCD2C5FEDC700EF3687 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 04AA7BD72C5FEDC700EF3687 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 04AA7BB42C5FEDC400EF3687 = { - isa = PBXGroup; - children = ( - 04AA7C202C6001D800EF3687 /* README.md */, - 04AA7BBF2C5FEDC400EF3687 /* playground */, - 04AA7BD32C5FEDC700EF3687 /* playgroundTests */, - 04AA7BDD2C5FEDC700EF3687 /* playgroundUITests */, - 04AA7BBE2C5FEDC400EF3687 /* Products */, - ); - sourceTree = ""; - }; - 04AA7BBE2C5FEDC400EF3687 /* Products */ = { - isa = PBXGroup; - children = ( - 04AA7BBD2C5FEDC400EF3687 /* playground.app */, - 04AA7BD02C5FEDC700EF3687 /* playgroundTests.xctest */, - 04AA7BDA2C5FEDC700EF3687 /* playgroundUITests.xctest */, - ); - name = Products; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 04AA7BBC2C5FEDC400EF3687 /* playground */ = { - isa = PBXNativeTarget; - buildConfigurationList = 04AA7BE42C5FEDC700EF3687 /* Build configuration list for PBXNativeTarget "playground" */; - buildPhases = ( - 04AA7BB92C5FEDC400EF3687 /* Sources */, - 04AA7BBA2C5FEDC400EF3687 /* Frameworks */, - 04AA7BBB2C5FEDC400EF3687 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - fileSystemSynchronizedGroups = ( - 04AA7BBF2C5FEDC400EF3687 /* playground */, - ); - name = playground; - packageProductDependencies = ( - ); - productName = playground; - productReference = 04AA7BBD2C5FEDC400EF3687 /* playground.app */; - productType = "com.apple.product-type.application"; - }; - 04AA7BCF2C5FEDC700EF3687 /* playgroundTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 04AA7BE72C5FEDC700EF3687 /* Build configuration list for PBXNativeTarget "playgroundTests" */; - buildPhases = ( - 04AA7BCC2C5FEDC700EF3687 /* Sources */, - 04AA7BCD2C5FEDC700EF3687 /* Frameworks */, - 04AA7BCE2C5FEDC700EF3687 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 04AA7BD22C5FEDC700EF3687 /* PBXTargetDependency */, - ); - fileSystemSynchronizedGroups = ( - 04AA7BD32C5FEDC700EF3687 /* playgroundTests */, - ); - name = playgroundTests; - packageProductDependencies = ( - ); - productName = playgroundTests; - productReference = 04AA7BD02C5FEDC700EF3687 /* playgroundTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 04AA7BD92C5FEDC700EF3687 /* playgroundUITests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 04AA7BEA2C5FEDC700EF3687 /* Build configuration list for PBXNativeTarget "playgroundUITests" */; - buildPhases = ( - 04AA7BD62C5FEDC700EF3687 /* Sources */, - 04AA7BD72C5FEDC700EF3687 /* Frameworks */, - 04AA7BD82C5FEDC700EF3687 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 04AA7BDC2C5FEDC700EF3687 /* PBXTargetDependency */, - ); - fileSystemSynchronizedGroups = ( - 04AA7BDD2C5FEDC700EF3687 /* playgroundUITests */, - ); - name = playgroundUITests; - packageProductDependencies = ( - ); - productName = playgroundUITests; - productReference = 04AA7BDA2C5FEDC700EF3687 /* playgroundUITests.xctest */; - productType = "com.apple.product-type.bundle.ui-testing"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 04AA7BB52C5FEDC400EF3687 /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = 1; - LastSwiftUpdateCheck = 1600; - LastUpgradeCheck = 1600; - TargetAttributes = { - 04AA7BBC2C5FEDC400EF3687 = { - CreatedOnToolsVersion = 16.0; - }; - 04AA7BCF2C5FEDC700EF3687 = { - CreatedOnToolsVersion = 16.0; - TestTargetID = 04AA7BBC2C5FEDC400EF3687; - }; - 04AA7BD92C5FEDC700EF3687 = { - CreatedOnToolsVersion = 16.0; - TestTargetID = 04AA7BBC2C5FEDC400EF3687; - }; - }; - }; - buildConfigurationList = 04AA7BB82C5FEDC400EF3687 /* Build configuration list for PBXProject "playground" */; - compatibilityVersion = "Xcode 15.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 04AA7BB42C5FEDC400EF3687; - packageReferences = ( - ); - productRefGroup = 04AA7BBE2C5FEDC400EF3687 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 04AA7BBC2C5FEDC400EF3687 /* playground */, - 04AA7BCF2C5FEDC700EF3687 /* playgroundTests */, - 04AA7BD92C5FEDC700EF3687 /* playgroundUITests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 04AA7BBB2C5FEDC400EF3687 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 04AA7C212C6001DD00EF3687 /* README.md in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 04AA7BCE2C5FEDC700EF3687 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 04AA7BD82C5FEDC700EF3687 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 04AA7BB92C5FEDC400EF3687 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 04AA7BCC2C5FEDC700EF3687 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 04AA7BD62C5FEDC700EF3687 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 04AA7BD22C5FEDC700EF3687 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 04AA7BBC2C5FEDC400EF3687 /* playground */; - targetProxy = 04AA7BD12C5FEDC700EF3687 /* PBXContainerItemProxy */; - }; - 04AA7BDC2C5FEDC700EF3687 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 04AA7BBC2C5FEDC400EF3687 /* playground */; - targetProxy = 04AA7BDB2C5FEDC700EF3687 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 04AA7BE22C5FEDC700EF3687 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - 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; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - 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; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 04AA7BE32C5FEDC700EF3687 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - 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; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - 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; - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SWIFT_COMPILATION_MODE = wholemodule; - }; - name = Release; - }; - 04AA7BE52C5FEDC700EF3687 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = playground/playground.entitlements; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"playground/Preview Content\""; - DEVELOPMENT_TEAM = BT2TPGG8FS; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; - "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; - "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; - "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; - "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; - "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; - "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; - "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; - "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playground; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2,7"; - XROS_DEPLOYMENT_TARGET = 2.0; - }; - name = Debug; - }; - 04AA7BE62C5FEDC700EF3687 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = playground/playground.entitlements; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_ASSET_PATHS = "\"playground/Preview Content\""; - DEVELOPMENT_TEAM = BT2TPGG8FS; - ENABLE_PREVIEWS = YES; - GENERATE_INFOPLIST_FILE = YES; - "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; - "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; - "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; - "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; - "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; - "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; - "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; - "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; - "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playground; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; - SWIFT_EMIT_LOC_STRINGS = YES; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2,7"; - XROS_DEPLOYMENT_TARGET = 2.0; - }; - name = Release; - }; - 04AA7BE82C5FEDC700EF3687 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = BT2TPGG8FS; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playgroundTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2,7"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/playground"; - XROS_DEPLOYMENT_TARGET = 2.0; - }; - name = Debug; - }; - 04AA7BE92C5FEDC700EF3687 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = BT2TPGG8FS; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playgroundTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2,7"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/playground.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/playground"; - XROS_DEPLOYMENT_TARGET = 2.0; - }; - name = Release; - }; - 04AA7BEB2C5FEDC700EF3687 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = BT2TPGG8FS; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playgroundUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2,7"; - TEST_TARGET_NAME = playground; - XROS_DEPLOYMENT_TARGET = 2.0; - }; - name = Debug; - }; - 04AA7BEC2C5FEDC700EF3687 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = BT2TPGG8FS; - GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 18.0; - MACOSX_DEPLOYMENT_TARGET = 15.0; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.tahatesser.playgroundUITests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = auto; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; - SWIFT_EMIT_LOC_STRINGS = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2,7"; - TEST_TARGET_NAME = playground; - XROS_DEPLOYMENT_TARGET = 2.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 04AA7BB82C5FEDC400EF3687 /* Build configuration list for PBXProject "playground" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 04AA7BE22C5FEDC700EF3687 /* Debug */, - 04AA7BE32C5FEDC700EF3687 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 04AA7BE42C5FEDC700EF3687 /* Build configuration list for PBXNativeTarget "playground" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 04AA7BE52C5FEDC700EF3687 /* Debug */, - 04AA7BE62C5FEDC700EF3687 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 04AA7BE72C5FEDC700EF3687 /* Build configuration list for PBXNativeTarget "playgroundTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 04AA7BE82C5FEDC700EF3687 /* Debug */, - 04AA7BE92C5FEDC700EF3687 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 04AA7BEA2C5FEDC700EF3687 /* Build configuration list for PBXNativeTarget "playgroundUITests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 04AA7BEB2C5FEDC700EF3687 /* Debug */, - 04AA7BEC2C5FEDC700EF3687 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 04AA7BB52C5FEDC400EF3687 /* Project object */; -} diff --git a/playground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/UserInterfaceState.xcuserstate b/playground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/UserInterfaceState.xcuserstate deleted file mode 100644 index b3bcfc1..0000000 Binary files a/playground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ diff --git a/playground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/WorkspaceSettings.xcsettings b/playground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/WorkspaceSettings.xcsettings deleted file mode 100644 index bbfef02..0000000 --- a/playground.xcodeproj/project.xcworkspace/xcuserdata/tahatesser.xcuserdatad/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,14 +0,0 @@ - - - - - BuildLocationStyle - UseAppPreferences - CustomBuildLocationType - RelativeToDerivedData - DerivedDataLocationStyle - Default - ShowSharedSchemesAutomaticallyEnabled - - - diff --git a/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme b/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme deleted file mode 100644 index c2f7dbe..0000000 --- a/playground.xcodeproj/xcshareddata/xcschemes/playground.xcscheme +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/playground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/playground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index e4acf35..0000000 --- a/playground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - diff --git a/playground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcschemes/xcschememanagement.plist b/playground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index e2c18c9..0000000 --- a/playground.xcodeproj/xcuserdata/tahatesser.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - SchemeUserState - - playground.xcscheme_^#shared#^_ - - orderHint - 0 - - - SuppressBuildableAutocreation - - 04AA7BBC2C5FEDC400EF3687 - - primary - - - 04AA7BCF2C5FEDC700EF3687 - - primary - - - 04AA7BD92C5FEDC700EF3687 - - primary - - - - - diff --git a/playground/playground.entitlements b/playground/playground.entitlements deleted file mode 100644 index 40b639e..0000000 --- a/playground/playground.entitlements +++ /dev/null @@ -1,14 +0,0 @@ - - - - - com.apple.security.app-sandbox - - com.apple.security.files.user-selected.read-only - - com.apple.security.network.client - - com.apple.security.network.server - - - diff --git a/playground/playgroundApp.swift b/playground/playgroundApp.swift deleted file mode 100644 index 24215ee..0000000 --- a/playground/playgroundApp.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// playgroundApp.swift -// playground -// -// Created by Taha Tesser on 04.08.2024. -// - -import SwiftUI - -@main -struct playgroundApp: App { - var body: some Scene { - WindowGroup { - ContentView() - } - } -} diff --git a/playground/samples/Text/TypographySample.swift b/playground/samples/Text/TypographySample.swift deleted file mode 100644 index 4b584f5..0000000 --- a/playground/samples/Text/TypographySample.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// TypographySample.swift -// playground -// -// Created by Taha Tesser on 04.09.2024. -// - -import SwiftUI - -struct TypographySample: View { - var body: some View { - Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) - } -} - -#Preview { - TypographySample() -} diff --git a/playgroundTests/playgroundTests.swift b/playgroundTests/playgroundTests.swift deleted file mode 100644 index ee9447b..0000000 --- a/playgroundTests/playgroundTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -// -// playgroundTests.swift -// playgroundTests -// -// Created by Taha Tesser on 04.08.2024. -// - -import Testing - -struct playgroundTests { - @Test func example() async throws {} -} diff --git a/playgroundTests/sliderTests.swift b/playgroundTests/sliderTests.swift deleted file mode 100644 index c7967fc..0000000 --- a/playgroundTests/sliderTests.swift +++ /dev/null @@ -1,17 +0,0 @@ -// -// sliderTests.swift -// playgroundTests -// -// Created by Taha Tesser on 08.08.2024. -// - -import SwiftUI -import Testing -import XCTest - -struct sliderTests { - @Test func testInitialSliderValue() throws { - let sliderSample = SliderSample() - XCTAssertEqual(sliderSample.sliderValue, 50.0, "Initial slider value should be 50.0") - } -} diff --git a/playgroundUITests/playgroundUITests.swift b/playgroundUITests/playgroundUITests.swift deleted file mode 100644 index 4991292..0000000 --- a/playgroundUITests/playgroundUITests.swift +++ /dev/null @@ -1,42 +0,0 @@ -// -// playgroundUITests.swift -// playgroundUITests -// -// Created by Taha Tesser on 04.08.2024. -// - -import XCTest - -final class playgroundUITests: XCTestCase { - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - - // In UI tests it is usually best to stop immediately when a failure occurs. - continueAfterFailure = false - - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - @MainActor - func testExample() throws { - // UI tests must launch the application that they test. - let app = XCUIApplication() - app.launch() - - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - - @MainActor - func testLaunchPerformance() throws { - if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { - // This measures how long it takes to launch your application. - measure(metrics: [XCTApplicationLaunchMetric()]) { - XCUIApplication().launch() - } - } - } -} diff --git a/playgroundUITests/playgroundUITestsLaunchTests.swift b/playgroundUITests/playgroundUITestsLaunchTests.swift deleted file mode 100644 index a4a8737..0000000 --- a/playgroundUITests/playgroundUITestsLaunchTests.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// playgroundUITestsLaunchTests.swift -// playgroundUITests -// -// Created by Taha Tesser on 04.08.2024. -// - -import XCTest - -final class playgroundUITestsLaunchTests: XCTestCase { - override class var runsForEachTargetApplicationUIConfiguration: Bool { - true - } - - override func setUpWithError() throws { - continueAfterFailure = false - } - - @MainActor - func testLaunch() throws { - let app = XCUIApplication() - app.launch() - - // Insert steps here to perform after app launch but before taking a screenshot, - // such as logging into a test account or navigating somewhere in the app - - let attachment = XCTAttachment(screenshot: app.screenshot()) - attachment.name = "Launch Screen" - attachment.lifetime = .keepAlways - add(attachment) - } -}