All Questions
Tagged with objective-c macos
11,397
questions
-1
votes
0
answers
14
views
kABPhoneProperty how to check the label?
I'm working in Obj-C and am using an ABPersonPicker.
I am able to obtain the phone number from the selected person and output the phone number of any given index. This all works great, however I need ...
-2
votes
0
answers
14
views
make a NSWindow of another app show and focused by clicking a foreground app's button in OC
I have an application H.app (the client app), it has two button a and b, By clicking these buttons, IPC send message to the server app(Also H.app), which will show window A or B. Here' s my sample ...
0
votes
1
answer
42
views
Calling NSApplication from Rust using objc
I am trying to learn by doing a project of allowing AppKit certain functions , related with App and Window creation to be called from Rust using objc.
extern crate objc;
use objc::runtime::{Class,...
-1
votes
0
answers
21
views
Not able to add xpath in Forms Mode
We are unable to add xpath for TTD Desktop application for Mac in Forms Mode. There entire UI View is considered as a single screen(identifier). We are trying to capture xpath for each element in the ...
0
votes
0
answers
20
views
How to Reactivate the Last Focused Window After My Qt App Closes on macOS
I'm developing a screenshot-taker application using Qt and need some assistance with macOS-specific behavior.
Here’s the scenario:
When I take a screenshot, my application becomes focused to allow ...
-1
votes
0
answers
32
views
macOS App Sandbox - access to ~/Documents folder [duplicate]
I have existing macOS application
the application is distributed via pkg
now I need Mac App Store version
I store application data in ~/Documents/MyApp
ideally i wan't to keep using same folder
1. ...
0
votes
0
answers
54
views
Location manager delegate never called
I'm trying to build a simple macOS command-line tool in Objective C that merely gets the current location via a CLLocationManager. However, none of my delegate's methods are ever called and my ...
0
votes
0
answers
21
views
How can I update running(activated) system extension in mac?
Now we are trying to update our security solution. The solution is built with endpoint security extension, and it's already distributed for all clients, and we want to update them.
But it seems like ...
0
votes
1
answer
25
views
How can I use a private-framework's function in Xcode?
I am trying to understand how to use private frameworks in Xcode. Specifically I want to call the MTDeviceCreateList() from the MultitouchSupport-Framework to create a minimal working example. I ...
0
votes
1
answer
61
views
using NSObject with modern OS X SDK (14.4) and 10.7 MACOSX_DEPLOYMENT_TARGET
i've read the great question here
Is NSObject class a part of the Objective-C runtime library today (instead of being a Foundation component)?
about how NSObject was moved from runtime into its own ...
-1
votes
1
answer
61
views
MacOS: How do I give my program permissions during development?
I"m developing an app on macOS.
It's a tauri app which links to a custom library (written in objective-C so I can access some system functionality).
The issue is, some of the functionality in the ...
0
votes
1
answer
119
views
Integrating OpenCV in a native macOS app leads to Linker Errors
I have tried integrating OpenCV in a native macOS app with Swift and it results in bunch of linker errors. I have an M1 Mac and below are the two ways in which I have tried.
First Way:
First I did ...
0
votes
0
answers
58
views
How to get the Apple Pay Pane in Objective-C on MacOS
I’m a bit stumped, because we rarely use objective-c in our project (QT crossplatform,no X-Code at all, signing, entitlements, etc all done with commandline tools) and, up to now, no window stuff at ...
1
vote
0
answers
73
views
uncaughtExceptionHandler failed to catch exceptions in objective-c on Mac OS
Hi and I'm working on handling exceptions in an app.
My exception handler code is as below.
In AppDelegate.h
@interface AppDelegate : NSObject <NSApplicationDelegate>
static void ...
0
votes
0
answers
27
views
App crashes when running Python code from Flutter/Native MACOS application
Backgroud
Running python code using Beeware - Briefcase tool and call Python code from Flutter/Native MACOS application.
Issue
The code runs completely fine on MAC machines powered with Intel ...