eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

201
active users

#swift

11 posts11 participants1 post today
Oberflächenspannung<p><a href="https://chaos.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> </p><p><a href="https://chaos.social/tags/VogelFlausch" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VogelFlausch</span></a> <a href="https://chaos.social/tags/BirdPhotography" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BirdPhotography</span></a> <a href="https://chaos.social/tags/MAuersegler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MAuersegler</span></a></p>
Thomas D.<p>Interesting interview with Chris Lattner, inventor of the Swift language on his new project, the Mojo language: <br><a href="https://signalsandthreads.com/why-ml-needs-a-new-programming-language" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">signalsandthreads.com/why-ml-n</span><span class="invisible">eeds-a-new-programming-language</span></a></p><p><a href="https://mastodontech.de/tags/swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swift</span></a> <a href="https://mastodontech.de/tags/language" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>language</span></a> <a href="https://mastodontech.de/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodontech.de/tags/compiler" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>compiler</span></a></p>
Brendan Thompson<p>Does anyone have any recommendations for <a href="https://mastodon.social/tags/swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swift</span></a> packages for creating CLI apps?</p>
David Bureš<p>It's important to never stop learning, and never stop building. Every project you work on will give you some new skills. For me, those were:</p><p>Countless Terminal apps: Basics of Swift itself<br>Cork: Basics of creating GUI apps and SwiftUI, structured concurrency<br>Mlem: Networking, authentication, credentials management<br>Rizzference: SwiftData<br>My next mini project (TBA soon!): Metatypes and advanced enums</p><p>What did your journey look like? I'd love to hear about it</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/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a></p>
mirsadra<p>- <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> is written in C <br>- <a href="https://mastodon.social/tags/Perl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Perl</span></a> is written in C <br>- <a href="https://mastodon.social/tags/Ruby" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ruby</span></a> is written in C <br>- <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> is written in C <br>- <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> engines started in C, now mostly in C++ <br>- <a href="https://mastodon.social/tags/Go" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Go</span></a> was first in C, now written in Go itself <br>- <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>++ compilers are written in C++ <br>- <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> is built with C++ and Swift (on LLVM in C++) <br>- <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a># runs on .NET, built in C++/C# <br>- <a href="https://mastodon.social/tags/JVM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JVM</span></a> (HotSpot) is written in C++ </p><p>Yet, people still doubt the necessity of learning C!</p>
Bitrig<p>Bitrig builds native Swift apps with just a conversation. And we’d like to tell you how we did it. Meet our Swift to Swift interpreter. <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/BuildInPublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BuildInPublic</span></a> <a href="https://mastodon.social/tags/Bitrig" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bitrig</span></a> <a href="https://www.bitrig.app/blog/swift-interpreter" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">bitrig.app/blog/swift-interpre</span><span class="invisible">ter</span></a></p>
Swift Language<p>Some wonderful contributions coming to <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> from across the world, thanks to <a href="https://mastodon.social/tags/GSOC25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GSOC25</span></a>. Congratulations to Priyambada Roul for her work on improving Swiftly/VSCode integration. More here: <a href="https://forums.swift.org/t/gsoc-2025-bringing-swiftly-support-to-vs-code/81886" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">forums.swift.org/t/gsoc-2025-b</span><span class="invisible">ringing-swiftly-support-to-vs-code/81886</span></a></p>
Digital Mark λ ☕️ 🎃 💀<p>Not news but: Ever since I quit using Xcode and Apple-only languages, unless influenced by large stacks of cash; I have not seen a single thing for them that makes me regret that, and most often I just laugh and laugh at each new tale of woe.</p><p>Xcode: Beachball, fills all HD with simulators, slow-ass, fiddly UI, bad window design. Swift: Worst fiasco of a language ever.</p><p>vs</p><p>Vim: Launches instantly. Scheme: Runs instantly, and close enough to native speed. JavaScript: Sigh.<br><a href="https://appdot.net/tags/xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xcode</span></a> <a href="https://appdot.net/tags/swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swift</span></a></p>
pixelbud<p>Any good resources on learning <a href="https://techbacon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> and SwiftUI? <a href="https://techbacon.social/tags/apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apple</span></a> <a href="https://techbacon.social/tags/mac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mac</span></a> <a href="https://techbacon.social/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a> <a href="https://techbacon.social/tags/appdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>appdev</span></a> <a href="https://techbacon.social/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://techbacon.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://techbacon.social/tags/askfedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>askfedi</span></a> </p><p>I want to learn best practices for creating a new project, storing data, custom UI, and if there are any common patterns.</p>
Crypto News<p>XRPL Validator Responds to SWIFT CIO’s Critique of Ripple - TLDR</p><p>Vet defends XRPL’s decentralized governance model against SWIFT CIO’s critic... - <a href="https://blockonomi.com/xrpl-validator-responds-to-swift-cios-critique-of-ripple/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blockonomi.com/xrpl-validator-</span><span class="invisible">responds-to-swift-cios-critique-of-ripple/</span></a> <a href="https://schleuss.online/tags/xrpledger" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xrpledger</span></a> <a href="https://schleuss.online/tags/finance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>finance</span></a> <a href="https://schleuss.online/tags/swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swift</span></a> <a href="https://schleuss.online/tags/xrpl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xrpl</span></a></p>
Taylor Arndt<p>Interested in iOS development? Our FREE 24-week class on building apps for Apple platforms starts on Sept 25.<br>You'll learn to build apps with Swift and SwiftUI. We meet live on Thursdays at 7 PM CT, and all sessions are recorded so you can learn at your own pace.<br>Ready to start your coding journey? Join us here: <a href="https://classroom.google.com/c/Nzg3MTAwMjAwMjIy?cjc=6nhstavd" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">classroom.google.com/c/Nzg3MTA</span><span class="invisible">wMjAwMjIy?cjc=6nhstavd</span></a><br><a href="https://techopolis.social/tags/iOSDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDevelopment</span></a> <a href="https://techopolis.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://techopolis.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://techopolis.social/tags/AppleDeveloper" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleDeveloper</span></a> <a href="https://techopolis.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://techopolis.social/tags/FreeCourse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeCourse</span></a> <a href="https://techopolis.social/tags/TechEducation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechEducation</span></a></p>
Küppi Ultras<p>Sommerstussverkauf zum Einmachherbst<br>Friedrich @kueppersbuschtv.bsky.social in <span class="h-card" translate="no"><a href="https://mastodon.social/@tazgetroete" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tazgetroete</span></a></span> </p><p><a href="https://mastodon.social/tags/Trump" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Trump</span></a> <a href="https://mastodon.social/tags/Putin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Putin</span></a> <a href="https://mastodon.social/tags/Ukraine" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ukraine</span></a> <a href="https://mastodon.social/tags/Selenski" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Selenski</span></a> <a href="https://mastodon.social/tags/Rainer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Rainer</span></a> <a href="https://mastodon.social/tags/Fleischkonsum" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fleischkonsum</span></a> <a href="https://mastodon.social/tags/GoVegan" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GoVegan</span></a> <a href="https://mastodon.social/tags/Habeck" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Habeck</span></a> <a href="https://mastodon.social/tags/SchwarzRot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SchwarzRot</span></a> <a href="https://mastodon.social/tags/Sozialstaat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sozialstaat</span></a> <a href="https://mastodon.social/tags/A100" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>A100</span></a> <a href="https://mastodon.social/tags/Stau" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Stau</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/TaylorSwift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TaylorSwift</span></a> <a href="https://mastodon.social/tags/Kufen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kufen</span></a> <a href="https://mastodon.social/tags/Klewin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Klewin</span></a> <a href="https://mastodon.social/tags/RWEssen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RWEssen</span></a></p><p><a href="https://youtu.be/rl3RE1E05zk?si=61qW4_aSnS6mA3LY" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">youtu.be/rl3RE1E05zk?si=61qW4_</span><span class="invisible">aSnS6mA3LY</span></a></p>
mirsadra<p>What is the ternary conditional operator in Swift? It's a special operator with three parts, which takes the form "question ? answer1 : answer2." </p><p>They're a compact way to represent a view that changes based on an condition. You can choose whichever style suits you!</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> <a href="https://mastodon.social/tags/Apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apple</span></a> <a href="https://mastodon.social/tags/AppleDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleDev</span></a> <a href="https://mastodon.social/tags/Developers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Developers</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a></p>
Bytes Europe<p>Exclusive | Justin Sun eyes ‘Swift’ system for virtual asset sector, praises Hong Kong crypto progress <a href="https://www.byteseu.com/1335147/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">byteseu.com/1335147/</span><span class="invisible"></span></a> #$TRUMPMemeCoins <a href="https://pubeurope.com/tags/blockchain" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blockchain</span></a> <a href="https://pubeurope.com/tags/BlueOrigin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BlueOrigin</span></a> <a href="https://pubeurope.com/tags/China" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>China</span></a> <a href="https://pubeurope.com/tags/Crypto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Crypto</span></a> <a href="https://pubeurope.com/tags/CryptoCurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CryptoCurrency</span></a> <a href="https://pubeurope.com/tags/DonaldTrump" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DonaldTrump</span></a> <a href="https://pubeurope.com/tags/Dubai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Dubai</span></a> <a href="https://pubeurope.com/tags/Ethereum" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ethereum</span></a> <a href="https://pubeurope.com/tags/HongKong" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HongKong</span></a> <a href="https://pubeurope.com/tags/JeffBezos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JeffBezos</span></a> <a href="https://pubeurope.com/tags/JustinSun" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JustinSun</span></a> <a href="https://pubeurope.com/tags/NASDAQ" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NASDAQ</span></a> <a href="https://pubeurope.com/tags/singapore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>singapore</span></a> <a href="https://pubeurope.com/tags/SocietyForWorldwideInterbankFinancialTelecommunication" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SocietyForWorldwideInterbankFinancialTelecommunication</span></a> <a href="https://pubeurope.com/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://pubeurope.com/tags/Tether" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tether</span></a>(USDT) <a href="https://pubeurope.com/tags/ThePeninsulaHongKong" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ThePeninsulaHongKong</span></a> <a href="https://pubeurope.com/tags/Tron" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tron</span></a> <a href="https://pubeurope.com/tags/WebX2025Conference" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebX2025Conference</span></a></p>
mirsadra<p>The ForEach view uses a closure with a parameter to represent each value from the data set you give it. </p><p>But how to read the closure?</p><p>You might read the syntax -- name in -- as “a name value coming into the closure.”</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> <a href="https://mastodon.social/tags/Code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Code</span></a> <a href="https://mastodon.social/tags/Apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apple</span></a> <a href="https://mastodon.social/tags/AppleDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleDev</span></a> <a href="https://mastodon.social/tags/Developers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Developers</span></a></p>
Cihat Gündüz<p>I just extracted and open-sourced my OpenAI client from <span class="h-card" translate="no"><a href="https://mastodon.social/@TranslateKit" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>TranslateKit</span></a></span> in case somebody is looking for a simple and clean Swift 6 implementation that works both in apps and on server. ☁️</p><p>Check it out: 👇<br><a href="https://github.com/FlineDev/IntelligenceKit" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/FlineDev/Intelligen</span><span class="invisible">ceKit</span></a></p><p> <a href="https://iosdev.space/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> <a href="https://iosdev.space/tags/OpenAI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenAI</span></a> <a href="https://iosdev.space/tags/SwiftLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftLang</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/ServerSide" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ServerSide</span></a> <a href="https://iosdev.space/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p>
mirsadra<p>Now that some people are using the Xcode beta version and talking about the Coding Assistant available, I'd like to share the official GitHub repository of Copilot written for Xcode. </p><p>If you're still using Xcode 16, this is absolutely for you!</p><p><a href="https://github.com/github/CopilotForXcode" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/github/CopilotForXc</span><span class="invisible">ode</span></a><br><a href="https://mastodon.social/tags/GitHub" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GitHub</span></a> <a href="https://mastodon.social/tags/Copilot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Copilot</span></a> <a href="https://mastodon.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</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/AppleDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleDev</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a></p>
aproitz<p>There is just and only one <a href="https://mastodon.social/tags/Word" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Word</span></a> for this <a href="https://mastodon.social/tags/Guy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Guy</span></a>, when you read his Comments: <a href="https://mastodon.social/tags/DICKHEAD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DICKHEAD</span></a> !!! And it looks like Taylor and Travis submit to each other. It's their <a href="https://mastodon.social/tags/Business" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Business</span></a> and no one else's. </p><p><a href="https://mastodon.social/tags/charliekirk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>charliekirk</span></a> <a href="https://mastodon.social/tags/taylorswift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>taylorswift</span></a> <a href="https://mastodon.social/tags/traviskelce" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>traviskelce</span></a></p><p><a href="https://mastodon.social/tags/CharlieKirk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CharlieKirk</span></a> Tells <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a> To 'Submit To Your <a href="https://mastodon.social/tags/Husband" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Husband</span></a>': VIDEO - Comic Sands<br><a href="https://www.comicsands.com/kirk-swift-submit-husband" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">comicsands.com/kirk-swift-subm</span><span class="invisible">it-husband</span></a></p>
mirsadra<p>A SwiftUI tip: When Xcode autocompletes Button(_ title:action:), it gives you Button(&lt;<a href="https://mastodon.social/tags/T" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>T</span></a>#<a href="https://mastodon.social/tags/title" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>title</span></a>: StringProtocol#<a href="https://mastodon.social/tags/StringProtocol" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StringProtocol</span></a>#&gt;, action: &lt;<a href="https://mastodon.social/tags/T" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>T</span></a>##() -&gt; Void#&gt;). </p><p>Fill in your title string, Tab to the action placeholder, then hit Return—it auto-formats to the trailing closure style most devs prefer:</p><p>```<br>Button("Your Title") {<br> &lt;<a href="https://mastodon.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a>#&gt;<br>}<br>```</p><p>Saves time fiddling with syntax! <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/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a> <a href="https://mastodon.social/tags/Apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apple</span></a> <a href="https://mastodon.social/tags/AppleDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleDev</span></a> <a href="https://mastodon.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</span></a> <a href="https://mastodon.social/tags/Swift" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Swift</span></a></p>
mirsadra<p>`numberOfPips` property is marked with the keyword `var`, which means you can assign new values to it. This view is dynamic; you’ll change the value of the property when required.</p><p>When you assign a default value to a structure’s property, it’s not required in the initializer. </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> <a href="https://mastodon.social/tags/Apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Apple</span></a> <a href="https://mastodon.social/tags/AppleDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppleDev</span></a> <a href="https://mastodon.social/tags/Developers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Developers</span></a> <a href="https://mastodon.social/tags/Coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Coding</span></a></p>