« * K @twostraws.bsky.social

Paul Hudson @twostraws.bsky.social

2026-10-26 15:50 UTC

Dictionaries with non-String, non-Int keys couldn't encode cleanly into keyed containers. The new CodingKeyRepresentable protocol bridges that gap, letting custom key types participate in Codable properly. www.hackingwithswift.com/swift/5.6/co...

Link: Allow coding of non String/Int keyed Dictionary into a KeyedContainer – available from Swift 5.6 (www.hackingwithswift.com/swift/5.6/codingkeyrepresentable)

5 likes, 1 reposts, 1 replies

4 More from @twostraws.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup