Closed chriscomeau closed 5 years ago
Fix queries sample code in README that didn't seem to compile in my test app (to learn the Buy SDK), using Xcode 10.2 and Swift 5.0.
Compilation error message I had: "Contextual type for closure argument list expects 1 argument, which cannot be implicitly ignored"
Note: This is new pull request in the correct "develop" branch. I had previously made a pull request in "master" (https://github.com/Shopify/mobile-buy-sdk-ios/pull/982).
<# Describe your changes #>
Added a missing "$0" to a call to "Storefront.buildQuery" in the Queries sections of the README tutorial.
Fixes <# issue number #>
What this does
Fix queries sample code in README that didn't seem to compile in my test app (to learn the Buy SDK), using Xcode 10.2 and Swift 5.0.
Compilation error message I had: "Contextual type for closure argument list expects 1 argument, which cannot be implicitly ignored"
Note: This is new pull request in the correct "develop" branch. I had previously made a pull request in "master" (https://github.com/Shopify/mobile-buy-sdk-ios/pull/982).
<# Describe your changes #>
Added a missing "$0" to a call to "Storefront.buildQuery" in the Queries sections of the README tutorial.
Fixes <# issue number #>