I am trying to use the function CFAbsoluteTimeGetCurrent() in Swift on Windows 10.
However, I get the following error:
error: cannot find 'CFAbsoluteTimeGetCurrent' in scope
I tried importing CoreFoundation but this yields the following error:
error: no such module 'CoreFoundation'
How can I use this function on Windows? I am using Swift version 5.6.3.