The Configuration serves as the foundation for building #URLRequests. Like Environment, Configuration is based on ConfigurationValues.
#BuildInPublic
The Configuration serves as the foundation for building #URLRequests. Like Environment, Configuration is based on ConfigurationValues.
#BuildInPublic
#HTTP Request methods can be included in the body, and modifiers help build the request structure. 📦
The biggest challenge was supporting dynamic response types. 💡
#Swift #BuildInPublic
#HTTP Request methods can be included in the body, and modifiers help build the request structure. 📦
The biggest challenge was supporting dynamic response types. 💡
#Swift #BuildInPublic
Choose #async/#await with one of two functions, or opt for #closures or #Combine, as you prefer! 💻
Now, the hardest part: transforming the request into a response. 🔄
#BuildInPublic
Choose #async/#await with one of two functions, or opt for #closures or #Combine, as you prefer! 💻
Now, the hardest part: transforming the request into a response. 🔄
#BuildInPublic
My #SwiftyNetworking #Package should ideally offer a solution that perfectly suits my needs. Building #SwiftUI Views is more advanced compared to my simplified Request Builder. 💡
Now, it's a deep-digging process... 🔍
#Swift #BuildInPublic
My #SwiftyNetworking #Package should ideally offer a solution that perfectly suits my needs. Building #SwiftUI Views is more advanced compared to my simplified Request Builder. 💡
Now, it's a deep-digging process... 🔍
#Swift #BuildInPublic
Jokes aside, I plan to rewrite #SwiftyNetworking from scratch. The aim is to keep the current API intact while building better fundamentals under the hood.
The primary goal is to support #Swift 6 concurrency features.
#BuildInPublic
Jokes aside, I plan to rewrite #SwiftyNetworking from scratch. The aim is to keep the current API intact while building better fundamentals under the hood.
The primary goal is to support #Swift 6 concurrency features.
#BuildInPublic
As a result, I am using the HTTP messaging description. 💬
It's still a WIP, but it looks fantastic and uses #OSLog, allowing developers to configure it based on the service. 🚀
#BuildInPublic
As a result, I am using the HTTP messaging description. 💬
It's still a WIP, but it looks fantastic and uses #OSLog, allowing developers to configure it based on the service. 🚀
#BuildInPublic
My #SwiftyNetworking Request will start with an EmptyRequest featuring an empty configuration. 🚀
Each modifier will inject new values into the ConfigurationValues store, modeled after the Environment from #SwiftUI. 🔄
#Networking #BuildInPublic
My #SwiftyNetworking Request will start with an EmptyRequest featuring an empty configuration. 🚀
Each modifier will inject new values into the ConfigurationValues store, modeled after the Environment from #SwiftUI. 🔄
#Networking #BuildInPublic
Admittedly, I encountered a few dead ends, but they offered useful lessons. Completing the implementation of the session will be the final key feature. 🔑
#BuildInPublic
Admittedly, I encountered a few dead ends, but they offered useful lessons. Completing the implementation of the session will be the final key feature. 🔑
#BuildInPublic
I've removed the Request macro from #SwiftyNetworking, which simplifies the code even further. Now, modifiers can change the types of entire request structures.
This refactor has been technically rewarding! 🎉
#BuildInPublic
I've removed the Request macro from #SwiftyNetworking, which simplifies the code even further. Now, modifiers can change the types of entire request structures.
This refactor has been technically rewarding! 🎉
#BuildInPublic
#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
#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
I'm thrilled with the final result and have plenty of ideas still brewing. For now, it's time to explore other projects. 🚀
Enjoy! 🌟
github.com/piotrekjere...
#BuildInPublic #Swift #network
I'm thrilled with the final result and have plenty of ideas still brewing. For now, it's time to explore other projects. 🚀
Enjoy! 🌟
github.com/piotrekjere...
#BuildInPublic #Swift #network
Now, #SwiftyNetworking has a proper #Request builder pattern. I can freely build any objects that conform to Request and place them into a larger structure. 🧱
It's time to start the weekend. Next step: prepare a generic #URLRequest builder. 🚀
#BuildInPublic
Now, #SwiftyNetworking has a proper #Request builder pattern. I can freely build any objects that conform to Request and place them into a larger structure. 🧱
It's time to start the weekend. Next step: prepare a generic #URLRequest builder. 🚀
#BuildInPublic
I made the initial commit in late 2021. Since then I've learned a lot and still use my #package for #networking. 📦
It's time to reach version 1.0! 💪
github.com/piotrekjere...
I made the initial commit in late 2021. Since then I've learned a lot and still use my #package for #networking. 📦
It's time to reach version 1.0! 💪
github.com/piotrekjere...
#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! 🔗
forums.swift.org/t/swiftynet...
#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! 🔗
forums.swift.org/t/swiftynet...
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!
github.com/piotrekjere...
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!
github.com/piotrekjere...
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! ✨
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! ✨
At present, #SwiftyNetworking relies on a cumbersome #macro to identify request types. However, during today's refactoring, I encountered an intriguing moment.✨
I need to experiment with inherited types. 🧪
At present, #SwiftyNetworking relies on a cumbersome #macro to identify request types. However, during today's refactoring, I encountered an intriguing moment.✨
I need to experiment with inherited types. 🧪
I am not sure if this is the final solution, but it is good enough to move further with the #SwiftyNetworking refactor.💡
The Configuration will serve as a source to build URLRequest. Now, I want to resolve the final request.
I am not sure if this is the final solution, but it is good enough to move further with the #SwiftyNetworking refactor.💡
The Configuration will serve as a source to build URLRequest. Now, I want to resolve the final request.
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?
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?
After a busy period with the #SwiftyNetworking refactor, Im now back in @Commit.Photos 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. 📸
After a busy period with the #SwiftyNetworking refactor, Im now back in @Commit.Photos 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. 📸
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. 📝
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. 📝
After successfully refactoring the #SwiftyNetworking package, I decided to focus on @commitphotos' performance.
Unfortunately, my other project blew up… 💥
Uh… A never-ending story… 🔄
After successfully refactoring the #SwiftyNetworking package, I decided to focus on @commitphotos' performance.
Unfortunately, my other project blew up… 💥
Uh… A never-ending story… 🔄
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
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
It used to be simple, but now... additional inheritance, keywords, and more.
Now, I'll sit down and rephrase it again. I want to challenge the current implementation...
It used to be simple, but now... additional inheritance, keywords, and more.
Now, I'll sit down and rephrase it again. I want to challenge the current implementation...
Creating an advanced package like #SwiftyNetworking requires perfect tools!
Probably most of you have seen some #unboxing, so I'll just share 2️⃣ photos. This time, though, the new #iPhone will motivate me to start a digital cleanup. 📱
Creating an advanced package like #SwiftyNetworking requires perfect tools!
Probably most of you have seen some #unboxing, so I'll just share 2️⃣ photos. This time, though, the new #iPhone will motivate me to start a digital cleanup. 📱