#swiftui

25 posts · Last used 5d

Back to Timeline
Natalia Panferova @natpanferova@mastodon.social · 5d ago
SwiftUI introduced a range of new toolbar customization APIs in iOS 27. They give us more control over how toolbars adapt as apps become resizable and appear in more contexts. I explored all the new additions, with examples showing how each one works: https://nilcoalescing.com/blog/AdaptiveSwiftUIToolbarsInIOS27/ #iOSDev #SwiftUI
1
0
3
Emad @emadbeyrami@mastodon.social · Aug 01, 2026
Supporting multiple iOS versions in SwiftUI doesn’t have to mean duplicating views. I wrote about a few patterns I use to keep compatibility code clean from conditional modifiers to a .backport namespace. 📖 https://dev.to/emadbeyrami/supporting-multiple-ios-versions-in-swiftui-without-turning-your-views-into-a-mess-52oc #SwiftUI #Swift #iosdev #iosdevelopment #Apple
1
0
2
Aleahim @ameahim@mastodon.social · Aug 01, 2026
The first issue of a new newsletter, Apple UI Insider, is out: a field guide to Apple's UI rendering stack, Core Graphics, Core Text, Core Image, Core Animation, and SwiftUI. Every picture in it is drawn twice, once by my clean-room renderer, once by Apple's own frameworks, with the differences measured and published. That check caught a real bug: two renders disagreeing by 3.9%, traced to one coordinate flip, fixed to 0.07%. #SwiftUI #AppleDev https://aleahim.com/blog/apple-ui-insider/
3
0
2
Snapp iOS Weekly @ios_newsletter_snapp@mastodon.social · Jul 29, 2026
Stop thinking of SwiftUI as a view tree; it's a demand-driven attribute graph. Once you realize it's just a giant set of rules and cached values, the "magic" of State and identity actually makes sense. 🔗: https://aleahim.com/blog/swiftui-is-one-graph/ by Mihaela Jakić #iOSDev #SwiftUI
2
0
1
Undolog @undolog@hachyderm.io · Jul 28, 2026
Boosted by Welcoming committee @welcome@friends.deko.cloud
👋 #introduction I'm John — Italian Lead Developer on the Cloud team at @namecheap, based in Rome. I build developer tools, UI components and macOS apps: from Z-80 Assembly on the Commodore 64 to SwiftUI and Go today. Coding since 1983 and still in love with it. Creator of WP Bones, Mantine Extensions, FinderGit, Netfox and octoscope. Here I'll post about #SwiftUI #React #Go #macOS #WordPress and a healthy dose of #Amiga nostalgia. 🔗 gfazioli.github.io
0
0
1
technicat @technicat@iosdev.space · Jul 22, 2026
Boosted by fedicat @fedicat@pc.cafe
0
0
2
Mohammad Azam @azamsharp@iosdev.space · Jul 19, 2026
I recently launched http://SwiftUIArchitecture.com Over the years, I've come across many excellent articles, WWDC sessions, videos, books, and open source projects about SwiftUI architecture. Instead of letting those resources get lost, I wanted to put them all in one place. The site is a curated collection of high-quality SwiftUI architecture resources that I personally recommend. I'll continue adding new resources as I discover them. I hope you find it useful. #SwiftUI #iOSDev #AppleDev
1
0
1
Emre @aemre@mastodon.social · Jul 20, 2026
Are conditional view modifiers a good idea in SwiftUI? Short interview question. Long answer. Apple’s Xcode 27 swiftui-expert-skill and objc.io both point the same way. I wrote the answer I’d give in the interview with real world examples: https://emredegirmenci.substack.com/p/are-conditional-view-modifiers-a #swiftlang #iosdev #swiftui
3
0
1
Gary Ismay @goodbinary@mastodonapp.uk · Jul 15, 2026
In between work on a new app, I submitted an update to SoloTime that addresses some bugs and makes invoices with no projects more sensible #indiedev #business #b2b #swiftui
1
0
1
Graham @ghalldev@mastodon.social · Jul 16, 2026
Building Groove has taught me a lot about mobile app design and SwiftUI. It’s been fun to iterate and improve the look and feel over the last few months, addressing feedback as well as pain points I’ve come across using it myself every day. The next update is, I think, the best looking version so far. I’ll need to redo 1 or 2 screenshots for the App Store though and I’m dreading that. 😭 #swiftui
1
1
1
Ricky Witherspoon @rwitherspoon@mastodon.social · Jul 16, 2026
#swiftui never got an update to make TimelineProvider more async friendly and it's not coming with #Xcode27, so I finally got around to making my own incredibly lightweight wrapper. Feel free to checkout and use AsyncTimelineProvider. https://github.com/Rspoon3/AsyncTimelineProvider #iosdev #ios #swift
1
0
2
Ziga Dolar @zigadolar@mastodon.online · Jul 15, 2026
Launch day for Dashlet has come - it is now available for download, and, at least for now, pre-orders seem like a good way to go - though even with a longer lead time would've been better. (1/3) #buildInPublic #dev #swift #swiftUI #iOS
0
0
2
Natalia Panferova @natpanferova@mastodon.social · Jul 13, 2026
When storing custom values in properties of an @Observable, it’s recommended to make them Equatable to minimize SwiftUI view updates. I’ve just published a post looking at how @Observable handles equal assignments and why Equatable conformance matters: https://nilcoalescing.com/blog/EquatablePropertiesInObservableClasses/ #SwiftUI #iOSDev
13
0
5
robb ‮ @dlx@mastodon.social · Jul 06, 2026
I wish Swift had a way to explicitly shadow certain type names from frameworks. #SwiftUI claims names List, Table (and now Documents as of iOS 27 beta 2) for types that we never use so we end up prefixing every with Linear all the time.
0
1
0
Nico Reese @nicoreese@mastodon.social · Jul 03, 2026
I've once again taken the time to write down my thoughts—this time on the Liquid Glass changes in Apple’s 2027 releases. Join me on a journey through the great, the good, and the curious. While macOS looks better than ever, iOS 27 feels like a significant step backwards, looking flatter than last year. I also dive into what HDR has to do with it and explore the other design changes Apple made. https://gamery.app/blog/liquid-glass/ #SwiftUI #UIKit #iOS #macOS #WWDC #Apple #Design #BuildInPublic #Swift
22
0
8
obrhoff @obrhoff@mastodon.social · Apr 27, 2026
I went with this approach to the new TabBar which kinda got a bit inspired by Tidal. #iosdev #buildinpublic #swiftui #liquidglass #hatersgonnahate
18
26
0
Natalia Panferova @natpanferova@mastodon.social · Apr 26, 2026
Boosted by AssertionError("Joe Groff") @joe@f.duriansoftware.com

SwiftUI's List is only lazy when SwiftUI can determine how many views a ForEach element resolves to without evaluating the closure.

Two common patterns prevent this:

  • Using an if statement inside ForEach
  • Wrapping rows in AnyView

In both cases, SwiftUI evaluates the ForEach closure for every element before any rows are displayed.

You can learn more in the free sample chapter of my book "The SwiftUI Way": https://books.nilcoalescing.com/the-swiftui-way/building-a-performant-and-stable-interface/maximizing-the-performance-of-dynamic-lists/

#SwiftUI #iOSDev

50
0
16
Gregatron5 @gregatron5@vmst.io · Mar 09, 2026
Any #iOS or #mac devs have a good resource for #SwiftUI #TDD? I think I'm OK on straight Swift testing. I'm specifically looking for reading up on SwiftUI testing.
0
1
1
Gregatron5 @gregatron5@vmst.io · Feb 12, 2026
Due to @MonaApp@mastodon.social never clearing the “iCloud Position Restored" button at the bottom of the app, I have inadvertently discovered a way to get decent shadows in modern macOS: just stack a dozen identical views on top of each other! #SwiftUI #LiquidGlass
2
1
0