swiftui

Back Open Paginator
28.08.2025 22:54
dale_price (@dale_price@mastodon.online)

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





Show Original Post


28.08.2025 22:26
cocoafrog (@cocoafrog@hachyderm.io)

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… -.-




Show Original Post


28.08.2025 21:48
emorydunn (@emorydunn@mastodon.tinycart.club)

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





Show Original Post


28.08.2025 21:27
swiftdevjournal (@swiftdevjournal@mastodon.world)

The following article shows how to open document-like windows in SwiftUI in an app that isn’t document-based:

swiftdevjournal.com/posts/swif

#SwiftUI




Show Original Post


28.08.2025 20:51
mirsadra (@mirsadra@mastodon.social)

A SwiftUI tip: When Xcode autocompletes Button(_ title:action:), it gives you Button(<#: StringProtocol##>, action: <##() -> 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") {
<#>
}
```

Saves time fiddling with syntax!





Show Original Post


28.08.2025 20:37
xmollv (@xmollv@mastodon.social)

Does anyone know how to fix the 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.





Show Original Post


28.08.2025 20:14
mirsadra (@mirsadra@mastodon.social)

`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.





Show Original Post


28.08.2025 17:55
pylapp (@pylapp@framapiaf.org)

That’s a good Swift package documentation :blobcatcoffee:

ios.unified-design-system.oran

#iOS #iosdev #Swift #SwiftUI #opensourve #DesignSystem





Show Original Post


28.08.2025 17:52
goodbinary (@goodbinary@mastodonapp.uk)

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.

#ios26 #indiedev #swiftui




Show Original Post


28.08.2025 15:13
eneaxharja (@eneaxharja@mastodon.social)

New update to my 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 and .
GitHub: github.com/eneax/UltimatePortf




Show Original Post


28.08.2025 15:04
dimitribouniol (@dimitribouniol@mastodon.social)

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: youtube.com/live/JdGeMw0eGsk
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store




Show Original Post


28.08.2025 14:09
dimitribouniol (@dimitribouniol@mastodon.social)

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!

Come chill with me: youtube.com/live/sX1yH84TjMs




Show Original Post


1 ...200 201 202 203 204 205 206 207 208 209 210 ...236
UP