This week I replaced all the #SwiftUI NavigationLinks in @CrystalApp with Buttons because NavigationLinks break grid layouts on tvOS 26, then wrote a ButtonStyle that hackily replaces all the SwiftUI Buttons with UIKit UIButtons because SwiftUI Buttons on tvOS have had broken animations for the entire beta cycle

F*ing #SwiftUI alignment. Trying to make a view that contains the views horizontally next to each other, but the 2nd one should ve centered, the first oke should be left-aligned, no overlap. If there would be overlap then the first one should be truncated. Think nav bar with the small title and leading toolbar item.
Learned a bunch about alignment guides today. Interesting. Very complicated. Not a solution. -.-
I would have been done with this two hours ago with Autolayout. Could probably write it in code if I had to.
So instead I‘ll probably write a custom layout next? Just to center-align a f*in view in its container… -.-
This side-project is close to breeching containment. Added the wire connections between gates and also built a truth table that fills itself out as you toggle the inputs. I should draw the gate symbols, but there are a bunch of them and that's a. lot of work
#SwiftUI #ElectricalEngineering

The following article shows how to open document-like windows in SwiftUI in an app that isn’t document-based:
https://swiftdevjournal.com/posts/swiftui-window-group/
A SwiftUI tip: When Xcode autocompletes Button(_ title:action:), it gives you Button(<#T##title: StringProtocol##StringProtocol#>, action: <#T##() -> Void#>).
Fill in your title string, Tab to the action placeholder, then hit Return—it auto-formats to the trailing closure style most devs prefer:
```
Button("Your Title") {
<#code#>
}
```
Saves time fiddling with syntax! #SwiftUI #iOSDev #Coding #Apple #AppleDev #Xcode #Swift
Does anyone know how to fix the #WebView on iOS 26 going under the top/bottom bars *all the time*? I want it to behave like any other ScrollView where it starts below the top bar by default, and only goes under it after scrolling. No matter what I try, in some websites there's code that's totally unreachable (but it's fine on Safari) because it's below the top/bottom bars.
`numberOfPips` property is marked with the keyword `var`, which means you can assign new values to it. This view is dynamic; you’ll change the value of the property when required.
When you assign a default value to a structure’s property, it’s not required in the initializer.
#Swift #SwiftUI #Apple #AppleDev #Developers #Coding

That’s a good Swift package documentation
https://ios.unified-design-system.orange.com/documentation/
#iOS #iosdev #Swift #SwiftUI #opensourve #DesignSystem

Had a mostly productive day. I think I identified most of the changes needed to Hike Maker to support ios26 and have implemented most of them. Nothing too major needed at the moment…
Famous last words.
New update to my #UltimatePortfolio app.
TIL how to add a test target to the project and wrote unit tests to verify all expected colors are present and the JSON is valid.
Built with #SwiftUI and #CoreData.
GitHub: https://github.com/eneax/UltimatePortfolio
Spent most of the time waiting for simulators to behave, but got the marquee working reliably, and updated TestFlight with the latest builds. Tomorrow, let's jump into seeing how much Liquid Glass breaks things 😅 See you then!
🔜 Tomorrow’s stream: https://youtube.com/live/JdGeMw0eGsk
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
I'm making a seasonal anime guide app, in the open for all to experience and learn from.
Short stream as I was stuck updating everything… let's fix the marquee breaking on iOS!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #SwiftLang #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA #WebPush
Come chill with me: https://youtube.com/live/sX1yH84TjMs