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

AMP-63100 Swift V2 example #268

Merged
merged 21 commits into from
Sep 6, 2023
Merged

AMP-63100 Swift V2 example #268

merged 21 commits into from
Sep 6, 2023

Conversation

falconandy
Copy link
Contributor

Copy of Swift V1 example.

@falconandy falconandy marked this pull request as ready for review August 10, 2023 10:13
Copy link
Collaborator

@justin-fiedler justin-fiedler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @falconandy.

Running the tests in XCode gives an error.
image

I also get a warning in XCode:
/ios/swift/v2/AmpliSwiftSampleApp/AmpliSwiftSampleAppTests/AmpliTests.swift:118:22 Expression implicitly coerced from 'Any??' to 'Any?'

image

Copy link
Contributor

@liuyang1520 liuyang1520 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

ios/swift/v2/AmpliSwiftSampleApp/README.md Outdated Show resolved Hide resolved
@falconandy
Copy link
Contributor Author

@justin-fiedler
Now tests should run without errors/warnings.

Copy link
Collaborator

@justin-fiedler justin-fiedler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great locally. See nits.

.github/workflows/ci-build-ios-v2-test.yml Outdated Show resolved Hide resolved
ios/swift/v2/AmpliSwiftSampleApp/README.md Outdated Show resolved Hide resolved
@justin-fiedler
Copy link
Collaborator

justin-fiedler commented Aug 23, 2023

@falconandy for consistency can you please also move the ObjC example to a ios/objective-c/v1 directory to match Swift (even though there wont be a v2 folder). Thanks

@falconandy
Copy link
Contributor Author

@justin-fiedler

for consistency can you please also move the ObjC example to a ios/objective-c/v1 directory to match Swift

Done

@justin-fiedler justin-fiedler merged commit d18bee2 into main Sep 6, 2023
2 of 3 checks passed
@justin-fiedler justin-fiedler deleted the AMP-63100-swift-v2-example branch September 6, 2023 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants