When accessing a Core Data database, you might notice that the timestamp is not exactly a unix epoch timestamp but an Apple specific one instead. In this post, I explain the difference and how to convert that into the popular Unix timestamp that we all love.| The Code Ship
Suppose you have a Swift library which uses CoreData and you’d like to use that in a command line tool for something under your control, such as running it on CI or distributing it to colleagues. You could go the route of creating a “Command Line Tool” project in Xcode, which definitely works, but distributing and signing the resulting executable can be a pain. Thanks to recent advances of the Swift Package Manager to support resources and build executables, there seems to be a simpler ...| Adrian’s Corner