Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift: Add mocking example #5260

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Commits on Aug 21, 2023

  1. Swift: Add mocking example

    This example demonstrates how to use a protocol to mock the AWS SDK for Swift, since Swift lacks the readwrite reflection required for traditional mocking. Passes the test (which is also the exemplar).
    
    There is no build available on the web since this example is not one that corresponds to a particular function, but instead a technique for Swift developers using the SDK.
    
    Once this PR is submitted, I'll start writing the AWS SDK for Swift Developer Guide chapter that will embed these snippets as it explains the mocking technique used here.
    shepazon authored and ford-at-aws committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    c5d5019 View commit details
    Browse the repository at this point in the history