swiftui

Back Open Paginator
26.08.2025 19:12
wtfSwiftUI (@wtfSwiftUI@iosdev.space)

Today’s example of the (allegedly) “cross-platform” #SwiftUI working differently depending on the target platform:

In a `fileImporter`, to specify that the user has to select a directory:
* on macOS: `.directory`
* on iOS, and others: `.folder`

Example code in my StackOverflow answer here:
stackoverflow.com/a/79747117/4




Show Original Post


26.08.2025 19:00
swiftdevjournal (@swiftdevjournal@mastodon.world)

The following article shows how to show an alert from a menu item in a SwiftUI Mac app:

swiftdevjournal.com/posts/show

#SwiftUI




Show Original Post


26.08.2025 16:16
danielsaidi (@danielsaidi@mastodon.social)

EmojiKit 2.0 is out! 🚀 EmojiKit adds emoji-based features to and . This new version targets iOS 16 and aligned platform versions.

github.com/danielsaidi/EmojiKit




Show Original Post


26.08.2025 15:03
dimitribouniol (@dimitribouniol@mastodon.social)

Finished adding all releases to tvOS, and moved on to improving the marquee sizing, but failed to use idealWidth correctly haha. Tomorrow let's dig into that deeper. See you then!

🔜 Tomorrow’s stream: youtube.com/live/m3igvHUZroU
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store




Show Original Post


26.08.2025 13:38
dimitribouniol (@dimitribouniol@mastodon.social)

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's see if we can get releases showing on tvOS without breaking layout!

Come chill with me: youtube.com/live/2aHv9PapZDg




Show Original Post


26.08.2025 10:55
dasdom (@dasdom@chaos.social)

In UIKit I use lldb or the View Debugger to find views I need to change. Those seem no to work with SwiftUI views.
How can I find the view that is visible in the simulator?
There needs to be a better way than randomly adding background colours until I found the view I was searching for.

#iosdev #Xcode #swiftui




Show Original Post


26.08.2025 07:49
mirsadra (@mirsadra@mastodon.social)

. 26 is great but weird. Why on earth would anyone hide the sidebar on the left and make it appear on the right?




Show Original Post


26.08.2025 06:08
dandylyons (@dandylyons@iosdev.space)

Hot Take: A large part of why #Swift and #SwiftUI can take forever to compile and/or produce unhelpful errors is because the community is overly obsessed with keeping code "simple" by removing all explicit type declarations.

This is simply adding extra work for the compiler and it's reducing readability for the human.

A few simple, well-placed explicit type declarations make the world a better place for compile times and your sanity.




Show Original Post


25.08.2025 22:10
goodbinary (@goodbinary@mastodonapp.uk)

Had a bit of a firtle tonight and read the HIG etc to get Hike Maker working better with iOS26. Some layout tweaks, especially around the tab and toolbars. Starting to look ok, but lots still to do...
#indiedev #swiftUI #swift #iOS26





Show Original Post


25.08.2025 21:31
nicoreese (@nicoreese@mastodon.social)

The new corner concentric APIs are still such a mess. You basically cannot use them in production.




Show Original Post


25.08.2025 21:30
rmaraujo (@rmaraujo@mastodon.social)

Here's a weird question: why does adding another view to the hierarchy pushes the navigation title down?
I.e.: why is there an extra padding above BBB that wasn't there on the root view?





Show Original Post


25.08.2025 21:27
nicoreese (@nicoreese@mastodon.social)

How is this still the default look of a text field in ?





Show Original Post


1 ...203 204 205 206 207 208 209 210 211 212 213 ...236
UP