Some really impressive work from my old team here: https://forums.swift.org/t/the-future-of-serialization-deserialization-apis/78585
If you care about Codable and/or serialization in Swift in general, definitely check it out

Some really impressive work from my old team here: https://forums.swift.org/t/the-future-of-serialization-deserialization-apis/78585
If you care about Codable and/or serialization in Swift in general, definitely check it out
Looking for Swift developers interested in package management improvements.
I'm building SwiftHive, a Swift Package Registry.
Seeking beta testers to validate the approach and provide feedback.
Learn more: https://swifthive.l18.dev
Or reach out to me here on Mastodon!
a single file Mac app.swift needs a proper icon.
share your ideas? #notepadexe #swiftlang #SwiftUI
Swift has been such a breath of fresh air! Remember the days of manual memory management? Thank goodness those are behind us! Big thanks to Chris Lattner and the Swift team for creating a language that's both powerful and actually enjoyable to use. This programmer's been around the block, and Swift is truly something special. #SwiftLang #StillLearning
Trying to determine the "correct" way to open macOS System Settings from an app. Here's an example of the keyboard menu bar item that can open the Keyboard System Settings.
I have it working by using a file URL of "/System/Library/PreferencePanes/Keyboard.prefPane" but see sites mention URLs of the form "x-apple.systempreferences:com.apple.preference.keyboard".
Here is where I got the non-file URL information.
New proposal up for review: SE-0469: Task Naming
https://forums.swift.org/t/se-0469-task-naming/78509
This will be very useful for debugging and tools which now can print assigned task names. #swiftlang #swift
So how do associated values for enums work in Swift? I guess they use a RawValue of “Any” under the hood and then store a tuple with a unique index and the associated values in it?
(That is, inside the struct, I just didn't have enough letters to duplicate the rest of the struct) #swiftlang #swiftEvolution
Any of you interested in adding “case” for RawRepresentable structs to Swift?
I.e. if you're simulating an enum-like open struct using
struct Foo: RawRepresentable {
var rawValue: Int
static var bar = Foo(rawValue: 0)
static var baz = Foo(rawValue: 1)
static var boff = Foo(rawValue: 999)
}
you can instead do ‘em as
case bar
case baz
case boff = 999
Like for an enum. Bonus points if you make associated values work, I'm not sure I'd know how.
Swift 6.2 Release process announced: https://forums.swift.org/t/swift-6-2-release-process/78371 #swiftlang
#SwiftLang Testing Workgroup is great news, as is having @younata (Quick+Nimble) and @mbrandonw (Swift Snapshot Testing) in the group from day one. https://forums.swift.org/t/announcing-the-testing-workgroup/78336
My first swift evolution pitch in a while, and my first Linux pitch ever :D
https://forums.swift.org/t/pitch-io-uring-support-in-swift-system-on-linux/78340
You’ll closely work together with other developers of the iOS team and help them perform on their highest technical level. You will empower them by delivering tailored solutions that address their specific needs and enhance their productivity and efficiency.
Ready for your next adventure? https://iosdevjobs.com/jobs/m-e194ddea-aad8-466e-aed7-8d90cc6cf311 #Swift #SwiftLang #iOSDev #MacDev #iOSDevJobs
I’m looking for a summer intern to join our iOS/tvOS teams. This is a paid position and fully remote (limited to US residents with some state restrictions). Please check out this listing if you’re interested in #iosdev or #swiftlang or know someone who might be! https://vhr-pbs.wd5.myworkdayjobs.com/en-US/PBSCareers/job/iOS-tvOS-Intern_JR1000210
I wish #SwiftLang had a better story around scripting. As soon as you need a dependency or simply a little more structure (multiple files) you're in trouble.
The #SwiftLang compiler recently got support for control over which warnings get escalated to errors (or not). It also groups warnings and provides more user-facing documentation on what those warnings *mean*. However, we have about 350 warnings that haven't yet been assigned groups and documented, so the actual benefit of this feature is pretty small right now. If you're interested in helping triage these warnings and/or writing documentation for them, we'd love your help in improving the experience for Swift users everywhere. There's more information in this issue: https://github.com/swiftlang/swift/issues/79648
Yikes! I just discovered my project was somehow set to Swift language version Swift 6, which explains why I was needing to (partially, poorly) implement the new concurrency stuff.
I am not ready for that, having no understanding of it yet. So I'm downgrading to Swift 5. I just discovered that's not so straightforward, finding and commenting out any code with "isolated" seems to be necessary.
I’ll be sending out the next issue of Nil Coalescing Monthly newsletter next week. Lots of updates to share and some interesting tech learnings too!
If you’d like to get it, you can sign up here:
https://nilcoalescing.com/newsletter/
Hey did you know that in #SwiftLang `dropLast(n)` returns the items that were dropped, but `dropFirst(n)` returns the rest of the array after the items were dropped?
Yeah, now I do too.