Blaž Vantur
04/11/2024, 7:26 PMmport UIKit
extension UIWindow {
open override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
super.motionEnded(motion, with: event)
if motion == .motionShake {
print("Shake detected")
}
}
}
Jacob Rhoda
04/11/2024, 9:23 PMBlaž Vantur
04/12/2024, 8:17 AMJacob Rhoda
04/12/2024, 1:31 PMJacob Rhoda
04/12/2024, 1:35 PMJacob Rhoda
04/12/2024, 1:40 PMBlaž Vantur
04/15/2024, 5:59 AMPablichjenkov
05/23/2024, 6:44 AMdependencies: [
.package(url: "<https://github.com/rickclephas/KMP-ObservableViewModel.git>", from: "1.0.0-BETA-3")
]
Which is basically pulling the .swift
files from the github repo when compiling. So doesn’t seem to be feasible yet.