mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.4K
active users

#swiftui

71 posts52 participants8 posts today
Nico Reese<p>I mean, yeah, you *can* do that, but why Apple? <a href="https://mastodon.social/tags/UIKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UIKit</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
ꜰᴀʙɪᴏ :xcode:<p><span class="h-card" translate="no"><a href="https://mastodon.world/@jonduenas" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jonduenas</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@nicoreese" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nicoreese</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@weetwo" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>weetwo</span></a></span> </p><p>Mmm… I saw better. They use a menu, but in any case, It’s possible the key is that they use -&gt; Label("etc", systemImage: "line.horizontal.3.decrease")</p><p>try with:</p><p>ToolbarItem(placement: .topBarTrailing) {<br> Toggle(isOn: $somethingToEnabled) {<br> Label("etc", systemImage: "line.horizontal.3.decrease")<br> .labelStyle(.iconOnly)<br> }<br>}</p><p>It looks more like a circle</p><p><a href="https://iosdev.space/tags/iOS26" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS26</span></a> <a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
Nico Reese<p>Is there a nice way to get this vibrant text color like Apple is doing in the new Games app? It seems to adapt dynamically to the background as you scroll. <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
ꜰᴀʙɪᴏ :xcode:<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nicoreese" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nicoreese</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.world/@jonduenas" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jonduenas</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@weetwo" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>weetwo</span></a></span></p><p>Because it's a toggle. Try with:</p><p>.toolbar {<br> ToolbarItem(placement: .topBarTrailing) {<br> Toggle(isOn: $somethingToEnabled) {<br> Image(systemName:"line.horizontal.3.decrease")<br> .fontDesign(.rounded)<br> .fontWeight(.bold)<br> .foregroundStyle(.yellow)<br> }<br> }<br>}</p><p><a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/iOS26" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS26</span></a></p>
David Bureš<p>Coming in the next Cork version: Previewing packages across the whole app, including in the list of packages in Tap details</p><p><a href="https://mstdn.social/tags/swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swift</span></a> <a href="https://mstdn.social/tags/swiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swiftUI</span></a> <a href="https://mstdn.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://mstdn.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://mstdn.social/tags/buildinpublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>buildinpublic</span></a> <a href="https://mstdn.social/tags/macdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macdev</span></a> <a href="https://mstdn.social/tags/homebrew" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homebrew</span></a> <a href="https://mstdn.social/tags/CorkApp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CorkApp</span></a></p>
Dimitri Bouniol<p>Made some minor improvements to the label icons from yesterday, notably hinting each letter so they are readable at super small sizes. Tomorrow let's add them to the web. See you then!</p><p>🔜 Tomorrow’s stream: <a href="https://youtube.com/live/pB99EO-DUIg" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtube.com/live/pB99EO-DUIg</span><span class="invisible"></span></a><br>⏮️ Playlist so far: <a href="https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/playlist?list=PLRx</span><span class="invisible">jf93xotuofCtaxtGOcWeuxVZYJyY-m</span></a><br>📲 Download Jiiiii: <a href="https://apps.apple.com/app/apple-store/id6472801548?pt=14724&amp;ct=MastodonCCStreams&amp;mt=8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apps.apple.com/app/apple-store</span><span class="invisible">/id6472801548?pt=14724&amp;ct=MastodonCCStreams&amp;mt=8</span></a></p><p><a href="https://mastodon.social/tags/Jiiiii" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jiiiii</span></a> <a href="https://mastodon.social/tags/DevStream" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevStream</span></a> <a href="https://mastodon.social/tags/tvOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tvOS</span></a> <a href="https://mastodon.social/tags/visionOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visionOS</span></a> <a href="https://mastodon.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://mastodon.social/tags/iOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS</span></a> <a href="https://mastodon.social/tags/iPadOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iPadOS</span></a> <a href="https://mastodon.social/tags/Anime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Anime</span></a> <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/Vapor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vapor</span></a> <a href="https://mastodon.social/tags/WebAuthn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAuthn</span></a> <a href="https://mastodon.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BuildInPublic</span></a> <a href="https://mastodon.social/tags/TestFlight" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TestFlight</span></a> <a href="https://mastodon.social/tags/PWA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PWA</span></a> <a href="https://mastodon.social/tags/WebPush" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPush</span></a></p>
Dimitri Bouniol<p>I'm making a seasonal anime guide app, in the open for all to experience and learn from.</p><p>Short stream, but let's take one more pass at yesterday's icons!</p><p><a href="https://mastodon.social/tags/Jiiiii" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jiiiii</span></a> <a href="https://mastodon.social/tags/DevStream" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevStream</span></a> <a href="https://mastodon.social/tags/tvOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tvOS</span></a> <a href="https://mastodon.social/tags/visionOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visionOS</span></a> <a href="https://mastodon.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://mastodon.social/tags/iOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS</span></a> <a href="https://mastodon.social/tags/iPadOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iPadOS</span></a> <a href="https://mastodon.social/tags/Anime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Anime</span></a> <a href="https://mastodon.social/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftLang</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/Vapor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vapor</span></a> <a href="https://mastodon.social/tags/WebAuthn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAuthn</span></a> <a href="https://mastodon.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BuildInPublic</span></a> <a href="https://mastodon.social/tags/TestFlight" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TestFlight</span></a> <a href="https://mastodon.social/tags/PWA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PWA</span></a> <a href="https://mastodon.social/tags/WebPush" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPush</span></a></p><p>Come chill with me: <a href="https://youtube.com/live/01s6PDIb8BU" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtube.com/live/01s6PDIb8BU</span><span class="invisible"></span></a></p>
Filip Němeček<p>Dealing with another crazy <a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> bug... Dismissing sheet/fullScreenCover works only the second (!) time. The close button registers both taps but only the second causes the screen to dismiss.</p><p>I tried the sheet(item variant, bunch of other stuff and still the same 😩 </p><p><a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a></p>
Taylor Arndt<p>iOS devs: do you really need that custom control?<br>I keep seeing custom sliders, buttons, and form fields in audits—often not accessible. Native UIKit and SwiftUI components support VoiceOver, manage focus, and evolve with iOS.<br>So why reinvent the wheel?<br>When do you go custom—and how do you make sure it’s accessible?<br><a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://iosdev.space/tags/UIKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UIKit</span></a> <a href="https://iosdev.space/tags/Accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Accessibility</span></a> <a href="https://iosdev.space/tags/A11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>A11y</span></a> <a href="https://iosdev.space/tags/InclusiveDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InclusiveDesign</span></a> <a href="https://iosdev.space/tags/MobileDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MobileDev</span></a></p>
gallaugher<p>Swipe right for <a href="https://mastodon.world/tags/Swift" class="mention hashtag" rel="tag">#<span>Swift</span></a> :) As a happily married man I don’t wear this in public, but the kind folks from the Tinder iOS group gave me all their left-over SWAG after SwiftBoston several yrs ago. I’ve been giving these to students as “best app” rewards for <a href="https://mastodon.world/tags/SwiftUI" class="mention hashtag" rel="tag">#<span>SwiftUI</span></a> class. Also we need SwiftBoston again! I bet we could run this at Boston College, which would be super fun and could pull in the local tech teams and college students. Likely need to be summer tho.</p>
Christian Tietze<p>"With AI, we don't need senior devs, meh"</p><p>It easily took me a decade to know and think of workarounds like these on a whim: how to forward scroll wheel events in an NSViewRepresentable in <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> without also swallowing all clicks.</p>
Uhl Albert<p>PSA for <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> devs: Conditional row animations inside a Form are broken in <a href="https://mastodon.social/tags/iOS26" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS26</span></a>.</p><p>Wasted way too much time trying to get an animation to work—only to find it works perfectly in iOS 18. 🤦</p><p>Feedback filed: FB18870294</p>
David Bureš<p>Guess what's coming to Cork</p><p><a href="https://mstdn.social/tags/swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swift</span></a> <a href="https://mstdn.social/tags/swiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swiftUI</span></a> <a href="https://mstdn.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://mstdn.social/tags/opensource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>opensource</span></a> <a href="https://mstdn.social/tags/buildinpublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>buildinpublic</span></a> <a href="https://mstdn.social/tags/macdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macdev</span></a> <a href="https://mstdn.social/tags/homebrew" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>homebrew</span></a> <a href="https://mstdn.social/tags/CorkApp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CorkApp</span></a></p>
Dimitri Bouniol<p>Made some new icons for dub and sub labels today, but they don't look as great as I thought would in the app. Tomorrow let's take another pass at the hinting, colors, and shadings to see if we can fix it. See you then!</p><p>🔜 Tomorrow’s stream: <a href="https://youtube.com/live/01s6PDIb8BU" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtube.com/live/01s6PDIb8BU</span><span class="invisible"></span></a><br>⏮️ Playlist so far: <a href="https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/playlist?list=PLRx</span><span class="invisible">jf93xotuofCtaxtGOcWeuxVZYJyY-m</span></a><br>📲 Download Jiiiii: <a href="https://apps.apple.com/app/apple-store/id6472801548?pt=14724&amp;ct=MastodonCCStreams&amp;mt=8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apps.apple.com/app/apple-store</span><span class="invisible">/id6472801548?pt=14724&amp;ct=MastodonCCStreams&amp;mt=8</span></a></p><p><a href="https://mastodon.social/tags/Jiiiii" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jiiiii</span></a> <a href="https://mastodon.social/tags/DevStream" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevStream</span></a> <a href="https://mastodon.social/tags/tvOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tvOS</span></a> <a href="https://mastodon.social/tags/visionOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visionOS</span></a> <a href="https://mastodon.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://mastodon.social/tags/iOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS</span></a> <a href="https://mastodon.social/tags/iPadOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iPadOS</span></a> <a href="https://mastodon.social/tags/Anime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Anime</span></a> <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/Vapor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vapor</span></a> <a href="https://mastodon.social/tags/WebAuthn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAuthn</span></a> <a href="https://mastodon.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BuildInPublic</span></a> <a href="https://mastodon.social/tags/TestFlight" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TestFlight</span></a> <a href="https://mastodon.social/tags/PWA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PWA</span></a> <a href="https://mastodon.social/tags/WebPush" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPush</span></a></p>
Dimitri Bouniol<p>I'm making a seasonal anime guide app, in the open for all to experience and learn from.</p><p>Let's do a bit more icon design, then jump into adding flags on the web!</p><p><a href="https://mastodon.social/tags/Jiiiii" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Jiiiii</span></a> <a href="https://mastodon.social/tags/DevStream" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevStream</span></a> <a href="https://mastodon.social/tags/tvOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tvOS</span></a> <a href="https://mastodon.social/tags/visionOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>visionOS</span></a> <a href="https://mastodon.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> <a href="https://mastodon.social/tags/iOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS</span></a> <a href="https://mastodon.social/tags/iPadOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iPadOS</span></a> <a href="https://mastodon.social/tags/Anime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Anime</span></a> <a href="https://mastodon.social/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftLang</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/Vapor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vapor</span></a> <a href="https://mastodon.social/tags/WebAuthn" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebAuthn</span></a> <a href="https://mastodon.social/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BuildInPublic</span></a> <a href="https://mastodon.social/tags/TestFlight" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TestFlight</span></a> <a href="https://mastodon.social/tags/PWA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PWA</span></a> <a href="https://mastodon.social/tags/WebPush" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebPush</span></a></p><p>Come chill with me: <a href="https://youtube.com/live/s8ynKdUQlX8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtube.com/live/s8ynKdUQlX8</span><span class="invisible"></span></a></p>
:rss: DevelopersIO<p>【WWDC25】 セッションメモ 「Meet the Foundation Models framework」 でAppleのオンデバイスLLMについて学ぶ<br><a href="https://dev.classmethod.jp/articles/wwdc25-meet-the-foundation-models-framework-apple-llm/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dev.classmethod.jp/articles/ww</span><span class="invisible">dc25-meet-the-foundation-models-framework-apple-llm/</span></a></p><p><a href="https://rss-mstdn.studiofreesia.com/tags/dev_classmethod" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev_classmethod</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/iOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOS</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apple</span></a></p>
Daniel Saidi<p>Breaking up SwiftUIKit into smaller packages and creating a company-specific package for things that should be the same across apps, has been a fun challenge. SwiftUIKit is now way smaller, KankodaKit only pulls in what's needed for the app foundation, and each app can add more packages as needed. </p><p><a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>
Romain<p><span class="h-card" translate="no"><a href="https://mastodon.social/@piotrekjeremicz" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>piotrekjeremicz</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@commitphotos" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>commitphotos</span></a></span> Once I had a bug I could not figure out in my SwiftUI app. I duplicated the part of the code in a new project and it worked flawlessly.</p><p>Turned out I forgot a @State on a model in one of the view. In the demo project the view was not redrawn hence the code worked, whereas in my app the view was part of a hierarchy that got redrawn and the state not kept.</p><p>Sometimes <a href="https://mamot.fr/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> is very finicky.</p>
Piotrek Jeremicz<p><a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> is wonderful when everything works. But if not...</p><p>I've created a sample app to identify a bug in my original code and have reached a point where almost everything is similar.</p><p>It works in the sample app, but it doesn't in <span class="h-card" translate="no"><a href="https://mastodon.social/@commitphotos" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>commitphotos</span></a></span>... It's going to be a long day...</p>
John Blackburn<p>Rope-swing animation frame extraction complete. 13 unique frames but four appear elsewhere in the sequence. About 180 clock ticks in all to traverse both ropes. </p><p>Animating these along with the ropes will be an interesting challenge because the player frame-top must sync to the rope frame-bottom. <a href="https://mastodon.gamedev.place/tags/swiftui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swiftui</span></a> <a href="https://mastodon.gamedev.place/tags/1bit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>1bit</span></a></p>