Alex Grebenyuk
grebenyuk.bsky.social
Alex Grebenyuk
@grebenyuk.bsky.social
Software Engineer @Automattic. I write kean.blog and build Nuke, Pulse, and more at github.com/kean.
Hey, it was out of date, so I decided to remove it.
June 30, 2025 at 1:40 PM
And constructs like Text("hello" as String) that folks use are atrocious.
March 5, 2025 at 5:47 PM
> all text for display is inherently localized

Except when it's coming from a property. I agree about the localization. I don't necessarily agree with this inconsistency with the API, which tripped me multiple times. As did the need for verbatim. In UIKit, it was never an issue.
March 5, 2025 at 5:45 PM
Build my own SwiftUI with my own API design choices? I'd love to. The first thing I would do would be remove generics and add delegates. 😆
March 5, 2025 at 5:36 PM
Text needed only two APIs:

Text(localized: "...") - localized
Text("...") – non-localized

As a non-native speaker, I don't know what verbatim means 😆
March 5, 2025 at 5:32 PM
What I noticed is:
case - drops occasionally
no case - drops never
March 4, 2025 at 5:47 PM
You drop iPhones? 😨
March 4, 2025 at 5:46 PM
But Swift was introduced in 2014. Surely, nobody uses any Objective-C APIs or frameworks now, 10 years later? <sarcasm>
March 2, 2025 at 2:06 PM
It finally stopped doing that after a few months of not using it for development 😬
February 22, 2025 at 12:34 AM
There is probably a way to catch this. I’m mainly thinking about the scenario where you have one closure, non-ambiguous, and you don’t use any of its parameters. If there are multiple parameters, and you need one of them, it’s fair game to ask you to specify what you don’t use.
February 14, 2025 at 12:25 AM
Yeah, that makes sense. The compiler could probably still show an error only when it is actually ambiguous. It’s uncommon to have more than one override like you’re describing.
February 13, 2025 at 11:47 PM
I suspect that it’s needed to separate the parameters from the body of the closure. I would’ve probably preferred parentheses for parameters.
February 13, 2025 at 8:08 PM
I’m constantly stressed out for the same reasons.
February 11, 2025 at 8:54 PM
That was a good call. I’d probably look for some extended recap or something like it. I remember the first few episodes pretty well.
February 9, 2025 at 7:19 PM
Carthage was probably my favorite due to its simplicity and reliability, but I prefer source distribution. I think my only problem is that Apple consistently seems to bite too much than it can chew and tries to be too clever. It shows in nearly every developer tool or features that shipped recently.
February 4, 2025 at 2:54 PM
It’s non-scrollable. It works totally fine, especially if you pre-render on scroll. I’m just looking for the last potential optimizations and other ideas for improvement.
January 28, 2025 at 5:45 PM
I want the web view to be interactive: text selection, links.
January 28, 2025 at 5:37 PM
There is no limit to how complicated the HTML can get. I do have control over CSS, and I'm disabling JS.
January 28, 2025 at 5:25 PM
I need to render HTML, so I'm kind of out of options, unless I want to re-implement a web-browser 😄
January 28, 2025 at 4:21 PM