From 7d4a0f7a0132b08579cd83c0c1feac3a244f567f Mon Sep 17 00:00:00 2001 From: Bruno Muniz Azevedo Filho Date: Mon, 2 Oct 2023 01:24:22 -0300 Subject: [PATCH] Upload project --- .DS_Store | Bin 0 -> 6148 bytes Airports.xcodeproj/project.pbxproj | 587 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + Airports/.DS_Store | Bin 0 -> 6148 bytes Airports/AirportsApp.swift | 17 + Airports/Assets.xcassets/.DS_Store | Bin 0 -> 6148 bytes .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + Airports/Assets.xcassets/Contents.json | 6 + Airports/ContentView.swift | 24 + .../Preview Assets.xcassets/Contents.json | 6 + AirportsTests/AirportsTests.swift | 36 ++ AirportsUITests/AirportsUITests.swift | 41 ++ .../AirportsUITestsLaunchTests.swift | 32 + 15 files changed, 788 insertions(+) create mode 100644 .DS_Store create mode 100644 Airports.xcodeproj/project.pbxproj create mode 100644 Airports.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Airports.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Airports/.DS_Store create mode 100644 Airports/AirportsApp.swift create mode 100644 Airports/Assets.xcassets/.DS_Store create mode 100644 Airports/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 Airports/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Airports/Assets.xcassets/Contents.json create mode 100644 Airports/ContentView.swift create mode 100644 Airports/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 AirportsTests/AirportsTests.swift create mode 100644 AirportsUITests/AirportsUITests.swift create mode 100644 AirportsUITests/AirportsUITestsLaunchTests.swift diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..20f05c51ada806bca0ada084c1f267587b5b9397 GIT binary patch literal 6148 zcmeHK%}N6?5T58B7NuBAGBJ?O!A5PS*2iy$KS z6yh8B27Z&Inz-$Dy%doQBwuzivzhNJn>0iusuztiQIUvzG)8X;-2~%#ZYf*Po>idW zceGpOgL>TQrXrogDc}_Niwf|!>(Lgq=#&Qb_j`3`&UNA_sKa z8ICz+yx(M!FT<{%&nsF<)qh0$G=+mdnw??tczPX;dCXYH6 z>zx8l0jI#10=z#2XpEu8M4{X|(8((R(1TkV#&T~42J8Ta8WV-^z=TQ#s#Kw`7(%7P zALzJHW1>){laMRpJ$hxKZzw{p4u2rSNrVbr?-Xzf*a|GF$0DEqd(-d#c9MH?3OEJ+ zl>)+x4x%b3>9aLOj?dZv?HG-X;}V531)V;Q<$#ak4K!((3wQtwH6{w-fw?~dQU=#K I1?H;2Cx^b#umAu6 literal 0 HcmV?d00001 diff --git a/Airports.xcodeproj/project.pbxproj b/Airports.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0ca14a5 --- /dev/null +++ b/Airports.xcodeproj/project.pbxproj @@ -0,0 +1,587 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 32AB3B502ACA7C3E007C7528 /* AirportsApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32AB3B4F2ACA7C3E007C7528 /* AirportsApp.swift */; }; + 32AB3B522ACA7C3E007C7528 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32AB3B512ACA7C3E007C7528 /* ContentView.swift */; }; + 32AB3B542ACA7C3E007C7528 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 32AB3B532ACA7C3E007C7528 /* Assets.xcassets */; }; + 32AB3B572ACA7C3E007C7528 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 32AB3B562ACA7C3E007C7528 /* Preview Assets.xcassets */; }; + 32AB3B612ACA7C3F007C7528 /* AirportsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32AB3B602ACA7C3F007C7528 /* AirportsTests.swift */; }; + 32AB3B6B2ACA7C3F007C7528 /* AirportsUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32AB3B6A2ACA7C3F007C7528 /* AirportsUITests.swift */; }; + 32AB3B6D2ACA7C3F007C7528 /* AirportsUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32AB3B6C2ACA7C3F007C7528 /* AirportsUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 32AB3B5D2ACA7C3F007C7528 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 32AB3B442ACA7C3E007C7528 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 32AB3B4B2ACA7C3E007C7528; + remoteInfo = Airports; + }; + 32AB3B672ACA7C3F007C7528 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 32AB3B442ACA7C3E007C7528 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 32AB3B4B2ACA7C3E007C7528; + remoteInfo = Airports; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 32AB3B4C2ACA7C3E007C7528 /* Airports.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Airports.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 32AB3B4F2ACA7C3E007C7528 /* AirportsApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirportsApp.swift; sourceTree = ""; }; + 32AB3B512ACA7C3E007C7528 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 32AB3B532ACA7C3E007C7528 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 32AB3B562ACA7C3E007C7528 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 32AB3B5C2ACA7C3F007C7528 /* AirportsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AirportsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 32AB3B602ACA7C3F007C7528 /* AirportsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirportsTests.swift; sourceTree = ""; }; + 32AB3B662ACA7C3F007C7528 /* AirportsUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AirportsUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 32AB3B6A2ACA7C3F007C7528 /* AirportsUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirportsUITests.swift; sourceTree = ""; }; + 32AB3B6C2ACA7C3F007C7528 /* AirportsUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirportsUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 32AB3B492ACA7C3E007C7528 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32AB3B592ACA7C3F007C7528 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32AB3B632ACA7C3F007C7528 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 32AB3B432ACA7C3E007C7528 = { + isa = PBXGroup; + children = ( + 32AB3B4E2ACA7C3E007C7528 /* Airports */, + 32AB3B5F2ACA7C3F007C7528 /* AirportsTests */, + 32AB3B692ACA7C3F007C7528 /* AirportsUITests */, + 32AB3B4D2ACA7C3E007C7528 /* Products */, + ); + sourceTree = ""; + }; + 32AB3B4D2ACA7C3E007C7528 /* Products */ = { + isa = PBXGroup; + children = ( + 32AB3B4C2ACA7C3E007C7528 /* Airports.app */, + 32AB3B5C2ACA7C3F007C7528 /* AirportsTests.xctest */, + 32AB3B662ACA7C3F007C7528 /* AirportsUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 32AB3B4E2ACA7C3E007C7528 /* Airports */ = { + isa = PBXGroup; + children = ( + 32AB3B4F2ACA7C3E007C7528 /* AirportsApp.swift */, + 32AB3B512ACA7C3E007C7528 /* ContentView.swift */, + 32AB3B532ACA7C3E007C7528 /* Assets.xcassets */, + 32AB3B552ACA7C3E007C7528 /* Preview Content */, + ); + path = Airports; + sourceTree = ""; + }; + 32AB3B552ACA7C3E007C7528 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 32AB3B562ACA7C3E007C7528 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 32AB3B5F2ACA7C3F007C7528 /* AirportsTests */ = { + isa = PBXGroup; + children = ( + 32AB3B602ACA7C3F007C7528 /* AirportsTests.swift */, + ); + path = AirportsTests; + sourceTree = ""; + }; + 32AB3B692ACA7C3F007C7528 /* AirportsUITests */ = { + isa = PBXGroup; + children = ( + 32AB3B6A2ACA7C3F007C7528 /* AirportsUITests.swift */, + 32AB3B6C2ACA7C3F007C7528 /* AirportsUITestsLaunchTests.swift */, + ); + path = AirportsUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 32AB3B4B2ACA7C3E007C7528 /* Airports */ = { + isa = PBXNativeTarget; + buildConfigurationList = 32AB3B702ACA7C3F007C7528 /* Build configuration list for PBXNativeTarget "Airports" */; + buildPhases = ( + 32AB3B482ACA7C3E007C7528 /* Sources */, + 32AB3B492ACA7C3E007C7528 /* Frameworks */, + 32AB3B4A2ACA7C3E007C7528 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Airports; + productName = Airports; + productReference = 32AB3B4C2ACA7C3E007C7528 /* Airports.app */; + productType = "com.apple.product-type.application"; + }; + 32AB3B5B2ACA7C3F007C7528 /* AirportsTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 32AB3B732ACA7C3F007C7528 /* Build configuration list for PBXNativeTarget "AirportsTests" */; + buildPhases = ( + 32AB3B582ACA7C3F007C7528 /* Sources */, + 32AB3B592ACA7C3F007C7528 /* Frameworks */, + 32AB3B5A2ACA7C3F007C7528 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 32AB3B5E2ACA7C3F007C7528 /* PBXTargetDependency */, + ); + name = AirportsTests; + productName = AirportsTests; + productReference = 32AB3B5C2ACA7C3F007C7528 /* AirportsTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 32AB3B652ACA7C3F007C7528 /* AirportsUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 32AB3B762ACA7C3F007C7528 /* Build configuration list for PBXNativeTarget "AirportsUITests" */; + buildPhases = ( + 32AB3B622ACA7C3F007C7528 /* Sources */, + 32AB3B632ACA7C3F007C7528 /* Frameworks */, + 32AB3B642ACA7C3F007C7528 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 32AB3B682ACA7C3F007C7528 /* PBXTargetDependency */, + ); + name = AirportsUITests; + productName = AirportsUITests; + productReference = 32AB3B662ACA7C3F007C7528 /* AirportsUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 32AB3B442ACA7C3E007C7528 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + TargetAttributes = { + 32AB3B4B2ACA7C3E007C7528 = { + CreatedOnToolsVersion = 15.0; + }; + 32AB3B5B2ACA7C3F007C7528 = { + CreatedOnToolsVersion = 15.0; + TestTargetID = 32AB3B4B2ACA7C3E007C7528; + }; + 32AB3B652ACA7C3F007C7528 = { + CreatedOnToolsVersion = 15.0; + TestTargetID = 32AB3B4B2ACA7C3E007C7528; + }; + }; + }; + buildConfigurationList = 32AB3B472ACA7C3E007C7528 /* Build configuration list for PBXProject "Airports" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 32AB3B432ACA7C3E007C7528; + productRefGroup = 32AB3B4D2ACA7C3E007C7528 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 32AB3B4B2ACA7C3E007C7528 /* Airports */, + 32AB3B5B2ACA7C3F007C7528 /* AirportsTests */, + 32AB3B652ACA7C3F007C7528 /* AirportsUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 32AB3B4A2ACA7C3E007C7528 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 32AB3B572ACA7C3E007C7528 /* Preview Assets.xcassets in Resources */, + 32AB3B542ACA7C3E007C7528 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32AB3B5A2ACA7C3F007C7528 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32AB3B642ACA7C3F007C7528 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 32AB3B482ACA7C3E007C7528 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 32AB3B522ACA7C3E007C7528 /* ContentView.swift in Sources */, + 32AB3B502ACA7C3E007C7528 /* AirportsApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32AB3B582ACA7C3F007C7528 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 32AB3B612ACA7C3F007C7528 /* AirportsTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32AB3B622ACA7C3F007C7528 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 32AB3B6D2ACA7C3F007C7528 /* AirportsUITestsLaunchTests.swift in Sources */, + 32AB3B6B2ACA7C3F007C7528 /* AirportsUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 32AB3B5E2ACA7C3F007C7528 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 32AB3B4B2ACA7C3E007C7528 /* Airports */; + targetProxy = 32AB3B5D2ACA7C3F007C7528 /* PBXContainerItemProxy */; + }; + 32AB3B682ACA7C3F007C7528 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 32AB3B4B2ACA7C3E007C7528 /* Airports */; + targetProxy = 32AB3B672ACA7C3F007C7528 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 32AB3B6E2ACA7C3F007C7528 /* 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; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 32AB3B6F2ACA7C3F007C7528 /* 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; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 32AB3B712ACA7C3F007C7528 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Airports/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = bmz.Airports; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 32AB3B722ACA7C3F007C7528 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"Airports/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = bmz.Airports; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 32AB3B742ACA7C3F007C7528 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = bmz.AirportsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Airports.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Airports"; + }; + name = Debug; + }; + 32AB3B752ACA7C3F007C7528 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = bmz.AirportsTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Airports.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Airports"; + }; + name = Release; + }; + 32AB3B772ACA7C3F007C7528 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = bmz.AirportsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = Airports; + }; + name = Debug; + }; + 32AB3B782ACA7C3F007C7528 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = bmz.AirportsUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = Airports; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 32AB3B472ACA7C3E007C7528 /* Build configuration list for PBXProject "Airports" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 32AB3B6E2ACA7C3F007C7528 /* Debug */, + 32AB3B6F2ACA7C3F007C7528 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 32AB3B702ACA7C3F007C7528 /* Build configuration list for PBXNativeTarget "Airports" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 32AB3B712ACA7C3F007C7528 /* Debug */, + 32AB3B722ACA7C3F007C7528 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 32AB3B732ACA7C3F007C7528 /* Build configuration list for PBXNativeTarget "AirportsTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 32AB3B742ACA7C3F007C7528 /* Debug */, + 32AB3B752ACA7C3F007C7528 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 32AB3B762ACA7C3F007C7528 /* Build configuration list for PBXNativeTarget "AirportsUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 32AB3B772ACA7C3F007C7528 /* Debug */, + 32AB3B782ACA7C3F007C7528 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 32AB3B442ACA7C3E007C7528 /* Project object */; +} diff --git a/Airports.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Airports.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Airports.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Airports.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Airports.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Airports.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Airports/.DS_Store b/Airports/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..1eb49b5ad7cb04d59c07d6e29ca969dc64f8496e GIT binary patch literal 6148 zcmeHKOHRW;41H6IRK%iP!irh3MCt_~En#1&7l5`AAho1w`7Lt{Zoo;n45#3EJPM5h zv_c3WWJ~s&ICds}qr@`+T>oy;1v&s)RKdm$%?Bd)MQhTC9=YklGj6fO5gswdMJ?JK ze~|%MyEb}Uwe~(ECEFNa!D{YtP5S_kQ{=c|b(z>|JvdpPv0Bgb_Tr$d=gWC!`FlN^XI1Nw@6yB= zFb0f)A7_9)TcowCXx11o28@A{0r@|8s$deaPz=8gns5XlHt7z+aoDpEy*P+T#6poC ziqll0rn-2#65d5s51l%M=bmD`u>;;yr2*`n?Q@NyI{t Q9*S)Q0u5%2fnR0d4J+Ma{{R30 literal 0 HcmV?d00001 diff --git a/Airports/AirportsApp.swift b/Airports/AirportsApp.swift new file mode 100644 index 0000000..4fa620b --- /dev/null +++ b/Airports/AirportsApp.swift @@ -0,0 +1,17 @@ +// +// AirportsApp.swift +// Airports +// +// Created by Bruno Muniz on 10/2/23. +// + +import SwiftUI + +@main +struct AirportsApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Airports/Assets.xcassets/.DS_Store b/Airports/Assets.xcassets/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..af568616ac46b3d192b9e3169ecf592f3133d757 GIT binary patch literal 6148 zcmeHK%}T>S5T30)R0JvF!JGR8La!bqt?}TwFQENFg`^3!p1kCh`Vc;VZ{#;W)|5tQ z5Cml=%zoL~oov5vOD0Q1Ve~Q^5cP?u2WRXYqG>Q5XWy}oMR+jCGZwU>Ybq#%yZr?P zc<)YWNK;&Ms_);DE)dhbT+%Z}SJ}g0JT3Clh`qMS&5JahWW@wIy~}WXel>p^w#%RW zD8GEH|91Yr(+PN&xNe2#0(|eK|786p&g*^i>U`JlbUD@9GGAS>fJwsNo&N|4nNk20M?qUfzF;0kOjaG>2j*Z-UE&;Q#= z-g5<9fq$hy=%(Xz1WHz0cgS(Ajqp1-8_%m0Hz~N0QjED=iqGI;h)2EwCWe(FA~63D M5E;C21%6e54=40)ssI20 literal 0 HcmV?d00001 diff --git a/Airports/Assets.xcassets/AccentColor.colorset/Contents.json b/Airports/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Airports/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Airports/Assets.xcassets/AppIcon.appiconset/Contents.json b/Airports/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/Airports/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Airports/Assets.xcassets/Contents.json b/Airports/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Airports/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Airports/ContentView.swift b/Airports/ContentView.swift new file mode 100644 index 0000000..8eabc0e --- /dev/null +++ b/Airports/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// Airports +// +// Created by Bruno Muniz on 10/2/23. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/Airports/Preview Content/Preview Assets.xcassets/Contents.json b/Airports/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Airports/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/AirportsTests/AirportsTests.swift b/AirportsTests/AirportsTests.swift new file mode 100644 index 0000000..07dfaab --- /dev/null +++ b/AirportsTests/AirportsTests.swift @@ -0,0 +1,36 @@ +// +// AirportsTests.swift +// AirportsTests +// +// Created by Bruno Muniz on 10/2/23. +// + +import XCTest +@testable import Airports + +final class AirportsTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/AirportsUITests/AirportsUITests.swift b/AirportsUITests/AirportsUITests.swift new file mode 100644 index 0000000..f96578a --- /dev/null +++ b/AirportsUITests/AirportsUITests.swift @@ -0,0 +1,41 @@ +// +// AirportsUITests.swift +// AirportsUITests +// +// Created by Bruno Muniz on 10/2/23. +// + +import XCTest + +final class AirportsUITests: 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. + } + + 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. + } + + 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/AirportsUITests/AirportsUITestsLaunchTests.swift b/AirportsUITests/AirportsUITestsLaunchTests.swift new file mode 100644 index 0000000..cd086b6 --- /dev/null +++ b/AirportsUITests/AirportsUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// AirportsUITestsLaunchTests.swift +// AirportsUITests +// +// Created by Bruno Muniz on 10/2/23. +// + +import XCTest + +final class AirportsUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + 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) + } +}