Ilia Kolo

@Gray_Wind
21 Followers
66 Following
277 Posts
Even street lights are tired of this heat
RISER - Trip: Saturday Ride

RISER: Saturday Ride
I cannot figure out how to track changes of a property in a model. This little sample shows views created with a binding of a chosen color, When you change the color, previous views are not being updated, new ones are created with the new color. What am I missing? @swift #SwiftUI https://gist.github.com/Gray-Wind/eff203d2c5d32721fac0e8d44483fcf8
Binding to source of color problem

Binding to source of color problem. GitHub Gist: instantly share code, notes, and snippets.

Gist
What is the best way to draw a checked pattern with SwiftUI? Essentially I want something similar to a graph paper with stressed lines. @swift #SwiftUI
I've found a workaround but the question remains.
Why doesn't it work? If I understand correctly `init` should be isolated here #Swift #SwiftLang @swift
Ten years of Ivory development you say?
Looks like someone just have copied release notes from slack )

Tldr; how imitate the selection in a grid with swiftui?

Playing with #swiftui on macOS recently. I’m trying to replicate the finder behaviour for my collection of items. I have a list view, no problems there, but I have some issues with a grid view. There is no built-in way to support selection as far as I understand, not a biggie, you can always track selected item(s). But I cannot figure out how to properly make the background of the text of the selected item when with multilined text.

Light ride before night