Klaas

Results 13 comments of Klaas

and Swift :-)

How about using this? app.get("pleaseShutdown") { (request: Request) -> String in let app = request.application DispatchQueue.global().asyncAfter(deadline: .now() + 2) { app.running?.stop() } return "Shutdown initiated." }

I pretty much looked at `ServeCommand.swift` and mirrored what happens when I press ctrl-c in the command line. 2 seconds is arbitrary. I'm just using it for development purposes and...

Some info from a first time install yesterday: I installed WWDC.family for the first time 17 hours ago and it drained my phone immediately. It seems to use battery in...

I bet if this gets pulled into master, Swiftline will reach 1000 stars on github!! 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟 * 100

Yes, it is. I created a swift version here: https://github.com/klaas/SwiftySystemSounds Just run the app on the device and tap "Save".

Yes, I created one: https://github.com/klaas/SwiftySystemSounds

I couldn't yet find a way to get the predefined sound IDs :(

I ran into the same issue. Removing AppCenter from code and the list of embedded libraries did "fix" the previews. Any solution to get previews and App Center work together...

Would be great to have HTTP2 support to send out Apple Push Notifications! See https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns