Yo bob
Can do do anything other than self promotion?
Yo bob
Can do do anything other than self promotion?
So you copied the code from the WWDC stickers app and the vibecoded this piece of shit?
It’s been three years since I started using AI tools in earnest.
Stopped there.
Was this supposed to be a blog post about Swift or something?
I love these niceties with C/C++ integration recently. It’s the kind of thing that doesn’t necessarily increase the complexity of the syntax for those not using these features.
Haha, yeah you are right. I thought I added one. Here is the link: https://codeberg.org/secana/ForgejoKit
Don't suppose you want to add a link to the post?
Just jumped back in to Swift for a side project.
The new async stream stuff is great, and the new Observations system is very nice to work with.
Unfortunately there are still too many ways to do some things (libdispatch vs combine, vs @published, vs observations, vs tasks, vs async stream) and it feels like something is going to get deprecated soon. I think Apple/Swift need to zoom out and look at the experience when you're building MVC without swiftui, and give a clearer editorial vision.
The cross platform story still sucks. The URL request stuff being platform locked is a breaking issue because so many libraries use it. You can switch to NIO but it's a heavy install and breaking API difference, plus still kneecaps your dependency chain.
Overall though actors are fantastic, I like how easy it is to specify which actor code runs on, the async/await situation is getting pretty good too.
Looks like they finally broke the 200-keywords barrier with this release. 🤣
Can you do me a favor and block me already? If there’s anything worse than no responses, it’s your negativity.
The fuck?
Counter criticism: this is a playground where I was trying to keep it simple to focus on the problem at hand.
The expanded variable was something I found in a walk through online, so if there’s a better way, I’m all eyes.
Be nice, as I’ve said before, I’m new at this.
I can answer both your questions: because I don’t know what I don’t know.
I will look up disclosure group; I’d love to hear more about a better, more standard way to do collapsible menus (maybe I’m calling them the wrong thing).
More criticism, the selected variable. List selection by default uses Identity, but you thought, hey I’ll just use a string?
Your expanded variable, the fucking fuck? Please go back and read the documented walk-thru’s.
Why aren’t you just using a Disclosure group? Also whatever it is you are trying to expand, why do you need to hide content in a non-standard way?
I think many people do have issues here though. And a lot stem from using concurrency without the compiler feedback enabled. This is one of the greatest things about this feature: it fixes a surprising amount of code that is wrong today.
Yeah, not bad. But if you’re having issues around this topic it might mean that you’re not fully up to speed on how to write certain code. I usually encounter a waterfall of issues when I’m being too stubborn to just implement a basic structure or two to handle some asynchronous tasks.
You think you’re 95% of the way there? More like 1%.