Swift MacOS HTTP POST JSON Download func
I want to have an HTTP POST method, in swift for a MacOS app.
Swift MacOS HTTP POST JSON Download func
I want to have an HTTP POST method, in swift for a MacOS app.
How do I capture the two-finger tap event on status bar?
I’m building a mac app with status bar icon. I want to enable two-finger tap guesture when tapping on the icon. Tried the following code, but even if I use
button.sendAction(on: .any)
, handleTwoFingerTap
is not triggered.
Simulate a mouse click on another windows in Mac
I am trying to simulate a mouse click event in the new “IPhone Mirroring” feature that mac has to offer, I can do it via code that needs to take control of my mouse (moves my mouse and performs the click) but I am looking for a way to do it without having to give control of my computer. since I would like to automate some tasks on my IPhone.
How to manage multiple view interactions in Swift? [closed]
Closed 2 days ago.
Show window when global hotkey is pressed after app is terminated in Swift
I want app to listen to global hotkey in background even when app is terminated and show window when hotkey is pressed in Swift in macOS.
Swift macos record selected portion [closed]
Closed yesterday.
Capture all inbuilt trackpad events and cancel some touch events
I’m trying to capture all trackpad events at OS level and disable few of them – say the ones in left half of trackpad. Following this question, I could level listen to events in current window view with following code.
Swift (macOS) hook into and intercept notifications, and customize delivery
I’m interested in building a utility for macOS that allows deeper customization of notifications from other apps that they might not offer the granularity of. For this I need to be able to hook into notifications, intercept them, read their content, and decide whether to show them, show without sound, suppress them (eg put in notifications center without playing).
Open a macOS bundle with a self written app
I will like to write an application that can work with one or more project at a time. It does not quite matter what the projects are. The important thing is that each project will be saved into a bundle (eg. a directory with the extension bundle which is mostly treated as file in macOS).