#swiftLang

Dimitri Bounioldimitribouniol
2025-06-23

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's add cours deduplicating to the schedule page!

Come chill with me: youtube.com/live/xoYTNtUJhuI

2025-06-22

#Xcode #ios #swiftlang question:

Given the WCSession API function

```swift
func sendMessage(
_ message: [String : Any],
replyHandler: (([String : Any]) -> Void)?,
errorHandler: ((any Error) -> Void)? = nil
)
```

I expected this to work.

```swift
_@MainActor
final class Something: NSObject, WCSessionDelegate {

func sendSomeData(someValue: SomeType) {
// build a plist using someValue
session.sendMessage(["Key": someValuePlist]) { response in
// process the response here
} errorHandler: { error in
// process any error here
}
}
}
```

A watch app that does this crashes in _dispatch_assert_queue_fail with comments about a block being run on the wrong queue. Swift 6 mode.

However, if I take the code in the closure and move it to a function

```swift
func responseHandler(response: [String: Any]) {
// process the response here
}
```

The app works as expected. Should I have expected this?

2025-06-22

Earlier this year, Swift reached a new milestone by having its first-ever devroom at FOSDEM. Here's a look back at how that finally came to be.

pwsacademy.org/posts/fosdem-20

#swiftlang #fosdem25

Dimitri Bounioldimitribouniol
2025-06-22

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's add cours deduplicating to the seasons page!

Come chill with me: youtube.com/live/Noh_1yCLaCE

Mike (VK1OMG) 🏴‍☠️mike_k@mstdn.social
2025-06-21

Can Xcode 26 see into the new containers & build in them, or do I have to use VS Code for that? Anyone on the betas know?

#swiftlang

Dimitri Bounioldimitribouniol
2025-06-21

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Got a bug report last night, so let's try fixing that, then jump into cours de-duplicating on the web!

Come chill with me: youtube.com/live/IrIQZ7HfHXc

2025-06-20

Tired of iOS apps that overlook accessibility? At Techopolis Online Solutions, we build iOS apps with accessibility at the core—VoiceOver support, dynamic type, semantic structure, and WCAG compliance. We also integrate AI features like smart search and recommendations. If you care about building apps that everyone can use, check out our work: techopolisonline.com/services
#iOSDev #Accessibility #SwiftLang #InclusiveApps

2025-06-20

iOS Dev Weekly — Issue 715 is out! Happy Friday everyone 🚀

iosdevweekly.com/issues/715/

#swiftlang #iosdev

Dimitri Bounioldimitribouniol
2025-06-20

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's take a small side quest adding search and other fixes to the internal management tools, then start working on adding multi-cours support to the web!

Come chill with me: youtube.com/live/EilEXXrGBcY

Marcin Krzyzanowskikrzyzanowskim
2025-06-19

✔️ XCTests template and runtime for Mac and iOS notepadexe.com

now, the snippet may have full-feature tests, or I can run tests on the side

Dimitri Bounioldimitribouniol
2025-06-19

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's add some optimizations to the cours de-duplication, re-update the icons, then start adding the same functionality to the web!

Come chill with me: youtube.com/live/RSYN9tm0mTc

2025-06-19

3D Charts were announced in WWDC25 that lets you visualize data in full X/Y/Z space like never before

Read more 👉 swiftshorts.com/2025/06/19/swi

#SwiftLang #SwiftUI #iOSDev #WWDC25

Christopher Jr Rileycjrriley.com@bsky.brid.gy
2025-06-19

I’m proud to announce a new addition to the ATProtoKit family: ATIdentityTools! This package will allow you to resolve the PDS using either the handle or DID in your project. #ATProto #Swiftlang #atdev

GitHub - ATProtoKit/ATIdentity...

Kaylee’s Devlogkayleesdevlog@mas.to
2025-06-18

I want to use some C++ code from a Swift Package, so I:

1) Added a target with the C++ code
2) Added an umbrella header
3) Added this new target as a dependency to the client target
4) Import the new module in the client target

But now when I try to call a C++ function, which I can autocomplete to, the linker throws “Undefined symbol”.

What am I missing? Lost 2 hours on this 😓

#SwiftLang

Helge Heßhelge
2025-06-18

@nothe I know. I just wanted to make the point that in this case Xcode really isn't at fault, but it's on 's bucket.
(Xcode deserves blame, but not for this particular issue)

Helge Heßhelge
2025-06-18

@nothe It's not Xcode's fault though, but only.

Marcin Krzyzanowskikrzyzanowskim
2025-06-18

How do I make sure the async function will not be called on MainActor?

Task {
// Not main actor
try await foo()
}

func foo() {
// MainActor
}

I don't do any annotation for the foo. How is that even possible?

Swift 5.9, Xcode 16.4

Tim De Jongtjadejong
2025-06-18

Future Tim sometimes wonders what past Tim was thinking when writing this kind of Swift code 😂

Emory Dunn :tiny_cart:emorydunn@tinycart.club
2025-06-18

Was having some issues with state getting out of sync and I suspected it was my use of async in some places, but not all, so I made a new branch to removed all the async calls called `no_async` in an attempt to simplify. It is now All Async because I moved the state to an actor and suddenly everything works correctly

#SwiftLang

Dimitri Bounioldimitribouniol
2025-06-18

I'm making a seasonal anime guide app, in the open for all to experience and learn from.

Let's start de-duplicating cours for the same series on the various screens in the app!

Come chill with me: youtube.com/live/6Sqat9Y0OGQ

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst