Alex Lenkei's Avatar

Alex Lenkei

@alexlenkei.bsky.social

Learning Swift and SwiftUI to build Informed, a civic and political data app for iOS: @beinformed.app // https://beinformed.app/ Other interests: Reading πŸ“š | Hiking πŸ₯Ύ | Traveling ✈️ | Photography πŸ“Έ | Nature 🌲 | Politics πŸ›οΈ | Running πŸƒ (he/him)

588 Followers  |  711 Following  |  409 Posts  |  Joined: 07.02.2024  |  2.1718

Latest posts by alexlenkei.bsky.social on Bluesky

Video thumbnail

Implemented a much better filter picker for the election results list πŸ‘€ When you select one filter, the available options of the other filters will be reduced to only include those that have elections, so you can't create a combination of filters that leads to no elections.

05.11.2025 14:40 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

We have animating, live election results :)

05.11.2025 00:25 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

For election nerds, it will be a busy day. I'll be focusing on testing and debugging the live election results feature in @beinformed.app. I *could* set up some dummy data but it's always best to test with the real thing. The only problem is having to actually wait around for the elections to happen

04.11.2025 12:55 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Just add a navigation title as normal and a blank string as a ToolbarItem in the .principal placement, which will cover/hide the nav title.

02.11.2025 19:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

If you ever want to hide the navigation bar title (but not the entire navigation bar) and still want to have a nav title that is shown when users long press on the back button, you can do that.

02.11.2025 19:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

It's not elegant by any means and may even be horrible UX. Let me know if you have thoughts!

02.11.2025 00:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

So the API I use to pull upcoming elections does not distinguish between different House elections in the same state. Of course, to fetch information about a particular district's election (candidates, campaign finance info), I need the user to manually select a district, hence the solution below.

02.11.2025 00:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

My app pulls a small amount of content from Wikipedia using the MediaWiki API, and I wonder if this could replace that.

01.11.2025 22:18 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Meet WebKit for SwiftUI - WWDC25 - Videos - Apple Developer Discover how you can use WebKit to effortlessly integrate web content into your SwiftUI apps. Learn how to load and display web content,...

WebKit for SwiftUI seems great and I'd love to explore it more, but it also seems daunting for those who don't know web dev or javascript. I really wish Apple had released the sample code for this WWDC video
developer.apple.com/videos/play/...

01.11.2025 22:18 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

TIL the @.Observable macro doesn't trigger updates for equatable properties starting with iOS 26. But for prior releases, we have to manually check equality for the object properties to improve our app performances.

Thank you for the tip Steven!

30.10.2025 18:37 β€” πŸ‘ 11    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

I've brought the UI and logic of the Mail app's filter picker to Informed. The advantages of this UI are that you can easily turn the filter "off" while still saving your filter selections and you can easily see what those options are. #SwiftUI

30.10.2025 23:49 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Made a few minor adjustments to the sheet/picker style. Full code: gist.github.com/alexl9412/54...

30.10.2025 12:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

And now I've duplicated the filtering logic. Looks pretty good overall! My only annoyance is that when changing the filter option from "All" to another option (or vice versa), the first time the filter button expands/contracts, it animates, but not on subsequent times.

29.10.2025 20:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

I've improved this a little bit. The animation and animation speed don't quite match the one in Mail, but this works for now:

29.10.2025 15:25 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

Here's the Mail example:

29.10.2025 14:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Trying to learn the new Liquid Glass and Toolbar APIs by re-creating the filter picker in Mail, but I'm not quite getting the animations/interactions right. Is this a ToolbarItemGroup? A GlassEffectContainer? I haven't seen any other attempts online.

29.10.2025 14:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
A screenshot of the search feature for the unreleased iOS app, Informed.

A screenshot of the search feature for the unreleased iOS app, Informed.

Hey! πŸ‘‹ It's been awhile. 4 months ago, I set my little app project aside because I was feeling burnt out, discouraged, and a little overwhelmed by WWDC25. But I've been poking my head back in Xcode for the past few days, updating things for Liquid Glass, fixing bugs, & working on the search feature!

27.10.2025 14:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

That's helpful! It looks like this change effects segmented pickers but not those created with the .searchScopes modifier, indicating that the Music app uses the former. I tried placing the picker with ToolbarItem(placement: .principal) and others, but the picker disappears when search is activated.

25.10.2025 16:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

Here's a better illustration of the problem. I've been trying to update my app's search feature for iOS 26 but can't get the search scopes/segmented picker to match the appearance and behavior of the one in the Music app. Any ideas?

25.10.2025 15:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A screenshot of the iOS Music app highlighting the segmented picker allowing users to search either Apple Music or their music library.

A screenshot of the iOS Music app highlighting the segmented picker allowing users to search either Apple Music or their music library.

A screenshot of the iOS beta app Informed highlighting the search scopes allowing users to search either locally or the FEC database.

A screenshot of the iOS beta app Informed highlighting the search scopes allowing users to search either locally or the FEC database.

How did Apple increase the size/padding around this segmented picker in the iOS 26 Music app? When using either search scopes or a regular segmented picker, I can’t figure out how to increase the height around the text

25.10.2025 02:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Andreas Kling's Keynote Presentation on the Ladybird Browser
YouTube video by FUTO Andreas Kling's Keynote Presentation on the Ladybird Browser

I think it would be a good foil to your interview with Josh/the Browser Company and the new focus on AI browsers, and it would be a more developer-focused conversation rather than a corporation- or user-focused one.

www.youtube.com/watch?v=9YM7...

24.10.2025 16:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Ladybird Ladybird is a truly independent web browser, backed by a non-profit.

@davidimel.com I'd like to pitch a topic for the podcast: a segment on the Ladybird browser and interview with founder Andreas Kling. Ladybird is an open-source, independent browser currently in development and years away from public release. So why talk about it?

ladybird.org

24.10.2025 16:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Has anyone using the Project Indigo camera app figured out how to separate the raw file from the jpg on iOS/iPadOS without using Lightroom?

02.08.2025 17:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
19.07.2025 07:54 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
The icon design for the beta version of Informed using Apple’s new Liquid Glass design language

The icon design for the beta version of Informed using Apple’s new Liquid Glass design language

The icon design for the beta version of Informed using Apple’s new Liquid Glass design language

The icon design for the beta version of Informed using Apple’s new Liquid Glass design language

The icon design for the beta version of Informed using Apple’s new Liquid Glass design language

The icon design for the beta version of Informed using Apple’s new Liquid Glass design language

Mock ups for light, dark, and clear:

10.06.2025 01:07 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

*Liquid Glass, not Liquid Design

10.06.2025 00:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
The current icon design for the beta version of Informed

The current icon design for the beta version of Informed

The new icon design for the beta version of Informed using Apple’s new Icon Composer app and Liquid Glass design language

The new icon design for the beta version of Informed using Apple’s new Icon Composer app and Liquid Glass design language

Playing around a bit with the new Icon Composer app for Informed’s beta icon. On the left is the current design.

10.06.2025 00:52 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
An macOS icon for the Arc browser

An macOS icon for the Arc browser

I don’t recall exactly where I got the Arc (rip) icon below, whether it was official or third party, but in terms of design, it would fit right in with iOS 26’s Liquid Design.

10.06.2025 00:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Downloading the iPadOS 26 beta now. It’s 11.41 GB on my iPad Pro M4

09.06.2025 19:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Give me that developer beta! What did you think of the #WWDC25 keynote?

09.06.2025 18:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@alexlenkei is following 20 prominent accounts