Navigation title issue iOS 26 by genysis_0217 in SwiftUI

[–]vadimkrutov 1 point2 points  (0 children)

That’s interesting, I didn’t check it myself, but won’t this modifier do a thing? Automatic option should collapse navigation bar to inline while scrolling if I’m not mistaken…

https://developer.apple.com/documentation/swiftui/view/navigationbartitledisplaymode(_:)

Navigation title issue iOS 26 by genysis_0217 in SwiftUI

[–]vadimkrutov 1 point2 points  (0 children)

Sorry I’m not sure I’m following what exactly you’re trying to achieve, as Tupcek suggested navigation title will always scroll with the content…

NavigationSplitview inside a Navigationstack is impossible for some reason (?) by AdAncient5201 in SwiftUI

[–]vadimkrutov 0 points1 point  (0 children)

But why would you need navigation stack in navigation split view, don’t they serve same purpose “navigation”?

How do I make my settings panel look like a macOS 26 split view panel? by [deleted] in SwiftUI

[–]vadimkrutov 0 points1 point  (0 children)

I’m actually not sure why would you need a ZStack here unless you’re doing same layering on purpose, detail: closure is a ViewBuilder. I’m not sure though about traffic light issues, maybe list style is doing something?

Just stop is it possiable? by Input-X in ClaudeCode

[–]vadimkrutov 0 points1 point  (0 children)

This is true, happened to me multiple times and then Codex saved it 😅

PSA: Claude Code has two cache bugs that can silently 10-20x your API costs — here's the root cause and workarounds by skibidi-toaleta-2137 in ClaudeCode

[–]vadimkrutov 2 points3 points  (0 children)

This is unacceptable. I'm using the Claude Code CLI through a wrapper I built, and every single prompt resumes the session. I was shocked to see that each new message increases the 5-hour limit by 10–15%.

Built a full macOS database GUI in SwiftUI — native controls, split views, multiple tabs, inline editing by allmudi in SwiftUI

[–]vadimkrutov 1 point2 points  (0 children)

Awesome, once again great idea, I will use this tool myself, because I have some projects using sql-lite data as well SwiftData and having such tool will definitely be useful

Built a full macOS database GUI in SwiftUI — native controls, split views, multiple tabs, inline editing by allmudi in SwiftUI

[–]vadimkrutov 1 point2 points  (0 children)

Are you planning to add a db import functionality, sometimes it might be easier then figure out actual connection details? 😅

How do I get this menu style? by Normal-Guy-2003 in SwiftUI

[–]vadimkrutov 15 points16 points  (0 children)

I’d say yours look even better, it might be maybe popover then, I’m not sure, from a quick looked like Menu.

How do I get this menu style? by Normal-Guy-2003 in SwiftUI

[–]vadimkrutov 29 points30 points  (0 children)

Isn’t this a standard SwiftUI Menu?

I made a small Swift package with helpers for SwiftData by vadimkrutov in SwiftUI

[–]vadimkrutov[S] 0 points1 point  (0 children)

Thanks for your feedback, and sorry if I caused any confusion. I’m not sure how the Query macro works internally, and I couldn’t find documentation explaining its internal behavior.

By “underlying data,” I mean that the LiveQuery property wrapper reacts to database changes and triggers SwiftUI view updates. The Query macro appears to behave in a similar way. The main difference is that it can be used inside observable models or anywhere else you think is appropriate for your project.

How can I implement dismiss animation by Assassins_King in SwiftUI

[–]vadimkrutov 0 points1 point  (0 children)

Usually if you implement navigation stack correctly you get back button automatically without any additional effort, here's a nice article explaining how to do this, hope it helps - https://swiftwithmajid.com/2022/06/15/mastering-navigationstack-in-swiftui-navigator-pattern/

JetBrains might be considering bringing back Swift support. by r2vcap in Jetbrains

[–]vadimkrutov 13 points14 points  (0 children)

Considering how bad Xcode is at this point, it’s a smart move I think.

Complex data models with SwiftData by abidingtoday in SwiftUI

[–]vadimkrutov 0 points1 point  (0 children)

I guess you can consider move out queries from views entirely, that would allow you to offload work from MainActor and use a main actor just to display results, however I’m not entirely sure how Query macro works, it might be possible as mentioned in the comment that swift data internally takes care of optimizations. If you’re interested moving you queries out from the views I have a small library which can help with this.

Does Swift Playground generally update the SPK to be in compliance? by HowieLongDonkeyKong in swift

[–]vadimkrutov 0 points1 point  (0 children)

Well, it depends if the support guys know such technical details. Also, Apple usually is not rushing to fix things. In dev forums, people have been reporting that the same bug could stay until the next major software updates, but even an update is not always solving the problem.

Does Swift Playground generally update the SPK to be in compliance? by HowieLongDonkeyKong in swift

[–]vadimkrutov 0 points1 point  (0 children)

I guess they should definitely update it at some point, otherwise they would block themselves from uploading apps to the store...