-
Notifications
You must be signed in to change notification settings - Fork 191
Feat apple + swift SDK support #284
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
Conversation
…sure from pubic methods
lohanidamodar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks almost good to me. Left few comments.
.gitignore
Outdated
|
|
||
| # exception to the rule | ||
| !examples/.gitkeep | ||
| .DS_Store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .DS_Store | |
| **/.DS_Store |
Seems some .DS_Store files are committed to git
|
|
||
| namespace Appwrite\SDK\Language; | ||
|
|
||
| class SwiftClient extends Swift { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be later we should rename this to Apple instead as we do with Kotlin and Android. Swift later might have Clients other than Apple 🤔 ?
tests/SDKTest.php
Outdated
| 'cp tests/languages/swift-server/Tests.swift tests/sdks/swift-server/Tests/AppwriteTests/Tests.swift', | ||
| ], | ||
| 'envs' => [ | ||
| 'swift-5.5' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/swift-server swift:5.5 swift test && cat result.txt && rm result.txt', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add test for may be the oldest still in use version of Swift we support?
tests/SDKTest.php
Outdated
| 'cp tests/languages/swift-client/Tests.swift tests/sdks/swift-client/Tests/AppwriteTests/Tests.swift', | ||
| ], | ||
| 'envs' => [ | ||
| 'swift-5.5' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/swift-client swift:5.5 swift test && cat result.txt && rm result.txt', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add test for may be the oldest still in use version of Swift we support?
lohanidamodar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
abe6e2c to
833c91d
Compare
No description provided.