mastodon.uno è uno dei tanti server Mastodon indipendenti che puoi usare per partecipare al fediverso.
Mastodon.Uno è la principale comunità mastodon italiana. Con 77.000 iscritti è il più grande nodo Mastodon italiano: anima ambientalista a supporto della privacy e del mondo Open Source.

Statistiche del server:

6,2K
utenti attivi

#swiftui

733 post54 partecipanti3 post oggi
Jeremy Barr<p>I'm rebuilding the classic TI calculator game Drug Wars for iOS. Modernizing it while still keeping the same game many grew up playing. If I posted to TestFlight are people interested in testing it? <a href="https://mstdn.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> <a href="https://mstdn.social/tags/swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swift</span></a> <a href="https://mstdn.social/tags/iosdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iosdev</span></a> <a href="https://mstdn.social/tags/IndieDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IndieDev</span></a></p>
Morgan Zellers<p>Looking to stay limber at your desk? </p><p>I’m launching the TestFlight soon! Join the list in the replies!<br><a href="https://iosdev.space/tags/swiftui" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swiftui</span></a> <a href="https://iosdev.space/tags/swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swift</span></a> <a href="https://iosdev.space/tags/iosdev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iosdev</span></a> <a href="https://iosdev.space/tags/indiedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>indiedev</span></a> <a href="https://iosdev.space/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BuildInPublic</span></a></p>
Emory Dunn :tiny_cart:<p>Fixed* this by tracking a parent view's visibility, which I was already doing, and just conditionally showing the NSViewRep based on the overall visibility. Forces SwiftUI to throw out the whole thing and recreate it as needed. </p><p><a href="https://mastodon.tinycart.club/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a></p>
gallaugher<p>This week’s winner of the “My Mac Builds Apps” sticker is from the Land of Lakes! Want one? Bsky post what you’ve built from <a href="https://bit.ly/prof-g-swiftui" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">bit.ly/prof-g-swiftui</span><span class="invisible"></span></a> with the hashtag <a href="https://mastodon.world/tags/BuiltWithProfG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BuiltWithProfG</span></a>. Hacking worldwide from Chestnut Hill to the World. <a href="https://mastodon.world/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> for the goodness! And <a href="https://mastodon.world/tags/STEM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>STEM</span></a> educators - I’m available to run professional development bootcamps to bring your team up to speed on SwiftUI, complete with curricula and best practice ideas. Code on!</p>
Florian<p>I often wonder when using Apple’s own apps: How was this built using native <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> elements and modifiers I may not even know yet?</p><p>Is there a visual-driven library to explore native SwiftUI elements and modifiers? If not – should I build one?</p><p><a href="https://mastodon.social/tags/iOSDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOSDev</span></a></p>
Manuel Kehl<p>Quick demo of a new feature I’m working on for <span class="h-card" translate="no"><a href="https://indieapps.space/@zenitizer" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>zenitizer</span></a></span> 🍿 </p><p>Needs some more polish and a few fixes but I got a working prototype ready for beta testing on <a href="https://iosdev.space/tags/TestFlight" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TestFlight</span></a> soon - DM/email me and I can add you to the group 😉 </p><p><a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> <a href="https://iosdev.space/tags/demo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>demo</span></a> <a href="https://iosdev.space/tags/meditation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>meditation</span></a> <a href="https://iosdev.space/tags/indiedev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>indiedev</span></a></p>
Cihat Gündüz<p>If you are starting a new project soon, or want to finally adopt modern Apple APIs, you should check out this article that has all the right links to give you the data you need to decide which minimum deployment target you should choose! <a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> <a href="https://iosdev.space/tags/Xcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Xcode</span></a> <a href="https://iosdev.space/tags/IndieDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>IndieDev</span></a></p><p>👇👇📊</p><p>From: <span class="h-card" translate="no"><a href="https://social.telemetrydeck.com/@telemetrydeck" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>telemetrydeck</span></a></span><br><a href="https://social.telemetrydeck.com/@telemetrydeck/114422836909147174" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">social.telemetrydeck.com/@tele</span><span class="invisible">metrydeck/114422836909147174</span></a></p>
robb<p>I'm publishing Redline, my visualization library for <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> that helps to debug layouts by visualizing positions, sizes, spacings and alignment guides: <a href="https://github.com/robb/Redline" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/robb/Redline</span><span class="invisible"></span></a></p>
David Bureš<p>For more context, I have already tried excluding the `version` property from hashing. This makes the version not get picked up at all, it's always nil.</p><p>I have also tried various other data structures and bindings, but they always ran into SwiftUI limitations, and the resulting code was ugly, so I ended up with this solution that at least somewhat worked.</p><p><a href="https://mstdn.social/tags/swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swift</span></a> <a href="https://mstdn.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a></p>
David Bureš<p>I need some SwiftUI assistance.</p><p>I'm trying to implement a pretty complex List selection for Cork. I want to one able to select a row, and in some rows, select an additional version for the selected row.</p><p>I tried a few different options, but I settled on this implementation:<br><a href="https://shorturl.at/m3Tuf" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">shorturl.at/m3Tuf</span><span class="invisible"></span></a><br><a href="https://shorturl.at/owBrO" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">shorturl.at/owBrO</span><span class="invisible"></span></a><br><a href="https://shorturl.at/X2sMa" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">shorturl.at/X2sMa</span><span class="invisible"></span></a></p><p>The problem is, when you change the selected version, the row gets un-selected until you click it again. Check out the video</p><p><a href="https://mstdn.social/tags/swift" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>swift</span></a> <a href="https://mstdn.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a></p>
Emory Dunn :tiny_cart:<p>I’ve got a SwiftUI Window (not group) showing an MTKView inside a NSViewRepresentable, but when I dismiss and then open the window again the Metal view is stuck and I can't seem to get it playing again. </p><p>From the logs it looks like all of the views are only created once the Metal view isn't being deinitialized, nor is dismantleNSView() being called. </p><p>It seems maybe the Metal view doesn't like being hidden like that?</p><p><a href="https://mastodon.tinycart.club/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a></p>
Rodrigo Araújo<p>I’ve fixed something that was a huge pain for my users on <span class="h-card" translate="no"><a href="https://indieapps.space/@charty" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>charty</span></a></span>: the Update All Widgets action now works flawlessly!</p><p><a href="https://mastodon.social/tags/iOSDev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOSDev</span></a> <a href="https://mastodon.social/tags/SwiftUi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUi</span></a> <a href="https://mastodon.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BuildInPublic</span></a></p>
Brian Webster<p>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.<br><a href="https://iosdev.space/@alpennec/114419280706342209" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">iosdev.space/@alpennec/1144192</span><span class="invisible">80706342209</span></a><br> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a></p>
gallaugher<p>And the solution is up for today's "T-Buddy" <a href="https://mastodon.world/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> 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. <a href="https://youtu.be/yBwV_LSoSCQ" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/yBwV_LSoSCQ</span><span class="invisible"></span></a> Hack on!</p>
Helge Heß<p><span class="h-card" translate="no"><a href="https://mastodon.social/@bwebster" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>bwebster</span></a></span> 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 <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> bug.<br>However, I wouldn't manually do that, but rather adjust the locale or timezone environment anyways. <a href="https://mastodon.social/@helge/113913529886141300" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.social/@helge/1139135</span><span class="invisible">29886141300</span></a></p>
Brian Webster<p>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. 🤦‍♂️</p><p>Here's the same code running on iOS 18 and iOS 17. Am I missing something here or is this just plain broken? <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a></p>
Helge Heß<p><a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> doesn't actually have gridCellRows (aka rowspan), only gridCellColumns (aka colspan)?<br>It took me quite a while to implement that 🙈</p>
gallaugher<p>Hackers on their "First-Shot Final Exam". Use the MBTA API to build "T-Buddy". JSON Parsing, SwiftData, lots of UI &amp; Custom Data Structures. The last in-class challenge of our Zero to Full Stack Semester of <a href="https://mastodon.world/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> Hiring junior devs? Send your info my way &amp; I'll pass it on.</p>
Mario Guzmán<p>Jesus Christ... making commands for macOS/iPadOS apps with <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> is just beyond annoying/difficult. <a href="https://mastodon.social/tags/AppKit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AppKit</span></a> was far easier to implement systemwide commands or commands that were active only in your current context. :(</p>
LavX News<p>Revolutionizing iOS Development: Meet Compot 2.0, Your AI-Powered SwiftUI Assistant</p><p>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...</p><p><a href="https://news.lavx.hu/article/revolutionizing-ios-development-meet-compot-2-0-your-ai-powered-swiftui-assistant" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">news.lavx.hu/article/revolutio</span><span class="invisible">nizing-ios-development-meet-compot-2-0-your-ai-powered-swiftui-assistant</span></a></p><p><a href="https://mastodon.cloud/tags/news" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>news</span></a> <a href="https://mastodon.cloud/tags/tech" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tech</span></a> <a href="https://mastodon.cloud/tags/AICoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AICoding</span></a> <a href="https://mastodon.cloud/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.cloud/tags/iOSDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>iOSDevelopment</span></a></p>