Posts

Post marked as solved
5 Replies
I used a setter and a getter. I got the idea from Nick Roosevelt on this post on forums.swift.org. (Thanks Nick!) I realise it's not an extension on Date, but it's quick & simple and easy to understand, and it's working well for me. @AppStorage("storedStartTime") var storedStartTime = Date.now.timeIntervalSinceReferenceDate var startTime: Date { set {storedStartTime = newValue.timeIntervalSinceReferenceDate} get {return Date(timeIntervalSinceReferenceDate: storedStartTime)} }
Post not yet marked as solved
37 Replies
Sadly did not work for me (Catalina):sudo /opt/cisco/anyconnect/bin/vpn connect vpn.redacted.com sudo: unable to execute /opt/cisco/anyconnect/bin/vpn: Bad CPU type in executableI'm on AnyConnect version 4.5.05030 - I assume that's only 32 bit and Catalina is only 64 bit.