1. Deepen my knowledge of #Swift and #SwiftUI

Iโ€™ve touched a lot of things over the past few months. #CraftingSwift, #SwiftMeasurements, and #SwiftyNetworking are the best examples. ๐Ÿ‘จโ€๐Ÿ’ป

Now it needs to be sorted out. I also want to dive deeper into SwiftUI. ๐Ÿš€

Maybe some #blog?

Today, let's switch up the environment a bit. ๐ŸŒŸ

I've drafted the necessary endpoint to determine what data I need from the backend. #SwiftyNetworking is incredibly helpful in it. Now, let's write some #PHP! ๐Ÿ”—

Meanwhile, check out my networking package!
https://github.com/piotrekjeremicz/SwiftyNetworking

For the first time, I dared to present my project at #Swift Forums. ๐Ÿš€

#SwiftyNetworking has become a mature package that I personally use. I wonder if others would also appreciate this way of writing requests. ๐Ÿค”

Curious? Check out the thread! ๐Ÿ”—

https://forums.swift.org/t/swiftynetworking-a-swiftui-style-approach-to-building-networking-layers/82940/3

SwiftyNetworking: A SwiftUI-style approach to building networking layers

@tera I have already sketched the abstraction that aims to completely isolate SwiftyNetworking from URLSession. SessionProvider accepts Request and returns Response. Its implementation, through the use of URLSession, is currently default if it is possible to import Foundation. The Network Framework could be easily incorporated as a SessionProvider. My goal was to separate the building Request process from sending it.

Swift Forums

#Development
After a busy period with the #SwiftyNetworking refactor, Im now back in @commitphotos with performance tweaks. ๐Ÿ”ง๐Ÿ‘จโ€๐Ÿ’ป

I thought the project was ready for #Swift6, not now. The plan is simple - to start a solid promo and have an update ready at the end of the month. ๐Ÿ“ธ

#Projects
First things first, my package, #SwiftyNetworking, has been completely rewritten from scratch. This is my preparation for the next stage, which accelerated more than I anticipated. ๐Ÿ”

The next step is to draft the plan, which will be ready within the next 2 months. ๐Ÿ“

Damnโ€ฆ ๐Ÿ˜ž

After successfully refactoring the #SwiftyNetworking package, I decided to focus on @commitphotos' performance.

Unfortunately, my other project blew upโ€ฆ ๐Ÿ’ฅ

Uhโ€ฆ A never-ending storyโ€ฆ ๐Ÿ”„

#SwiftyNetworking #Package is my vision for the networking layer in the #SwiftUI era. ๐ŸŒ

I'm thrilled with the final result and have plenty of ideas still brewing. For now, it's time to explore other projects. ๐Ÿš€

Enjoy! ๐ŸŒŸ
https://github.com/piotrekjeremicz/SwiftyNetworking

#BuildInPublic #Swift #network

The time has come! โฐ

Three weeks of intensive refactoring. Countless lines removed, with almost everything rewritten from scratch! โœ๏ธ

#SwiftyNetworking #Package is my answer to how the networking layer should look in the era of #SwiftUI.

Simple, illustrative, and magical! โœจ

This is the final version of the AuthorizationProvider, a crucial component of the #SwiftyNetworking package. ๐ŸŽ‰

The protocol requires only the auth schema and the storage location for credentials. ๐Ÿ”

Save your accessToken and explain how to use it. The rest is magic! โœจ
#Swift

I needed these two modifiers, `beforeRequest` and `afterResponse`, to create a complete Auth Flow!

#SwiftyNetworking is designed to be simple. Want to authorize a request? Use the `authorize` modifier! ๐Ÿ”

Just prepare your credentials first, and you're done! โœ…

#BuildInPublic