Skip to content

feat: move swift from NSURLSession to URLSession - #226

Merged
erunion merged 14 commits into
readmeio:mainfrom
zunda-pixel:replace-to-modern-swift
Apr 10, 2024
Merged

feat: move swift from NSURLSession to URLSession#226
erunion merged 14 commits into
readmeio:mainfrom
zunda-pixel:replace-to-modern-swift

Conversation

@zunda-pixel

@zunda-pixelzunda-pixel commented Apr 10, 2024

Copy link
Copy Markdown

🧰 Changes

  • Support Concurrency(Async/Await)
  • Replace to modern class from classic(NS) class
  • Support Code on Linux/Windows

Describe in detail what this PR is for.

🧬 QA & Testing

I fixed code in /httpsnippet/src/targets/swift/urlsession/fixtures/

npm run test

@zunda-pixel
zunda-pixel marked this pull request as ready for review April 10, 2024 16:42
@erunion
erunion self-requested a review April 10, 2024 16:43
@erunionerunion added the enhancement New feature or request label Apr 10, 2024
@erunion
erunion requested review from a team, darrenyong and kanadgupta and removed request for a teamApril 10, 2024 16:43

@erunionerunion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks for this!

Comment threadsrc/targets/swift/target.ts
@erunionerunion changed the title Replace to modern Swiftfeat: move swift from NSURLSession to URLSessionApr 10, 2024

@erunionerunion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i don't have any experience with swift but this looks ok to me!

@erunion
erunion merged commit 40c68dc into readmeio:mainApr 10, 2024
@zunda-pixel
zunda-pixel deleted the replace-to-modern-swift branch April 11, 2024 10:26
@zunda-pixel

Copy link
Copy Markdown
Author

@erunion
Will this changes be merged into readme.com?

@erunion

Copy link
Copy Markdown
Member

@zunda-pixel This should be available on ReadMe customer sites sometime next week.

@zunda-pixel

Copy link
Copy Markdown
Author

@erunion thanks!

@erunion

Copy link
Copy Markdown
Member

@zunda-pixel This work is now available on ReadMe customer sites. Thanks again!

@zunda-pixel

Copy link
Copy Markdown
Author

@erunion thanks! let me know!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@zunda-pixel@erunion