ctietze, to swift
@ctietze@mastodon.social avatar

Which way using result builders would you use to express emptiness of the builder block result?

https://github.com/CleanCocoa/DeclarativeTextKit/issues/9

I do have an Identity type that's somewhat like EmptyView in SwiftUI.

Maybe the question is misguided and the actual problem is not that I should check whether the block is a no-op, but instead not perform effects in evaluation of blocks. 🤔

marcel, to swift German
@marcel@mastodon.social avatar

Adding a new SwiftData Model to my app makes it crash hard without any noticeable error message when trying to create an object with it. It's so frustrating. I don't know why.

Any ideas?

br00t4c, to Colorado
@br00t4c@mastodon.social avatar

Colorado Republican party chair told to 'step down' after 'God Hates Pride' email

#colorado #swift

https://www.theguardian.com/us-news/article/2024/jun/07/colorado-republican-chair-dave-williams-pride-month

gregorni, to GNOME
@gregorni@fosstodon.org avatar

Are there any users of Adwaita-Swift by @david_swift? I'd like to chat a bit about the what the developer experience is like using those bindings. Feel free to DM me on Matrix!

#AdwaitaSwift #Adwaita #Gtk #Gtk4 #libadwaita #GNOME #Swift #Swiftlang

br00t4c, to conservative
@br00t4c@mastodon.social avatar

A New Novel Explores How to Develop Black Identity in the Absence of Black Culture

#culture #swift

https://www.thenation.com/article/culture/essie-chambers-swift-river-novel/#respond

br00t4c, to swift
@br00t4c@mastodon.social avatar

Taylor Swift Backs Up Lady Gaga Amid "Invasive and Irresponsible" Pregnancy Speculation

#swift #taylorswift

https://www.vanityfair.com/style/story/taylor-swift-lady-gaga-pregnancy-speculation

davidbures, to swift
@davidbures@mstdn.social avatar

Folks, have you had any success in merging the new Strings catalog in Xcode 15?

A nice contributor translated Cork into Spanish. Unfortunately, they didn’t use the correct branch. The main branch had a few changes to the Strings catalog.

Now I have 500 unresolvable merge conflicts.

What can I do? 😢

younata, to swift
@younata@hachyderm.io avatar

I tested the advice that marking classes in as final improves build times. I generated 2 swift files that each have 1000 (trivial) classes: one with each marked as final, the other without. I built each file 10 times, recording the build time for that file.

Marking classes as final does improve build times. By about 7%. The difference is just outside 1 standard deviation, so I think it’s statistically significant. But I’m not a trained statistician.

I used Xcode 15.2/swift 5.9 for this.

br00t4c, to swift
@br00t4c@mastodon.social avatar
ramzesenok, to swift
@ramzesenok@mastodon.social avatar

This is a really good article #Swift’s Structured Concurrency. Even if you know most of it, it’s still a great read to refresh concepts in memory:
https://swiftonserver.com/getting-started-with-structured-concurrency-in-swift/

davidbures, to swift
@davidbures@mstdn.social avatar

OH MY GOD I CAN'T BELIEVE I FINALLY FIGURED IT OUT!! The next Cork release will be fucking EPIC

(Cork now supports packages that require sudo during install/uninstall)

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

A demo showing new support for packages requiring sudo in Cork

jonathantrott,
@jonathantrott@mastodon.au avatar

@davidbures Seems to have got stuck afterwards though....

davidbures,
@davidbures@mstdn.social avatar

@jonathantrott That strange, did you try any other package? I know the zulu JDKs and Microsoft teams also require sudo

nimblebit, to swift

Our remake of our multiplayer word game Capitals is now available completely for free on iOS! Go challenge a friend!

https://apps.apple.com/us/app/capitals-word-game/id6499354232

davidbures, to swift
@davidbures@mstdn.social avatar

Has anyone here succeeded in setting up jekyll-apple-help to generate help books for macOS? This project: https://github.com/chuckhoupt/jekyll-apple-help

I wanted to use it to create a help book for Cork, but I'm having some major problems setting it up, and the guide is very hard to follow.

If anyone managed to set it up, would you be willing to help me? It would help a lot 😊

davidbures, to swift
@davidbures@mstdn.social avatar

Like I promised a few days ago, here’s the discount code for Cork to celebrate my birthday tomorrow!

HaBi1998

It will be valid from tomorrow, June 1st, until June 8th 😊

https://mstdn.social/@davidbures/112490278078275747

I’d really appreciate if you shared this so as many people as possible can take advantage of the 60% discount!

#swift #swiftui #IndieAppSales #CorkApp #buildinpublic #opensource #macos

br00t4c, to swift
@br00t4c@mastodon.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines