Category "macos"

What is the right gradient to use to achieve the inner shadow effect of the native macOS graphical time picker with Flutter CustomPainter?

I'm recreating the graphical macOS time picker for macos_ui and I'm having some difficulty painting the inner shadow gradient correctly. This shadow, along with

Menu Bar Popover is missing from application's elements tree on macOS

I'm currently trying to write simple UI Tests for an App that comes with a popover in the macOS menu bar. One of the tests is supposed to open the menu bar popo

Simulate key press events on a Mac using C# .Net Core

I have a solution built in C# .Net Core 3.1. When running in Windows I use the Windows Input Simulator package to simulate key presses, but what can I use on a

Launching Pip3 install package_name on macOS

I have installed homebrew this morning and I added the path in /Users/$USER/.homebrew/bin since this is the correct path for those who care about folder permiss

Error everytime I open Terminal I get "zsh: command not found"

Even basic commands like 'pwd' or 'ls' I get the same error message. I'm completely lost, been looking across all websites looking for a solution. I've found co

Homebrew no available formula or cask : fatal: Needed a single revision

notice : sorry if my english is bad (I'm french) Hey, I'm on Mac OS and i have a problem with Homebrew. I have to install somethings with this command: brew ins

Setting environment variables on macOS Catalina

In which file should I set environment variables on macOS Catalina? I have already tried the .bash_profile file but it does't work.

Select file or directory in SwiftUI in an AppKit App [duplicate]

How can I display a file dialogue in SwiftUI to choose a directory or file. I think using a NSViewRepresentable to wrap a NSOpenPanel will not

Is it possible to set default alert style for macOS UNNotification?

My application posts local macOS notifications. It's important that these are not banner style but alert style instead. So far I have achieved that by setting N

Restart terminal without closing on MacOS

How to restart my current MacOS terminal session without closing the window? In Linux I use exec bash but it does not work in this environment. I made a few ch

ld: library not found for -lssl while installing mysql2 gem

I changed mysql2 version in my project's Gemfile from 0.3.20 to 0.5.2. When I run bundle update mysql2 I get the following error: Fetching mysql2 0.5.2 (was 0.

SwiftUI MacOS Inset paddings of List

i have a scrollale list view using SwiftUI on a macOS app and i'm trying to add paddings inside the scrollable area, without success. Here my code: List(appList

postgresql not installed but homebrew reports it is

I've never had an issue like this before - normally brew install postgres works and everything is fine. I've had instances with this machine where I see "Mac OS

Create a Flutter module for desktop apps

Currently, when running the command flutter create -t module --org com.example app we are able to generate a Flutter module which we can add to a host parent ap

Using INotifyPropertyChanged view models with Cocoa/AppKit bindings

I know this is pretty esoteric but hoping someone has a solution for me. I have an application that started life as WPF, moved to UWP and now lives primarily as

How to add TLD to search exception in Safari

How can I add .locahost to the list of TLDs that Safari will load — instead of searching — without supplying a protocol? Alternatively (or perhaps a

ModuleNotFoundError: No module named '_ctypes' Mac M1

While installing some libraries you may find the issue ModuleNotFoundError: No module named '_ctypes'

ITMS-90683: Missing Purpose String in Info.plist NSCameraUsageDescription

I upload my app in app store successfully. App store send me an email like this: App Store Connect Dear Developer, We identified one or more issu

Library not loaded SDL2 using Xcode Version 13.3.1 on macOS 12.3.1

Am trying to learn SDL2 using Xcode Version 13.3.1 on macOS Monterey 12.3.1 Followed these steps: Downloaded/ran the dmg file and moved the extracted SDL2.frame

OpenCV command line app can't access camera under macOS Mojave

I'm unable to access the iMac camera from a command line OpenCV program. (I'm compiling and running the program under CodeRunner, not Xcode.) I've read that Moj