Swift
The language and its patterns: Codable, phantom types, futures, dates, and Swift 6.
2024
2018
2017
-
Naive Date and Time
Foundation offers great APIs for manipulating dates with time zones, however, it might be missing a few things
-
Three Use Cases of Phantom Types
Adding additional type safety using phantom types on the examples
-
Codable: Tips and Tricks
★Introduced in Swift 4 to replace NSCoding APIs, Codable also features first-class JSON support