I’ve fixed something that was a huge pain for my users on @charty: the Update All Widgets action now works flawlessly!
I’ve fixed something that was a huge pain for my users on @charty: the Update All Widgets action now works flawlessly!
OK, looks like this time zone thing is actually expected behavior, though it was a change made in iOS 18 and macOS 15, thus the different behavior in iOS 17.
https://iosdev.space/@alpennec/114419280706342209
#SwiftUI
And the solution is up for today's "T-Buddy" #SwiftUI final exam, working with the @mbta.com API to access transit data, parse returned JSON, display it in an elegant and responsive UI, and save last line viewed using SwiftData. https://youtu.be/yBwV_LSoSCQ Hack on!
@bwebster I would think that explicitly specifying a timeZone on the FormatStyle should override the environment (as it apparently did), so I'm pretty sure this is an actual #SwiftUI bug.
However, I wouldn't manually do that, but rather adjust the locale or timezone environment anyways. https://mastodon.social/@helge/113913529886141300
So apparently trying to use SwiftUI's Text element with a Date.FormatStyle that uses a time zone is broken on macOS 15 and iOS 18.
Here's the same code running on iOS 18 and iOS 17. Am I missing something here or is this just plain broken? #SwiftUI
#SwiftUI doesn't actually have gridCellRows (aka rowspan), only gridCellColumns (aka colspan)?
It took me quite a while to implement that
Hackers on their "First-Shot Final Exam". Use the MBTA API to build "T-Buddy". JSON Parsing, SwiftData, lots of UI & Custom Data Structures. The last in-class challenge of our Zero to Full Stack Semester of #SwiftUI Hiring junior devs? Send your info my way & I'll pass it on.
Revolutionizing iOS Development: Meet Compot 2.0, Your AI-Powered SwiftUI Assistant
In the fast-evolving world of iOS app development, Compot 2.0 emerges as a game-changer. This innovative tool leverages AI to streamline the coding process, enabling developers to generate SwiftUI cod...
Cork version 1.5.4 is out.
This update includes a lot of small and big fixes, along with UX improvements.
Read the changelog: https://open.substack.com/pub/corkapp/p/cork-154-out-small-fixes?r=2vioyx&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true
#SwiftUI Views that extend into the safe area insets usually need to be up against them to do so. If you apply an offset effect, that can lead to annoying discontinuities.
Use https://developer.apple.com/documentation/swiftui/geometryeffect/ignoredbylayout%28%29 to have the offset only apply to the rendered output, preserving the extension into the safe area.
I'm re-doing my transit app for macOS using #SwiftUI (again) with the new TabView API announced last year. Basically re-using what I did for iOS/iPadOS... but here's one frustrating thing I learned...
On iPadOS/iOS, switching between the sidebar items remain after you’ve navigated away. This way, when you come back, they don’t re-initialize.
This is not the case on macOS... The re-initialize every time you come back and so you'll lose scroll positions, map view movements, etc. *sigh*
You’ve used .transition — but have you mastered .contentTransition?
Get smoother text, symbols, and image updates in SwiftUI.
Catch the tutorial here https://youtu.be/ByKmfwrclRA
#SwiftUI #iOSDev
Been trying to say this for a while now - there has been a lack of pride in Apple’s platforms lately. SwiftUI is 5 years old soon, and still struggles with things you can do in 17-year-old UIKit or 30-year-old AppKit with ease. I regularly run into blatant bugs in iOS 18/macOS 15. Of course this turns devs towards the web.
https://mjtsai.com/blog/2025/04/25/is-electron-really-that-bad/
The past 2 wks after a big update and some social media post taking off, my app has had a growth spurt.
Downloads up 50+%
Trials up 300%
Usage up over 100%
It really amazing ….however this near air I’m in has introduced my app to some “whale” users.
Someone has been using my app for 2 days nearly & has more searches than all users for the past 2 weeks. Cost me $100 just in API fees. So now I have to add even more restrictions that I had until now, avoided. #indiedev #SwiftUI #apps
Observing app lifecycle is crucial for many apps, and in my new blog post I show how to do so purely in SwiftUI using just an environment value. Quick read, valuable information to learn, great for a weekend read!
https://serialcoder.dev/text-tutorials/swiftui/handling-app-lifecycle-in-swiftui-with-scenephase/