Matěj Kašpar Jirásek

159 Followers
340 Following
152 Posts
Staff iOS Engineer, currently primarily focused on performance. In my free time trying to balance on border between art and technology. 🚴 🏃 🎶 🎮
GitHubhttps://github.com/mkj-is
Websitehttps://mkj.is
@dlx @schwa @chbeer This discussion is turning out to be very interesting. Meanwhile, I am going to add UIPickerView as a subview of my UIButton, which is a subview of my UIPickerView. 😀 I guess such issues were always there. I expected a higher compile-time safety from a Swift framework, that’s it.
@schwa @chbeer I forgot that if you add ForEach inside of the Picker it does exactly that, but it is not immediately clear from the Picker interface. That nicely highlights the loose SwiftUI contract.
@schwa @chbeer What if it used similar semantics as ForEach? In some edge cases there would be a nasty switch inside of the closure, but it would be less error-prone. At least I mess it up all the time. “Tags” could be tracked by SwiftUI internally.
@chbeer Yes! I still do not understand APIs like Picker in SwiftUI. We have got this very strict type-safe language and SwiftUI breaks the safety by concepts like tag view modifier. It could be done using generics.
@dimsumthinking It has been there since forever. The quick fix is to manually write the http/https:// protocol before the hostname.
@jsq This discussion thread summarizes the state of things in the best way. 🥲 The community would like to take over, but even this is currently stuck. https://github.com/MobileNativeFoundation/discussions/discussions/194
Moving fastlane to MNF · MobileNativeFoundation discussions · Discussion #194

fastlane is currently being ignored by Google, yet still on their GitHub. That makes sponsoring difficult and also adding new maintainers. It is an extremely widely used project and the MNF seems l...

GitHub

Turns out, in #SwiftUI you can

- give custom shapes a .glassEffect
- animate custom shapes.

Neat!

@b3ll It’s a way to go! A few years ago, I wrote a library to define REST API services and endpoints declaratively in such a way. https://github.com/futuredapp/FTAPIKit
GitHub - futuredapp/FTAPIKit: Declarative and generic REST API framework using Codable.

Declarative and generic REST API framework using Codable. - futuredapp/FTAPIKit

GitHub
@zoul Yeah, I just need to do the mental switch one day…

Running my first half-marathon next month. I’m worried my four-year-old Apple Watch SE at 72% battery won’t last the entire run.

I considered the Ultra 3, but two Apple Watch SE 3s are a better deal. Their combined battery life is 2×18 = 36 hours, which is less than the 42 hours of the Ultra. The benefit is that one can stay on the charger while the other is in use. Plus, two of them are significantly cheaper than the Ultra.

The likely decision will be to run fast and save all the money. 😆