Hey, it was out of date, so I decided to remove it.
30.06.2025 13:40 β π 2 π 0 π¬ 0 π 0@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.
30.06.2025 13:40 β π 2 π 0 π¬ 0 π 0And constructs like Text("hello" as String) that folks use are atrocious.
05.03.2025 17:47 β π 1 π 0 π¬ 0 π 0> 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.
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. π
05.03.2025 17:36 β π 0 π 0 π¬ 0 π 0Text needed only two APIs:
Text(localized: "...") - localized
Text("...") β non-localized
As a non-native speaker, I don't know what verbatim means π
Do not like this. I wish you had to explicitly specify where you need localization.
05.03.2025 17:02 β π 5 π 1 π¬ 1 π 0What I noticed is:
case - drops occasionally
no case - drops never
You drop iPhones? π¨
04.03.2025 17:46 β π 0 π 0 π¬ 1 π 0100% battery capacity after 5 months with 80% charging limit and never dropping below 20% β min-maxing the shit out it just because I can.
03.03.2025 03:37 β π 2 π 0 π¬ 0 π 0But Swift was introduced in 2014. Surely, nobody uses any Objective-C APIs or frameworks now, 10 years later? <sarcasm>
02.03.2025 14:06 β π 1 π 0 π¬ 0 π 0It finally stopped doing that after a few months of not using it for development π¬
22.02.2025 00:34 β π 1 π 0 π¬ 0 π 0Incoming new #swift concurrency proposal: making it easier to bridge async and non-async code!
Pitch thread: https://forums.swift.org/t/pitch-concurrency-starting-tasks-synchronously-from-caller-context/77960
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.
14.02.2025 00:25 β π 1 π 0 π¬ 1 π 0Yeah, 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.
13.02.2025 23:47 β π 0 π 0 π¬ 1 π 0I suspect that itβs needed to separate the parameters from the body of the closure. I wouldβve probably preferred parentheses for parameters.
13.02.2025 20:08 β π 0 π 0 π¬ 0 π 0Swift got the syntax right. I think the only thing that annoys me day-to-day is that you have to add "_ in" in closures when you don't use the parameters.
13.02.2025 19:04 β π 9 π 0 π¬ 2 π 0Iβm constantly stressed out for the same reasons.
11.02.2025 20:54 β π 2 π 0 π¬ 0 π 0That was a good call. Iβd probably look for some extended recap or something like it. I remember the first few episodes pretty well.
09.02.2025 19:19 β π 0 π 0 π¬ 0 π 0The problem with Severance is that I have no memory of how season one ended, as if my outie watched it and not me.
09.02.2025 19:15 β π 5 π 0 π¬ 1 π 0Carthage 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.
04.02.2025 14:54 β π 0 π 0 π¬ 0 π 0Updating *.xcworkspace/xcshareddata/swiftpm/Package.resolved by hand because Xcode is incapable of doing it π
03.02.2025 19:14 β π 7 π 0 π¬ 1 π 0Itβ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.
28.01.2025 17:45 β π 1 π 0 π¬ 1 π 0I want the web view to be interactive: text selection, links.
28.01.2025 17:37 β π 1 π 0 π¬ 1 π 0There is no limit to how complicated the HTML can get. I do have control over CSS, and I'm disabling JS.
28.01.2025 17:25 β π 1 π 0 π¬ 1 π 0I need to render HTML, so I'm kind of out of options, unless I want to re-implement a web-browser π
28.01.2025 16:21 β π 1 π 0 π¬ 1 π 0Does anyone know any great articles on using WKWebView in table cells? I'm looking for any potential pitfalls, the best strategy for cell-sizing, and what to look for in terms of performance.
28.01.2025 16:05 β π 3 π 1 π¬ 1 π 0I've set it up once and am still pretty happy with it. It took a bit of time to set it up, but it's a breeze to modify. Is there something you adjusted from this approach?
12.01.2025 14:14 β π 2 π 0 π¬ 1 π 0This still hurts
09.01.2025 19:59 β π 2 π 0 π¬ 0 π 0Time flies.
02.01.2025 02:28 β π 6 π 0 π¬ 0 π 0Robert Eggers has perfected his craft. I can't wait to see more from him.
29.12.2024 20:37 β π 1 π 0 π¬ 0 π 0