I checked EVERYTHING AROUND IT but somehow didn't think to check that one line. so this whole time, I was preparing a URLRequest with the Authorization field and all that and just not using it.
2. fucking. months.
I am hopeless
I checked EVERYTHING AROUND IT but somehow didn't think to check that one line. so this whole time, I was preparing a URLRequest with the Authorization field and all that and just not using it.
2. fucking. months.
I am hopeless
You can learn more in my new post: nilcoalescing.com/blog/AsyncIm...
You can learn more in my new post: nilcoalescing.com/blog/AsyncIm...
#iOSDev #SwiftUI
#iOSDev #SwiftUI
#iOSDev #SwiftUI
#iOSDev #SwiftUI
We go beyond GET requests and build real CRUD operations with POST, PUT, and DELETE using URLRequest, JSON payloads, headers, and auth tokens.
Build apps that actually talk to real APIs.
youtu.be/XqNyj8G7Fqk
We go beyond GET requests and build real CRUD operations with POST, PUT, and DELETE using URLRequest, JSON payloads, headers, and auth tokens.
Build apps that actually talk to real APIs.
youtu.be/XqNyj8G7Fqk
Part 4 of my Swift Network Manager series is now live. We move from basic URL fetching to URLRequest, HTTP methods, and headers. #Swift #SwiftUI #iOSdev #NetworkManager
youtu.be/pzHctMLhovI
Part 4 of my Swift Network Manager series is now live. We move from basic URL fetching to URLRequest, HTTP methods, and headers. #Swift #SwiftUI #iOSdev #NetworkManager
youtu.be/pzHctMLhovI
I have developed basic modifiers to configure URLRequest in the future, along with basic request methods. 🛠️
Now, I need to determine how to build a configuration within the Request tree. 🌳
#BuildInPublic #SwiftPackage #SPM
I have developed basic modifiers to configure URLRequest in the future, along with basic request methods. 🛠️
Now, I need to determine how to build a configuration within the Request tree. 🌳
#BuildInPublic #SwiftPackage #SPM
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 don’t know. I’ll just continue with my plan and after it’s released, we’ll see what fate lies for it.
I don’t know. I’ll just continue with my plan and after it’s released, we’ll see what fate lies for it.
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.
The reason it falls in Swift 5.10 is because... there's no "data" member in URLSession?
The reason it falls in Swift 5.10 is because... there's no "data" member in URLSession?
Building a #Request involves several stages. First, I create the #URL along with the query items. Then, I construct a #URLRequest by adding headers and a body.
Finally, I return the URLRequest, a #Foundation type. ⚒️
Next goal: send it! 🚀
#Swift #iOS
Building a #Request involves several stages. First, I create the #URL along with the query items. Then, I construct a #URLRequest by adding headers and a body.
Finally, I return the URLRequest, a #Foundation type. ⚒️
Next goal: send it! 🚀
#Swift #iOS