From e90ebc9bd25821491ef376bbea93937a54ca466e Mon Sep 17 00:00:00 2001 From: Kieran Osgood Date: Mon, 1 Jun 2026 16:08:37 +0100 Subject: [PATCH] Rename Swift demo app --- dev.yml | 14 +++--- platforms/swift/.swiftformat | 2 +- platforms/swift/README.md | 2 +- .../.allowed-script-phases.yml | 2 +- .../project.pbxproj | 44 +++++++++--------- .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/swiftpm/Package.resolved | 0 .../xcschemes/CheckoutKitSwiftDemo.xcscheme} | 24 +++++----- .../AccentColor.colorset/Contents.json | 0 .../AppIcon.appiconset/1024.jpg | Bin .../AppIcon.appiconset/Contents.json | 0 .../Assets.xcassets/Contents.json | 0 .../logo.imageset/Contents.json | 0 .../Assets.xcassets/logo.imageset/plant.png | Bin .../Base.lproj/LaunchScreen.storyboard | 0 ...heckoutKitSwiftDemo.entitlements.template} | 2 +- .../CheckoutKitSwiftDemo}/Info.plist | 0 .../Sources/Api/Mutations/CartCreate.graphql | 0 .../Api/Mutations/CartLinesAdd.graphql | 0 .../Api/Mutations/CartLinesUpdate.graphql | 0 .../Sources/Api/Network.swift | 0 .../Queries/CartDeliveryGroupFragment.graphql | 0 .../Sources/Api/Queries/CartFragment.graphql | 0 .../Api/Queries/CartLineFragment.graphql | 0 .../Sources/Api/Queries/CartQuery.graphql | 0 .../Api/Queries/CartUserErrorFragment.graphql | 0 .../Sources/Api/Queries/GetProducts.graphql | 0 .../Sources/Api/StorefrontClient.swift | 0 .../Sources/App/AppConfiguration.swift | 0 .../Sources/App/AppDelegate.swift | 2 +- .../Sources/App/CartManager.swift | 0 .../App/CartResettingCheckoutDelegate.swift | 0 .../Sources/App/CheckoutCoordinator.swift | 0 .../Sources/App/SceneDelegate.swift | 0 .../Sources/CheckoutProtocolClient.swift | 0 .../Sources/Extensions/MoneyV2+Format.swift | 0 .../Sources/Extensions/UIImageView+URL.swift | 0 .../CartDeliveryGroupFragment.graphql.swift | 0 .../Fragments/CartFragment.graphql.swift | 0 .../Fragments/CartLineFragment.graphql.swift | 0 .../CartUserErrorFragment.graphql.swift | 0 .../CartCreateMutation.graphql.swift | 0 .../CartLinesAddMutation.graphql.swift | 0 .../CartLinesUpdateMutation.graphql.swift | 0 .../Queries/GetCartQuery.graphql.swift | 0 .../Queries/GetProductsQuery.graphql.swift | 0 .../Schema/CustomScalars/Decimal.swift | 0 .../Generated/Schema/CustomScalars/ID.swift | 0 .../Generated/Schema/CustomScalars/URL.swift | 0 .../Enums/CartDeliveryGroupType.graphql.swift | 0 .../Schema/Enums/CartErrorCode.graphql.swift | 0 .../Schema/Enums/CountryCode.graphql.swift | 0 .../Schema/Enums/CurrencyCode.graphql.swift | 0 ...eryAddressValidationStrategy.graphql.swift | 0 .../Enums/DeliveryMethodType.graphql.swift | 0 .../Schema/Enums/LanguageCode.graphql.swift | 0 ...PreferenceDeliveryMethodType.graphql.swift | 0 .../InputObjects/AttributeInput.graphql.swift | 0 .../CartAddressInput.graphql.swift | 0 .../CartBuyerIdentityInput.graphql.swift | 0 .../CartDeliveryAddressInput.graphql.swift | 0 ...ryCoordinatesPreferenceInput.graphql.swift | 0 .../CartDeliveryInput.graphql.swift | 0 .../CartDeliveryPreferenceInput.graphql.swift | 0 .../InputObjects/CartInput.graphql.swift | 0 .../CartInputMetafieldInput.graphql.swift | 0 .../InputObjects/CartLineInput.graphql.swift | 0 .../CartLineParentInput.graphql.swift | 0 .../CartLineUpdateInput.graphql.swift | 0 .../CartPreferencesInput.graphql.swift | 0 .../CartSelectableAddressInput.graphql.swift | 0 .../Interfaces/BaseCartLine.graphql.swift | 0 .../Interfaces/DisplayableError.graphql.swift | 0 .../Interfaces/HasMetafields.graphql.swift | 0 .../Schema/Interfaces/Media.graphql.swift | 0 .../Schema/Interfaces/Node.graphql.swift | 0 .../OnlineStorePublishable.graphql.swift | 0 .../Schema/Interfaces/Trackable.graphql.swift | 0 .../Objects/AppliedGiftCard.graphql.swift | 0 .../Schema/Objects/Article.graphql.swift | 0 .../BaseCartLineConnection.graphql.swift | 0 .../Schema/Objects/Blog.graphql.swift | 0 .../Schema/Objects/Cart.graphql.swift | 0 .../Objects/CartBuyerIdentity.graphql.swift | 0 .../Schema/Objects/CartCost.graphql.swift | 0 .../Objects/CartCreatePayload.graphql.swift | 0 .../Objects/CartDeliveryGroup.graphql.swift | 0 .../CartDeliveryGroupConnection.graphql.swift | 0 .../Objects/CartDeliveryOption.graphql.swift | 0 .../Schema/Objects/CartLine.graphql.swift | 0 .../Schema/Objects/CartLineCost.graphql.swift | 0 .../Objects/CartLinesAddPayload.graphql.swift | 0 .../CartLinesUpdatePayload.graphql.swift | 0 .../Objects/CartUserError.graphql.swift | 0 .../Schema/Objects/Collection.graphql.swift | 0 .../CollectionConnection.graphql.swift | 0 .../Schema/Objects/Comment.graphql.swift | 0 .../Schema/Objects/Company.graphql.swift | 0 .../Objects/CompanyContact.graphql.swift | 0 .../Objects/CompanyLocation.graphql.swift | 0 .../ComponentizableCartLine.graphql.swift | 0 .../Schema/Objects/Customer.graphql.swift | 0 .../Objects/CustomerUserError.graphql.swift | 0 .../Objects/ExternalVideo.graphql.swift | 0 .../Schema/Objects/GenericFile.graphql.swift | 0 .../Schema/Objects/Image.graphql.swift | 0 .../Schema/Objects/Location.graphql.swift | 0 .../Objects/MailingAddress.graphql.swift | 0 .../Schema/Objects/Market.graphql.swift | 0 .../Schema/Objects/MediaImage.graphql.swift | 0 .../Objects/MediaPresentation.graphql.swift | 0 .../Schema/Objects/Menu.graphql.swift | 0 .../Schema/Objects/MenuItem.graphql.swift | 0 .../Schema/Objects/Metafield.graphql.swift | 0 .../MetafieldDeleteUserError.graphql.swift | 0 .../MetafieldsSetUserError.graphql.swift | 0 .../Schema/Objects/Metaobject.graphql.swift | 0 .../Schema/Objects/Model3d.graphql.swift | 0 .../Schema/Objects/MoneyV2.graphql.swift | 0 .../Schema/Objects/Mutation.graphql.swift | 0 .../Schema/Objects/Order.graphql.swift | 0 .../Schema/Objects/Page.graphql.swift | 0 .../Schema/Objects/Product.graphql.swift | 0 .../Objects/ProductConnection.graphql.swift | 0 .../Objects/ProductOption.graphql.swift | 0 .../Objects/ProductOptionValue.graphql.swift | 0 .../Objects/ProductVariant.graphql.swift | 0 .../ProductVariantConnection.graphql.swift | 0 .../Schema/Objects/QueryRoot.graphql.swift | 0 .../SearchQuerySuggestion.graphql.swift | 0 .../Schema/Objects/SellingPlan.graphql.swift | 0 .../Schema/Objects/Shop.graphql.swift | 0 ...PayInstallmentsFinancingPlan.graphql.swift | 0 ...nstallmentsFinancingPlanTerm.graphql.swift | 0 ...llmentsProductVariantPricing.graphql.swift | 0 .../Schema/Objects/ShopPolicy.graphql.swift | 0 .../Objects/TaxonomyCategory.graphql.swift | 0 .../Schema/Objects/UrlRedirect.graphql.swift | 0 .../Schema/Objects/UserError.graphql.swift | 0 ...mentRequestSessionUserErrors.graphql.swift | 0 .../Schema/Objects/Video.graphql.swift | 0 .../Schema/SchemaConfiguration.swift | 0 .../Schema/SchemaMetadata.graphql.swift | 0 .../Schema/Unions/Merchandise.graphql.swift | 0 .../Generated/Storefront.graphql.swift | 0 .../Sources/Lib/InfoDictionary.swift | 0 .../Sources/Lib/KeychainHelper.swift | 0 .../Sources/Lib/Logger.swift | 0 .../Sources/Lib/Theme.swift | 0 .../Sources/Localizable.xcstrings | 0 .../Sources/Scenes/AccountView.swift | 0 .../Sources/Scenes/Cart/CartView.swift | 0 .../Scenes/Cart/CartViewController.swift | 0 .../CustomerAccountLoginView.swift | 0 .../CustomerAccountManager.swift | 0 .../Sources/Scenes/Logs/LogReader.swift | 0 .../Sources/Scenes/Logs/LogsView.swift | 0 .../Sources/Scenes/ProductGridView.swift | 0 .../Sources/Scenes/ProductView.swift | 0 .../Sources/Scenes/SettingsView.swift | 0 .../README.md | 28 +++++------ .../Scripts/generate_entitlements.sh | 4 +- .../apollo-codegen-config.json | 4 +- platforms/swift/Samples/README.md | 10 ++-- .../contents.xcworkspacedata | 2 +- platforms/swift/Scripts/apollo_codegen | 8 ++-- .../swift/Scripts/apollo_download_schema | 8 ++-- platforms/swift/Scripts/build_samples | 2 +- platforms/swift/Scripts/setup_entitlements | 2 +- 170 files changed, 80 insertions(+), 80 deletions(-) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration.xcodeproj => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj}/.allowed-script-phases.yml (68%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration.xcodeproj => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj}/project.pbxproj (92%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration.xcodeproj => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration.xcodeproj => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj}/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration.xcodeproj => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj}/project.xcworkspace/xcshareddata/swiftpm/Package.resolved (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration.xcodeproj/xcshareddata/xcschemes/MobileBuyIntegration.xcscheme => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/xcshareddata/xcschemes/CheckoutKitSwiftDemo.xcscheme} (79%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Assets.xcassets/AccentColor.colorset/Contents.json (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Assets.xcassets/AppIcon.appiconset/1024.jpg (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Assets.xcassets/Contents.json (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Assets.xcassets/logo.imageset/Contents.json (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Assets.xcassets/logo.imageset/plant.png (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Base.lproj/LaunchScreen.storyboard (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration/MobileBuyIntegration.entitlements.template => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements.template} (84%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Info.plist (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Mutations/CartCreate.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Mutations/CartLinesAdd.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Mutations/CartLinesUpdate.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Network.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Queries/CartDeliveryGroupFragment.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Queries/CartFragment.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Queries/CartLineFragment.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Queries/CartQuery.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Queries/CartUserErrorFragment.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/Queries/GetProducts.graphql (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Api/StorefrontClient.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/App/AppConfiguration.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/App/AppDelegate.swift (95%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/App/CartManager.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/App/CartResettingCheckoutDelegate.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/App/CheckoutCoordinator.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/App/SceneDelegate.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/CheckoutProtocolClient.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Extensions/MoneyV2+Format.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Extensions/UIImageView+URL.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Fragments/CartDeliveryGroupFragment.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Fragments/CartFragment.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Fragments/CartLineFragment.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Fragments/CartUserErrorFragment.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Operations/Mutations/CartCreateMutation.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Operations/Mutations/CartLinesAddMutation.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Operations/Mutations/CartLinesUpdateMutation.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Operations/Queries/GetCartQuery.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Operations/Queries/GetProductsQuery.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/CustomScalars/Decimal.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/CustomScalars/ID.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/CustomScalars/URL.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/CartDeliveryGroupType.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/CartErrorCode.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/CountryCode.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/CurrencyCode.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/DeliveryAddressValidationStrategy.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/DeliveryMethodType.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/LanguageCode.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Enums/PreferenceDeliveryMethodType.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/AttributeInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartAddressInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartBuyerIdentityInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartDeliveryAddressInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartDeliveryCoordinatesPreferenceInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartDeliveryInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartDeliveryPreferenceInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartInputMetafieldInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartLineInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartLineParentInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartLineUpdateInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartPreferencesInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/InputObjects/CartSelectableAddressInput.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/BaseCartLine.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/DisplayableError.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/HasMetafields.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/Media.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/Node.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/OnlineStorePublishable.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Interfaces/Trackable.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/AppliedGiftCard.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Article.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/BaseCartLineConnection.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Blog.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Cart.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartBuyerIdentity.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartCost.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartCreatePayload.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartDeliveryGroup.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartDeliveryGroupConnection.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartDeliveryOption.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartLine.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartLineCost.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartLinesAddPayload.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartLinesUpdatePayload.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CartUserError.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Collection.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CollectionConnection.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Comment.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Company.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CompanyContact.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CompanyLocation.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ComponentizableCartLine.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Customer.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/CustomerUserError.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ExternalVideo.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/GenericFile.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Image.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Location.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MailingAddress.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Market.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MediaImage.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MediaPresentation.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Menu.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MenuItem.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Metafield.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MetafieldDeleteUserError.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MetafieldsSetUserError.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Metaobject.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Model3d.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/MoneyV2.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Mutation.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Order.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Page.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Product.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ProductConnection.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ProductOption.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ProductOptionValue.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ProductVariant.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ProductVariantConnection.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/QueryRoot.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/SearchQuerySuggestion.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/SellingPlan.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Shop.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlan.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlanTerm.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ShopPayInstallmentsProductVariantPricing.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/ShopPolicy.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/TaxonomyCategory.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/UrlRedirect.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/UserError.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/UserErrorsShopPayPaymentRequestSessionUserErrors.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Objects/Video.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/SchemaConfiguration.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/SchemaMetadata.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Schema/Unions/Merchandise.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Generated/Storefront.graphql.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Lib/InfoDictionary.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Lib/KeychainHelper.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Lib/Logger.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Lib/Theme.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Localizable.xcstrings (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/AccountView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/Cart/CartView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/Cart/CartViewController.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/CustomerAccounts/CustomerAccountLoginView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/CustomerAccounts/CustomerAccountManager.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/Logs/LogReader.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/Logs/LogsView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/ProductGridView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/ProductView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration/MobileBuyIntegration => CheckoutKitSwiftDemo/CheckoutKitSwiftDemo}/Sources/Scenes/SettingsView.swift (100%) rename platforms/swift/Samples/{MobileBuyIntegration => CheckoutKitSwiftDemo}/README.md (87%) rename platforms/swift/Samples/{MobileBuyIntegration => CheckoutKitSwiftDemo}/Scripts/generate_entitlements.sh (78%) rename platforms/swift/Samples/{MobileBuyIntegration => CheckoutKitSwiftDemo}/apollo-codegen-config.json (80%) diff --git a/dev.yml b/dev.yml index 6133bdc7..77faef2d 100644 --- a/dev.yml +++ b/dev.yml @@ -97,22 +97,22 @@ commands: desc: "Apollo GraphQL schema and code generation commands" subcommands: download_schema: - desc: "Download GraphQL schema. Usage: dev apollo download_schema [accelerated|mobile-buy|all]" - syntax: " [accelerated|mobile-buy|all]" + desc: "Download GraphQL schema. Usage: dev apollo download_schema [accelerated|swift|all]" + syntax: " [accelerated|swift|all]" run: | case "$1" in android) cd platforms/android && ./scripts/apollo_download_schema ;; swift) shift; cd platforms/swift && ./Scripts/apollo_download_schema "$@" ;; - *) echo "Usage: dev apollo download_schema [accelerated|mobile-buy|all]"; exit 1 ;; + *) echo "Usage: dev apollo download_schema [accelerated|swift|all]"; exit 1 ;; esac codegen: - desc: "Generate Apollo models. Usage: dev apollo codegen [accelerated|mobile-buy|all]" - syntax: " [accelerated|mobile-buy|all]" + desc: "Generate Apollo models. Usage: dev apollo codegen [accelerated|swift|all]" + syntax: " [accelerated|swift|all]" run: | case "$1" in android) cd platforms/android && ./scripts/apollo_codegen ;; swift) shift; cd platforms/swift && ./Scripts/apollo_codegen "$@" ;; - *) echo "Usage: dev apollo codegen [accelerated|mobile-buy|all]"; exit 1 ;; + *) echo "Usage: dev apollo codegen [accelerated|swift|all]"; exit 1 ;; esac # Protocol @@ -273,7 +273,7 @@ commands: # Sample apps have a "Run Script" build phase that runs during clean # and exits non-zero when there is nothing to delete. Tolerate it so # the second sample still gets cleaned. - ../Scripts/xcode_run clean MobileBuyIntegration || true + ../Scripts/xcode_run clean CheckoutKitSwiftDemo || true ../Scripts/xcode_run clean ShopifyAcceleratedCheckoutsApp || true # React Native diff --git a/platforms/swift/.swiftformat b/platforms/swift/.swiftformat index f601bcc1..2666dec9 100644 --- a/platforms/swift/.swiftformat +++ b/platforms/swift/.swiftformat @@ -11,5 +11,5 @@ --extensionacl on-declarations --exclude Sources/ShopifyCheckoutKit/Models.swift --exclude Sources/ShopifyCheckoutProtocol/Generated ---exclude Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated +--exclude Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated --exclude Samples/ShopifyAcceleratedCheckoutsApp/ShopifyAcceleratedCheckoutsApp/Generated diff --git a/platforms/swift/README.md b/platforms/swift/README.md index 6711402d..7e582d7b 100644 --- a/platforms/swift/README.md +++ b/platforms/swift/README.md @@ -391,7 +391,7 @@ Use `CheckoutProtocol.Client` through `.connect(client)` to observe checkout com See [Samples](Samples/README.md): -- `MobileBuyIntegration` demonstrates a Storefront API cart flow, buyer identity modes, Customer Account API, checkout presentation, and protocol events. +- `CheckoutKitSwiftDemo` demonstrates a Storefront API cart flow, buyer identity modes, Customer Account API, checkout presentation, and protocol events. - `ShopifyAcceleratedCheckoutsApp` demonstrates Shop Pay and Apple Pay accelerated checkout buttons. ## Contributing diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/.allowed-script-phases.yml b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/.allowed-script-phases.yml similarity index 68% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/.allowed-script-phases.yml rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/.allowed-script-phases.yml index ec065acd..3f140740 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/.allowed-script-phases.yml +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/.allowed-script-phases.yml @@ -1,3 +1,3 @@ --- -MobileBuyIntegration: +CheckoutKitSwiftDemo: - 'Run SwiftLint: 4ECA613D2AC5D304005A59A7' diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.pbxproj b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.pbxproj similarity index 92% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.pbxproj rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.pbxproj index 2a81f732..f030bc6c 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.pbxproj +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.pbxproj @@ -18,12 +18,12 @@ /* Begin PBXFileReference section */ 2147F3E52B502AFD005546F3 /* checkout-kit */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "checkout-kit"; path = ../..; sourceTree = ""; }; - 4EBBA7672A5F0CE200193E19 /* MobileBuyIntegration.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MobileBuyIntegration.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4EBBA7672A5F0CE200193E19 /* CheckoutKitSwiftDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CheckoutKitSwiftDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 4EBBA7732A5F0CE200193E19 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 4EBBA7762A5F0CE200193E19 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 4EBBA7782A5F0CE200193E19 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 4EBBA7A72A5F10C400193E19 /* Storefront.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Storefront.xcconfig; sourceTree = SOURCE_ROOT; }; - 6AE865492CE3BB6500A4971C /* MobileBuyIntegration.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = MobileBuyIntegration.entitlements; sourceTree = ""; }; + 6AE865492CE3BB6500A4971C /* CheckoutKitSwiftDemo.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = CheckoutKitSwiftDemo.entitlements; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFileSystemSynchronizedRootGroup section */ @@ -49,7 +49,7 @@ 4EBBA75E2A5F0CE200193E19 = { isa = PBXGroup; children = ( - 4EBBA7692A5F0CE200193E19 /* MobileBuyIntegration */, + 4EBBA7692A5F0CE200193E19 /* CheckoutKitSwiftDemo */, 4EBBA7B32A5F230900193E19 /* Packages */, 4EBBA7682A5F0CE200193E19 /* Products */, 4EBBA7B52A5F231500193E19 /* Frameworks */, @@ -59,18 +59,18 @@ 4EBBA7682A5F0CE200193E19 /* Products */ = { isa = PBXGroup; children = ( - 4EBBA7672A5F0CE200193E19 /* MobileBuyIntegration.app */, + 4EBBA7672A5F0CE200193E19 /* CheckoutKitSwiftDemo.app */, ); name = Products; sourceTree = ""; }; - 4EBBA7692A5F0CE200193E19 /* MobileBuyIntegration */ = { + 4EBBA7692A5F0CE200193E19 /* CheckoutKitSwiftDemo */ = { isa = PBXGroup; children = ( CB236EDA2FB219C500F0D914 /* Sources */, 4EBBA77E2A5F0D8E00193E19 /* Resources */, ); - path = MobileBuyIntegration; + path = CheckoutKitSwiftDemo; sourceTree = ""; }; 4EBBA77E2A5F0D8E00193E19 /* Resources */ = { @@ -80,7 +80,7 @@ 4EBBA7732A5F0CE200193E19 /* Assets.xcassets */, 4EBBA7752A5F0CE200193E19 /* LaunchScreen.storyboard */, 4EBBA7782A5F0CE200193E19 /* Info.plist */, - 6AE865492CE3BB6500A4971C /* MobileBuyIntegration.entitlements */, + 6AE865492CE3BB6500A4971C /* CheckoutKitSwiftDemo.entitlements */, ); name = Resources; sourceTree = ""; @@ -103,9 +103,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 4EBBA7662A5F0CE200193E19 /* MobileBuyIntegration */ = { + 4EBBA7662A5F0CE200193E19 /* CheckoutKitSwiftDemo */ = { isa = PBXNativeTarget; - buildConfigurationList = 4EBBA77B2A5F0CE200193E19 /* Build configuration list for PBXNativeTarget "MobileBuyIntegration" */; + buildConfigurationList = 4EBBA77B2A5F0CE200193E19 /* Build configuration list for PBXNativeTarget "CheckoutKitSwiftDemo" */; buildPhases = ( 4EBBA7632A5F0CE200193E19 /* Sources */, 4EBBA7642A5F0CE200193E19 /* Frameworks */, @@ -119,7 +119,7 @@ fileSystemSynchronizedGroups = ( CB236EDA2FB219C500F0D914 /* Sources */, ); - name = MobileBuyIntegration; + name = CheckoutKitSwiftDemo; packageProductDependencies = ( CB00000012345679 /* Apollo */, CB00000012345680 /* ApolloAPI */, @@ -127,8 +127,8 @@ CB1B10B42E4CDDB0001713F8 /* ShopifyCheckoutKit */, CBED2D4E2F3F5D1B00EC866A /* ShopifyAcceleratedCheckouts */, ); - productName = MobileBuyIntegration; - productReference = 4EBBA7672A5F0CE200193E19 /* MobileBuyIntegration.app */; + productName = CheckoutKitSwiftDemo; + productReference = 4EBBA7672A5F0CE200193E19 /* CheckoutKitSwiftDemo.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -146,7 +146,7 @@ }; }; }; - buildConfigurationList = 4EBBA7622A5F0CE200193E19 /* Build configuration list for PBXProject "MobileBuyIntegration" */; + buildConfigurationList = 4EBBA7622A5F0CE200193E19 /* Build configuration list for PBXProject "CheckoutKitSwiftDemo" */; compatibilityVersion = "Xcode 14.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -165,7 +165,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 4EBBA7662A5F0CE200193E19 /* MobileBuyIntegration */, + 4EBBA7662A5F0CE200193E19 /* CheckoutKitSwiftDemo */, ); }; /* End PBXProject section */ @@ -353,12 +353,12 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = MobileBuyIntegration/MobileBuyIntegration.entitlements; + CODE_SIGN_ENTITLEMENTS = CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = A7XGC83MZE; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = MobileBuyIntegration/Info.plist; + INFOPLIST_FILE = CheckoutKitSwiftDemo/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Plant; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "Your location may be required to locate pickup points near you when you request this shipping option."; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -373,7 +373,7 @@ "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.shopify.example.MobileBuyIntegration; + PRODUCT_BUNDLE_IDENTIFIER = com.shopify.checkoutkit.swiftdemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; @@ -388,12 +388,12 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - CODE_SIGN_ENTITLEMENTS = MobileBuyIntegration/MobileBuyIntegration.entitlements; + CODE_SIGN_ENTITLEMENTS = CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = A7XGC83MZE; GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = MobileBuyIntegration/Info.plist; + INFOPLIST_FILE = CheckoutKitSwiftDemo/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Plant; INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "Your location may be required to locate pickup points near you when you request this shipping option."; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; @@ -409,7 +409,7 @@ ); MARKETING_VERSION = 1.0; ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.shopify.example.MobileBuyIntegration; + PRODUCT_BUNDLE_IDENTIFIER = com.shopify.checkoutkit.swiftdemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_STRICT_CONCURRENCY = complete; @@ -422,7 +422,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 4EBBA7622A5F0CE200193E19 /* Build configuration list for PBXProject "MobileBuyIntegration" */ = { + 4EBBA7622A5F0CE200193E19 /* Build configuration list for PBXProject "CheckoutKitSwiftDemo" */ = { isa = XCConfigurationList; buildConfigurations = ( 4EBBA7792A5F0CE200193E19 /* Debug */, @@ -431,7 +431,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 4EBBA77B2A5F0CE200193E19 /* Build configuration list for PBXNativeTarget "MobileBuyIntegration" */ = { + 4EBBA77B2A5F0CE200193E19 /* Build configuration list for PBXNativeTarget "CheckoutKitSwiftDemo" */ = { isa = XCConfigurationList; buildConfigurations = ( 4EBBA77C2A5F0CE200193E19 /* Debug */, diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/xcshareddata/xcschemes/MobileBuyIntegration.xcscheme b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/xcshareddata/xcschemes/CheckoutKitSwiftDemo.xcscheme similarity index 79% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/xcshareddata/xcschemes/MobileBuyIntegration.xcscheme rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/xcshareddata/xcschemes/CheckoutKitSwiftDemo.xcscheme index 7dfd1c23..53ab0a63 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj/xcshareddata/xcschemes/MobileBuyIntegration.xcscheme +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj/xcshareddata/xcschemes/CheckoutKitSwiftDemo.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "CheckoutKitSwiftDemo.app" + BlueprintName = "CheckoutKitSwiftDemo" + ReferencedContainer = "container:CheckoutKitSwiftDemo.xcodeproj"> @@ -33,9 +33,9 @@ + BuildableName = "CheckoutKitSwiftDemo.app" + BlueprintName = "CheckoutKitSwiftDemo" + ReferencedContainer = "container:CheckoutKitSwiftDemo.xcodeproj"> @@ -62,9 +62,9 @@ + BuildableName = "CheckoutKitSwiftDemo.app" + BlueprintName = "CheckoutKitSwiftDemo" + ReferencedContainer = "container:CheckoutKitSwiftDemo.xcodeproj"> @@ -79,9 +79,9 @@ + BuildableName = "CheckoutKitSwiftDemo.app" + BlueprintName = "CheckoutKitSwiftDemo" + ReferencedContainer = "container:CheckoutKitSwiftDemo.xcodeproj"> diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/AccentColor.colorset/Contents.json b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/AccentColor.colorset/Contents.json rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/AppIcon.appiconset/1024.jpg b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/AppIcon.appiconset/1024.jpg similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/AppIcon.appiconset/1024.jpg rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/AppIcon.appiconset/1024.jpg diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/AppIcon.appiconset/Contents.json b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/AppIcon.appiconset/Contents.json rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/Contents.json b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/Contents.json similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/Contents.json rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/Contents.json diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/logo.imageset/Contents.json b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/logo.imageset/Contents.json similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/logo.imageset/Contents.json rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/logo.imageset/Contents.json diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/logo.imageset/plant.png b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/logo.imageset/plant.png similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Assets.xcassets/logo.imageset/plant.png rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Assets.xcassets/logo.imageset/plant.png diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Base.lproj/LaunchScreen.storyboard b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Base.lproj/LaunchScreen.storyboard rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Base.lproj/LaunchScreen.storyboard diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/MobileBuyIntegration.entitlements.template b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements.template similarity index 84% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/MobileBuyIntegration.entitlements.template rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements.template index 0b6125e4..bfc87bc9 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/MobileBuyIntegration.entitlements.template +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements.template @@ -4,7 +4,7 @@ com.apple.developer.in-app-payments - merchant.com.shopify.example.MobileBuyIntegration.ApplePay + merchant.com.shopify.checkoutkit.swiftdemo com.apple.developer.associated-domains diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Info.plist b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Info.plist similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Info.plist rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Info.plist diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Mutations/CartCreate.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Mutations/CartCreate.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Mutations/CartCreate.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Mutations/CartCreate.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Mutations/CartLinesAdd.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Mutations/CartLinesAdd.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Mutations/CartLinesAdd.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Mutations/CartLinesAdd.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Mutations/CartLinesUpdate.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Mutations/CartLinesUpdate.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Mutations/CartLinesUpdate.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Mutations/CartLinesUpdate.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Network.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Network.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Network.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Network.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartDeliveryGroupFragment.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartDeliveryGroupFragment.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartDeliveryGroupFragment.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartDeliveryGroupFragment.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartFragment.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartFragment.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartFragment.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartFragment.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartLineFragment.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartLineFragment.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartLineFragment.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartLineFragment.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartQuery.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartQuery.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartQuery.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartQuery.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartUserErrorFragment.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartUserErrorFragment.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/CartUserErrorFragment.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/CartUserErrorFragment.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/GetProducts.graphql b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/GetProducts.graphql similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/Queries/GetProducts.graphql rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/Queries/GetProducts.graphql diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/StorefrontClient.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/StorefrontClient.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Api/StorefrontClient.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Api/StorefrontClient.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/AppConfiguration.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/AppConfiguration.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/AppConfiguration.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/AppConfiguration.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/AppDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/AppDelegate.swift similarity index 95% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/AppDelegate.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/AppDelegate.swift index fd1fefac..96441c47 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/AppDelegate.swift +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/AppDelegate.swift @@ -29,7 +29,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { $0.logLevel = checkoutKitLogLevel } - print("[MobileBuyIntegration] CheckoutKit Log level set to \(checkoutKitLogLevel)") + print("[CheckoutKitSwiftDemo] CheckoutKit Log level set to \(checkoutKitLogLevel)") UIBarButtonItem.appearance().tintColor = ColorPalette.primaryColor diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/CartManager.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartManager.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/CartManager.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartManager.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/CartResettingCheckoutDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/CartResettingCheckoutDelegate.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CartResettingCheckoutDelegate.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/CheckoutCoordinator.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/CheckoutCoordinator.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/SceneDelegate.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/SceneDelegate.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/App/SceneDelegate.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/App/SceneDelegate.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/CheckoutProtocolClient.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/CheckoutProtocolClient.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Extensions/MoneyV2+Format.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Extensions/MoneyV2+Format.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Extensions/MoneyV2+Format.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Extensions/MoneyV2+Format.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Extensions/UIImageView+URL.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Extensions/UIImageView+URL.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Extensions/UIImageView+URL.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Extensions/UIImageView+URL.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartDeliveryGroupFragment.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartDeliveryGroupFragment.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartDeliveryGroupFragment.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartDeliveryGroupFragment.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartFragment.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartFragment.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartFragment.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartFragment.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartLineFragment.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartLineFragment.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartLineFragment.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartLineFragment.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartUserErrorFragment.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartUserErrorFragment.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Fragments/CartUserErrorFragment.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Fragments/CartUserErrorFragment.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Mutations/CartCreateMutation.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Mutations/CartCreateMutation.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Mutations/CartCreateMutation.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Mutations/CartCreateMutation.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Mutations/CartLinesAddMutation.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Mutations/CartLinesAddMutation.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Mutations/CartLinesAddMutation.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Mutations/CartLinesAddMutation.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Mutations/CartLinesUpdateMutation.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Mutations/CartLinesUpdateMutation.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Mutations/CartLinesUpdateMutation.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Mutations/CartLinesUpdateMutation.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Queries/GetCartQuery.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Queries/GetCartQuery.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Queries/GetCartQuery.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Queries/GetCartQuery.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Queries/GetProductsQuery.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Queries/GetProductsQuery.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Operations/Queries/GetProductsQuery.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Operations/Queries/GetProductsQuery.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/CustomScalars/Decimal.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/CustomScalars/Decimal.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/CustomScalars/Decimal.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/CustomScalars/Decimal.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/CustomScalars/ID.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/CustomScalars/ID.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/CustomScalars/ID.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/CustomScalars/ID.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/CustomScalars/URL.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/CustomScalars/URL.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/CustomScalars/URL.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/CustomScalars/URL.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CartDeliveryGroupType.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CartDeliveryGroupType.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CartDeliveryGroupType.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CartDeliveryGroupType.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CartErrorCode.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CartErrorCode.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CartErrorCode.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CartErrorCode.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CountryCode.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CountryCode.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CountryCode.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CountryCode.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CurrencyCode.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CurrencyCode.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/CurrencyCode.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/CurrencyCode.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/DeliveryAddressValidationStrategy.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/DeliveryAddressValidationStrategy.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/DeliveryAddressValidationStrategy.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/DeliveryAddressValidationStrategy.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/DeliveryMethodType.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/DeliveryMethodType.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/DeliveryMethodType.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/DeliveryMethodType.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/LanguageCode.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/LanguageCode.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/LanguageCode.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/LanguageCode.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/PreferenceDeliveryMethodType.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/PreferenceDeliveryMethodType.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Enums/PreferenceDeliveryMethodType.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Enums/PreferenceDeliveryMethodType.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/AttributeInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/AttributeInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/AttributeInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/AttributeInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartAddressInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartAddressInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartAddressInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartAddressInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartBuyerIdentityInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartBuyerIdentityInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartBuyerIdentityInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartBuyerIdentityInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryAddressInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryAddressInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryAddressInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryAddressInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryCoordinatesPreferenceInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryCoordinatesPreferenceInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryCoordinatesPreferenceInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryCoordinatesPreferenceInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryPreferenceInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryPreferenceInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartDeliveryPreferenceInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartDeliveryPreferenceInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartInputMetafieldInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartInputMetafieldInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartInputMetafieldInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartInputMetafieldInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartLineInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartLineInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartLineInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartLineInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartLineParentInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartLineParentInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartLineParentInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartLineParentInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartLineUpdateInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartLineUpdateInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartLineUpdateInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartLineUpdateInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartPreferencesInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartPreferencesInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartPreferencesInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartPreferencesInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartSelectableAddressInput.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartSelectableAddressInput.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/InputObjects/CartSelectableAddressInput.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/InputObjects/CartSelectableAddressInput.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/BaseCartLine.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/BaseCartLine.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/BaseCartLine.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/BaseCartLine.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/DisplayableError.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/DisplayableError.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/DisplayableError.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/DisplayableError.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/HasMetafields.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/HasMetafields.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/HasMetafields.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/HasMetafields.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/Media.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/Media.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/Media.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/Media.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/Node.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/Node.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/Node.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/Node.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/OnlineStorePublishable.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/OnlineStorePublishable.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/OnlineStorePublishable.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/OnlineStorePublishable.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/Trackable.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/Trackable.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Interfaces/Trackable.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Interfaces/Trackable.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/AppliedGiftCard.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/AppliedGiftCard.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/AppliedGiftCard.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/AppliedGiftCard.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Article.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Article.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Article.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Article.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/BaseCartLineConnection.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/BaseCartLineConnection.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/BaseCartLineConnection.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/BaseCartLineConnection.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Blog.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Blog.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Blog.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Blog.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Cart.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Cart.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Cart.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Cart.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartBuyerIdentity.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartBuyerIdentity.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartBuyerIdentity.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartBuyerIdentity.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartCost.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartCost.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartCost.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartCost.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartCreatePayload.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartCreatePayload.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartCreatePayload.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartCreatePayload.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartDeliveryGroup.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartDeliveryGroup.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartDeliveryGroup.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartDeliveryGroup.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartDeliveryGroupConnection.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartDeliveryGroupConnection.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartDeliveryGroupConnection.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartDeliveryGroupConnection.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartDeliveryOption.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartDeliveryOption.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartDeliveryOption.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartDeliveryOption.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLine.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLine.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLine.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLine.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLineCost.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLineCost.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLineCost.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLineCost.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLinesAddPayload.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLinesAddPayload.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLinesAddPayload.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLinesAddPayload.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLinesUpdatePayload.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLinesUpdatePayload.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartLinesUpdatePayload.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartLinesUpdatePayload.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartUserError.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartUserError.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CartUserError.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CartUserError.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Collection.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Collection.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Collection.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Collection.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CollectionConnection.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CollectionConnection.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CollectionConnection.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CollectionConnection.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Comment.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Comment.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Comment.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Comment.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Company.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Company.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Company.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Company.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CompanyContact.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CompanyContact.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CompanyContact.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CompanyContact.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CompanyLocation.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CompanyLocation.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CompanyLocation.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CompanyLocation.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ComponentizableCartLine.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ComponentizableCartLine.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ComponentizableCartLine.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ComponentizableCartLine.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Customer.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Customer.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Customer.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Customer.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CustomerUserError.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CustomerUserError.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/CustomerUserError.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/CustomerUserError.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ExternalVideo.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ExternalVideo.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ExternalVideo.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ExternalVideo.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/GenericFile.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/GenericFile.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/GenericFile.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/GenericFile.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Image.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Image.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Image.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Image.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Location.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Location.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Location.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Location.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MailingAddress.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MailingAddress.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MailingAddress.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MailingAddress.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Market.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Market.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Market.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Market.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MediaImage.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MediaImage.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MediaImage.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MediaImage.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MediaPresentation.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MediaPresentation.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MediaPresentation.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MediaPresentation.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Menu.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Menu.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Menu.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Menu.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MenuItem.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MenuItem.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MenuItem.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MenuItem.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Metafield.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Metafield.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Metafield.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Metafield.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MetafieldDeleteUserError.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MetafieldDeleteUserError.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MetafieldDeleteUserError.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MetafieldDeleteUserError.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MetafieldsSetUserError.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MetafieldsSetUserError.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MetafieldsSetUserError.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MetafieldsSetUserError.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Metaobject.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Metaobject.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Metaobject.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Metaobject.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Model3d.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Model3d.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Model3d.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Model3d.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MoneyV2.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MoneyV2.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/MoneyV2.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/MoneyV2.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Mutation.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Mutation.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Mutation.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Mutation.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Order.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Order.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Order.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Order.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Page.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Page.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Page.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Page.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Product.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Product.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Product.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Product.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductConnection.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductConnection.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductConnection.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductConnection.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductOption.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductOption.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductOption.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductOption.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductOptionValue.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductOptionValue.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductOptionValue.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductOptionValue.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductVariant.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductVariant.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductVariant.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductVariant.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductVariantConnection.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductVariantConnection.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ProductVariantConnection.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ProductVariantConnection.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/QueryRoot.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/QueryRoot.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/QueryRoot.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/QueryRoot.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/SearchQuerySuggestion.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/SearchQuerySuggestion.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/SearchQuerySuggestion.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/SearchQuerySuggestion.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/SellingPlan.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/SellingPlan.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/SellingPlan.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/SellingPlan.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Shop.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Shop.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Shop.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Shop.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlan.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlan.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlan.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlan.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlanTerm.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlanTerm.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlanTerm.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPayInstallmentsFinancingPlanTerm.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPayInstallmentsProductVariantPricing.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPayInstallmentsProductVariantPricing.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPayInstallmentsProductVariantPricing.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPayInstallmentsProductVariantPricing.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPolicy.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPolicy.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/ShopPolicy.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/ShopPolicy.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/TaxonomyCategory.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/TaxonomyCategory.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/TaxonomyCategory.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/TaxonomyCategory.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/UrlRedirect.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/UrlRedirect.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/UrlRedirect.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/UrlRedirect.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/UserError.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/UserError.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/UserError.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/UserError.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/UserErrorsShopPayPaymentRequestSessionUserErrors.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/UserErrorsShopPayPaymentRequestSessionUserErrors.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/UserErrorsShopPayPaymentRequestSessionUserErrors.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/UserErrorsShopPayPaymentRequestSessionUserErrors.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Video.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Video.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Objects/Video.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Objects/Video.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/SchemaConfiguration.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/SchemaConfiguration.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/SchemaConfiguration.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/SchemaConfiguration.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/SchemaMetadata.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/SchemaMetadata.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/SchemaMetadata.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/SchemaMetadata.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Unions/Merchandise.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Unions/Merchandise.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Schema/Unions/Merchandise.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Schema/Unions/Merchandise.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Storefront.graphql.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Storefront.graphql.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Generated/Storefront.graphql.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Generated/Storefront.graphql.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/InfoDictionary.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/InfoDictionary.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/InfoDictionary.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/InfoDictionary.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/KeychainHelper.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/KeychainHelper.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/KeychainHelper.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/KeychainHelper.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/Logger.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/Logger.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/Logger.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/Logger.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/Theme.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/Theme.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Lib/Theme.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Lib/Theme.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Localizable.xcstrings b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Localizable.xcstrings similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Localizable.xcstrings rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Localizable.xcstrings diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/AccountView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/AccountView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/AccountView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/AccountView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Cart/CartView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Cart/CartView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Cart/CartViewController.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartViewController.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Cart/CartViewController.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Cart/CartViewController.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/CustomerAccounts/CustomerAccountLoginView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/CustomerAccounts/CustomerAccountLoginView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/CustomerAccounts/CustomerAccountLoginView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/CustomerAccounts/CustomerAccountLoginView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/CustomerAccounts/CustomerAccountManager.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/CustomerAccounts/CustomerAccountManager.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/CustomerAccounts/CustomerAccountManager.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/CustomerAccounts/CustomerAccountManager.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Logs/LogReader.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Logs/LogReader.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Logs/LogReader.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Logs/LogReader.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Logs/LogsView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Logs/LogsView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/Logs/LogsView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/Logs/LogsView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/ProductGridView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/ProductGridView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/ProductGridView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/ProductGridView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/ProductView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/ProductView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/ProductView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/ProductView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/SettingsView.swift b/platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/SettingsView.swift similarity index 100% rename from platforms/swift/Samples/MobileBuyIntegration/MobileBuyIntegration/Sources/Scenes/SettingsView.swift rename to platforms/swift/Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo/Sources/Scenes/SettingsView.swift diff --git a/platforms/swift/Samples/MobileBuyIntegration/README.md b/platforms/swift/Samples/CheckoutKitSwiftDemo/README.md similarity index 87% rename from platforms/swift/Samples/MobileBuyIntegration/README.md rename to platforms/swift/Samples/CheckoutKitSwiftDemo/README.md index 35aa2508..5ecfdb74 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/README.md +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/README.md @@ -1,4 +1,4 @@ -# MobileBuyIntegration Sample App +# CheckoutKitSwiftDemo Sample App This sample demonstrates how to integrate Checkout Kit with the Shopify Storefront API using Apollo iOS. @@ -17,8 +17,8 @@ This sample demonstrates how to integrate Checkout Kit with the Shopify Storefro The app uses Apollo iOS for Storefront API communication. GraphQL operations are defined as `.graphql` files, and Apollo's code generation tool produces type-safe Swift code from them. ```text -MobileBuyIntegration/ -|-- MobileBuyIntegration/ +CheckoutKitSwiftDemo/ +|-- CheckoutKitSwiftDemo/ | |-- Sources/ | | |-- Api/ Source of truth - edit these files | | | |-- Queries/ @@ -102,10 +102,10 @@ Open the project in Xcode, let Swift Package Manager resolve dependencies, then 3. Download the schema. This introspects your store's Storefront API and writes `schema..graphqls` into the sample app directory. ```sh - dev apollo download_schema swift mobile-buy + dev apollo download_schema swift swift ``` -4. Update `.graphql` operations if the schema changed. For example, add a product field to `MobileBuyIntegration/Sources/Api/Queries/GetProducts.graphql` before regenerating types: +4. Update `.graphql` operations if the schema changed. For example, add a product field to `CheckoutKitSwiftDemo/Sources/Api/Queries/GetProducts.graphql` before regenerating types: ```graphql query GetProducts(...) { @@ -119,10 +119,10 @@ Open the project in Xcode, let Swift Package Manager resolve dependencies, then } ``` -5. Regenerate Swift types with the Apollo iOS CLI and this sample's `apollo-codegen-config.json`. This reads the schema and `.graphql` files, then regenerates Swift code in `MobileBuyIntegration/Sources/Generated/`. +5. Regenerate Swift types with the Apollo iOS CLI and this sample's `apollo-codegen-config.json`. This reads the schema and `.graphql` files, then regenerates Swift code in `CheckoutKitSwiftDemo/Sources/Generated/`. ```sh - dev apollo codegen swift mobile-buy + dev apollo codegen swift swift ``` 6. Build in Xcode and fix any compile errors from schema changes. @@ -133,8 +133,8 @@ All commands are run from the **repo root** (`checkout-kit/`): | Command | Description | |---------|-------------| -| `dev apollo download_schema swift mobile-buy` | Download the Storefront API schema for this sample app | -| `dev apollo codegen swift mobile-buy` | Regenerate Swift types from `.graphql` files | +| `dev apollo download_schema swift swift` | Download the Storefront API schema for this sample app | +| `dev apollo codegen swift swift` | Regenerate Swift types from `.graphql` files | | `dev apollo codegen swift all` | Regenerate for all sample apps | | `dev swift lint` | Run SwiftLint + SwiftFormat checks | | `dev swift format` | Auto-format and apply safe lint autocorrections | @@ -147,9 +147,9 @@ All commands are run from the **repo root** (`checkout-kit/`): | `Storefront.xcconfig` | Generated sample config from the repo-root `.env` (not checked into git). | | `schema..graphqls` | Storefront API schema downloaded with the Apollo iOS CLI. | | `apollo-codegen-config.json` | Apollo code generation configuration. | -| `MobileBuyIntegration/Sources/Api/Network.swift` | Apollo client setup and authentication interceptor. | -| `MobileBuyIntegration/Sources/Api/StorefrontClient.swift` | Cart input creation and buyer identity mapping. | -| `MobileBuyIntegration/Sources/App/CartManager.swift` | Cart state and Storefront API mutations. | -| `MobileBuyIntegration/Sources/App/CheckoutCoordinator.swift` | Checkout presentation. | -| `MobileBuyIntegration/Sources/CheckoutProtocolClient.swift` | Typed checkout lifecycle handlers. | +| `CheckoutKitSwiftDemo/Sources/Api/Network.swift` | Apollo client setup and authentication interceptor. | +| `CheckoutKitSwiftDemo/Sources/Api/StorefrontClient.swift` | Cart input creation and buyer identity mapping. | +| `CheckoutKitSwiftDemo/Sources/App/CartManager.swift` | Cart state and Storefront API mutations. | +| `CheckoutKitSwiftDemo/Sources/App/CheckoutCoordinator.swift` | Checkout presentation. | +| `CheckoutKitSwiftDemo/Sources/CheckoutProtocolClient.swift` | Typed checkout lifecycle handlers. | | `Scripts/generate_entitlements.sh` | Generates Associated Domains entitlements for checkout and offsite-payment return links. | diff --git a/platforms/swift/Samples/MobileBuyIntegration/Scripts/generate_entitlements.sh b/platforms/swift/Samples/CheckoutKitSwiftDemo/Scripts/generate_entitlements.sh similarity index 78% rename from platforms/swift/Samples/MobileBuyIntegration/Scripts/generate_entitlements.sh rename to platforms/swift/Samples/CheckoutKitSwiftDemo/Scripts/generate_entitlements.sh index 9a4309be..4b73f4f1 100755 --- a/platforms/swift/Samples/MobileBuyIntegration/Scripts/generate_entitlements.sh +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/Scripts/generate_entitlements.sh @@ -5,8 +5,8 @@ set -e CONFIG_FILE="Storefront.xcconfig" STOREFRONT_DOMAIN=$(grep '^[[:space:]]*STOREFRONT_DOMAIN' "$CONFIG_FILE" | cut -d '=' -f2 | tr -d ' ') -TEMPLATE_FILE="MobileBuyIntegration/MobileBuyIntegration.entitlements.template" -OUTPUT_FILE="MobileBuyIntegration/MobileBuyIntegration.entitlements" +TEMPLATE_FILE="CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements.template" +OUTPUT_FILE="CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.entitlements" if [ -z "$STOREFRONT_DOMAIN" ]; then echo "Error: STOREFRONT_DOMAIN is not set in Storefront.xcconfig" diff --git a/platforms/swift/Samples/MobileBuyIntegration/apollo-codegen-config.json b/platforms/swift/Samples/CheckoutKitSwiftDemo/apollo-codegen-config.json similarity index 80% rename from platforms/swift/Samples/MobileBuyIntegration/apollo-codegen-config.json rename to platforms/swift/Samples/CheckoutKitSwiftDemo/apollo-codegen-config.json index d15311c3..8b3e0512 100644 --- a/platforms/swift/Samples/MobileBuyIntegration/apollo-codegen-config.json +++ b/platforms/swift/Samples/CheckoutKitSwiftDemo/apollo-codegen-config.json @@ -14,10 +14,10 @@ } }, "schemaTypes" : { - "path" : "./MobileBuyIntegration/Sources/Generated", + "path" : "./CheckoutKitSwiftDemo/Sources/Generated", "moduleType" : { "embeddedInTarget" : { - "name" : "MobileBuyIntegration" + "name" : "CheckoutKitSwiftDemo" } } }, diff --git a/platforms/swift/Samples/README.md b/platforms/swift/Samples/README.md index 7a9246c6..512aad25 100644 --- a/platforms/swift/Samples/README.md +++ b/platforms/swift/Samples/README.md @@ -8,7 +8,7 @@ them from the shared `.env`. | Sample | Purpose | | --- | --- | -| `MobileBuyIntegration` | Storefront API cart flow with Apollo iOS, checkout presentation, buyer identity modes, Customer Account API sign-in, and protocol lifecycle events. | +| `CheckoutKitSwiftDemo` | Storefront API cart flow with Apollo iOS, checkout presentation, buyer identity modes, Customer Account API sign-in, and protocol lifecycle events. | | `ShopifyAcceleratedCheckoutsApp` | SwiftUI Shop Pay and Apple Pay accelerated checkout buttons. | ## Prerequisites @@ -18,7 +18,7 @@ them from the shared `.env`. - Optional Customer Account API app configuration for authenticated buyer flows - Optional Apple Pay merchant identifier and payment processing certificate for accelerated checkout -## MobileBuyIntegration +## CheckoutKitSwiftDemo ### Getting Started @@ -32,11 +32,11 @@ them from the shared `.env`. 2. If you are not using `dev`, copy the repo-root `.env.example` to `.env`, fill in local values, then run `scripts/setup_storefront_env`. -The setup script generates `platforms/swift/Samples/MobileBuyIntegration/Storefront.xcconfig`. +The setup script generates `platforms/swift/Samples/CheckoutKitSwiftDemo/Storefront.xcconfig`. Open `Samples/Samples.xcworkspace` or -`Samples/MobileBuyIntegration/MobileBuyIntegration.xcodeproj` in Xcode, then -build and run the `MobileBuyIntegration` scheme. +`Samples/CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj` in Xcode, then +build and run the `CheckoutKitSwiftDemo` scheme. The project generates associated-domain entitlements from `Storefront.xcconfig` during the Xcode build pre-action. diff --git a/platforms/swift/Samples/Samples.xcworkspace/contents.xcworkspacedata b/platforms/swift/Samples/Samples.xcworkspace/contents.xcworkspacedata index a5b0e693..a6ff9136 100644 --- a/platforms/swift/Samples/Samples.xcworkspace/contents.xcworkspacedata +++ b/platforms/swift/Samples/Samples.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:CheckoutKitSwiftDemo/CheckoutKitSwiftDemo.xcodeproj"> diff --git a/platforms/swift/Scripts/apollo_codegen b/platforms/swift/Scripts/apollo_codegen index 489324a3..9a3b3406 100755 --- a/platforms/swift/Scripts/apollo_codegen +++ b/platforms/swift/Scripts/apollo_codegen @@ -45,15 +45,15 @@ case "$APP" in accelerated) run_codegen "Samples/ShopifyAcceleratedCheckoutsApp" "accelerated" ;; - mobile-buy) - run_codegen "Samples/MobileBuyIntegration" "mobile-buy" + swift) + run_codegen "Samples/CheckoutKitSwiftDemo" "swift" ;; all) run_codegen "Samples/ShopifyAcceleratedCheckoutsApp" "accelerated" - run_codegen "Samples/MobileBuyIntegration" "mobile-buy" + run_codegen "Samples/CheckoutKitSwiftDemo" "swift" ;; *) - echo "❌ Unknown app: $APP. Use 'accelerated', 'mobile-buy', or 'all'" + echo "❌ Unknown app: $APP. Use 'accelerated', 'swift', or 'all'" exit 1 ;; esac diff --git a/platforms/swift/Scripts/apollo_download_schema b/platforms/swift/Scripts/apollo_download_schema index 5cd2c852..afeb0f94 100755 --- a/platforms/swift/Scripts/apollo_download_schema +++ b/platforms/swift/Scripts/apollo_download_schema @@ -52,15 +52,15 @@ case "$APP" in accelerated) download_schema "Samples/ShopifyAcceleratedCheckoutsApp" "ShopifyAcceleratedCheckoutsApp" "accelerated" ;; - mobile-buy) - download_schema "Samples/MobileBuyIntegration" "MobileBuyIntegration" "mobile-buy" + swift) + download_schema "Samples/CheckoutKitSwiftDemo" "CheckoutKitSwiftDemo" "swift" ;; all) download_schema "Samples/ShopifyAcceleratedCheckoutsApp" "ShopifyAcceleratedCheckoutsApp" "accelerated" - download_schema "Samples/MobileBuyIntegration" "MobileBuyIntegration" "mobile-buy" + download_schema "Samples/CheckoutKitSwiftDemo" "CheckoutKitSwiftDemo" "swift" ;; *) - echo "❌ Unknown app: $APP. Use 'accelerated', 'mobile-buy', or 'all'" + echo "❌ Unknown app: $APP. Use 'accelerated', 'swift', or 'all'" exit 1 ;; esac diff --git a/platforms/swift/Scripts/build_samples b/platforms/swift/Scripts/build_samples index b39040e2..accb2769 100755 --- a/platforms/swift/Scripts/build_samples +++ b/platforms/swift/Scripts/build_samples @@ -37,5 +37,5 @@ build_app() { "$SCRIPT_DIR/xcode_run" "clean build" "$1" } -build_app MobileBuyIntegration +build_app CheckoutKitSwiftDemo build_app ShopifyAcceleratedCheckoutsApp diff --git a/platforms/swift/Scripts/setup_entitlements b/platforms/swift/Scripts/setup_entitlements index 063b3171..83ef5d83 100755 --- a/platforms/swift/Scripts/setup_entitlements +++ b/platforms/swift/Scripts/setup_entitlements @@ -2,4 +2,4 @@ set -e -(cd Samples/MobileBuyIntegration && ./Scripts/generate_entitlements.sh) +(cd Samples/CheckoutKitSwiftDemo && ./Scripts/generate_entitlements.sh)