Ilia Kolo

@Gray_Wind
23 Followers
68 Following
282 Posts
Take your favorite LLM tool, ask to draw you icon/picture/write text. Try many variants, research it through and through. And then do something you didn’t see or read there. Feel free to skip the first step.
My lazy ass finally decided to create a blog post about something stupid. Better than nothing I guess. https://www.kolo.ee/2026-04-12-get-window-id/ (yes, it is my first one ever).
Getting Window ID on Mac

In my case I wanted to make an automation for OBS. The best way for me to share a window is to make a macOS Screen Capture source and chose there Window Capture method. The goal was to find the ID, which changes on reopening. The journey starts with CGWindowListCopyWindowInfo, but it takes unexpected turn. At least for me.

Kolo.ee

RE: https://mastodon.social/@swiftlang/116286524514684047

This release brings a lot of “finally” updates. It will remove a lot of friction!

My new SwiftUI book is finally out! 🎉

I wrote "The SwiftUI Way" for developers who feel like they are fighting the framework as their projects grow in complexity. The book will help you align your code with SwiftUI's internal expectations to avoid common pitfalls.

https://books.nilcoalescing.com/the-swiftui-way

#iOSDev #SwiftUI

The SwiftUI Way

A field guide to SwiftUI patterns and anti-patterns

Nil Coalescing Books
This new #Volvo infotainment UI is something. Bigger buttons, a separate button for drive modes, I welcome it. But why, WHY!? have I stare at Google Assistant icon when I use #CarPlay? Do I need this context aware Bluetooth shortcut? And why is my screen space for CarPlay for so much smaller?

Swift/JS interop used to mean "JSObject", "JSValue", and runtime surprises.

BridgeJS changes that: annotate your Swift, get typed glue code in both directions. Compile-time safe. Zero manual boilerplate. 🧵

BridgeJS landed as an MVP just two weeks ago, and is evolving fast.

Check it out with the interactive playground — paste Swift, and see the generated results live: https://swiftwasm.org/JavaScriptKit/PlayBridgeJS/

Docs here: https://swiftpackageindex.com/swiftwasm/javascriptkit/main/documentation/javascriptkit

BridgeJS Playground

Thanks to my kid my Mac got erased. Never felt myself so devastated.
I have a minimal reproduction if anyone is interested: https://gist.github.com/Gray-Wind/0c027a06c4dd3c7954b5b5995a6cbdd6 #SwiftUI
Subview doesn't register taps

Subview doesn't register taps. GitHub Gist: instantly share code, notes, and snippets.

Gist

I have a SwiftUI -> UIViewRepresentable -> UIView -> UIViewControllerRepresentable -> SwiftUIView

I set up tap gesture recognizer on UIView (works perfectly), which adds a subview (view controller representable), which should react on taps as well, but it ignores them all. View has a button, action is not registered (but visually tap occurs), text field is not editable, tap gesture recognizers are not working.

I am at lost right now, maybe someone would have a lead where to look? #SwiftUI