If your use case for Swift Data is dead simple, the iCloud Sync stuff just works. I understand Swift Data still has a number of outstanding issues needing to be fixed but seems to be working just fine here.
I’m using it to sync the bookmarked transit stops that show up in the sidebar. This is turning out quite nice I suppose.
#SwiftUI #PDXTransit #SwiftData
Did Duolingo switch to #SwiftUI? It’s literally unusable!
Using #SwiftUI’s UIGestureRecognizerRepresentable and Anchor Preferences, you can build a ButtonStyle that is triggered by a long-press in a parent view in addition to regular taps.
This enables building custom menus like this proof-of-concept that allow triggering an action with a single long press.
Huge, immense shoutout to Antoine van der Lee, the creator of RocketSim. This tool is a must for iOS developers, packing an amazing set of features that makes our developer lives so much better. 🤯🎉
If you haven't used it yet, head over to https://www.rocketsim.app and check it out. Version 13.0.1 just came out with support for Network Speed Control: Test your apps on networks like 3G, Edge, and 100% loss without affecting your Mac's connectivity.
#iOS #iOSDev #Xcode #SwiftUI #Swift #UIKit
The cause of my iPad app becoming fixed size is setting the defaultSize. When I use that, it locks the window to that size. It does not matter if it won't fit the screen or not. This is only on macOS.
If I remove it, then the iPad app can be freely resized on macOS. This doesn't follow the behavior I observed in the past nor does it match what the documentation. https://developer.apple.com/documentation/SwiftUI/Scene/defaultSize(width:height:)
I really only wanted the default for vision pro so I’ll lock it to that OS and report the issue.
@airspeedswift I really love that #Apple continues to push their #Swift effort on #Windows. But they’re are slow. From now we should already have a dev previous for #SwiftUI on Windows… and we are fare from it
Just came up with a surprising number of things I could still add to my #SwiftUI fun project over time if I decide to release it as an app (which I'm leaning toward). Many are things I don't know how to do or even if they are possible. One thing I didn't put on my list was in-app purchases. 🤔
One of my favorite #SwiftUI features in iOS 18. To automatically open configuration when adding a new widget🔥
Movie and TV productions from the community timeline will be displayed as cards
Dev Notes: It's using LazyVStack for best performance.
#NeoDB #iOS #BuildInPublic #SwiftUI
@neodb
#SwiftUI includes several handy symbol effects by default. Just apply the .symbolEffect modifier to your images to bring them to life. You can even combine them with contentTransition, as I did for the first one. Here are some of my favorites:
What do you think about the new @TranslateKit app icon? Version 3.0 is going to be a massive update with everything reimagined to make translations more accurate and convenient – felt like the perfect time for a fresh look! ✨👇
#iOSDev #SwiftUI #Localization #AppIcon #Design
https://mastodon.social/@TranslateKit/113855378554891973
Whether you’re designing a simple app or a complex user interface, colors play a huge role in enhancing the look and feel of your design.
As as #SwiftUI dev, you need to learn all of the different inits for a Color View. Let me help (and surprise) you.
https://youtu.be/w_YjwL3r-ts