Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I’m trying to implement this iOS delegate method in Delphi: - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
zeus's user avatar
  • 13.3k
1 vote
1 answer
75 views

How to resolve error: Non-Sendable parameter type BookInfo of actor-isolated @objc instance method cannot cross actor boundary? BookStore.swift: // manage state of instances of BookInfo @objc actor ...
YOUZHI LIANG's user avatar
-2 votes
1 answer
85 views

I am using CLLocationManager to obtain the device's compass heading (direction), and I have encountered an abnormal behavior: When the user is stationary: After calling startUpdatingHeading(), the ...
lin1123's user avatar
0 votes
0 answers
34 views

We are facing an issue in our iOS Cordova hybrid app (WKWebView) during biometric → passcode fallback authentication. Environment: Cordova iOS 7.x (WKWebView) Native plugin handles Face ID / Touch ID ...
vasanthangel4's user avatar
0 votes
0 answers
35 views

I'm currently try to learn the basics of Objective-C. Watching old videos I see people placing outlets and especially function-headers in the header-file. What is the benefit of having a function-...
mewi's user avatar
  • 791
0 votes
0 answers
23 views

I create an app in Xcode in macOS Tahoe using Storyboards for macOS not modifying anything, and I run it, and I click on the Window menu. This is what I see: But now... in the default storyboard it ...
John's user avatar
  • 41
4 votes
2 answers
157 views

Since I updated on macOS Tahoe 26, in fullscreen only, my NSTableView in Objective-C has the first two rows hidden by a blurred rectangle which appears at the level of my NSScrollView with an ...
Tom's user avatar
  • 653
1 vote
1 answer
89 views

I am trying to adapt C code, measuring pre/after main time, so it could be accessed from Swift with SC on. But nothing can silent compiler warning, indicating this code is not safe. I've tried every ...
JuicyFruit's user avatar
  • 2,690
-1 votes
1 answer
128 views

I am learning Objective-C + Cocoa. According to a very outdated book (there are no newer ones like this one), I need to do the following: Create the application. Create a new Cocoa application named ...
Zorgiev's user avatar
  • 836
2 votes
0 answers
81 views

In Tahoe, folder icons are color-tinted with a gradient. A small part of the folder remains uncolored, and it’s also possible to overlay a mask icon or even an emoji on top of the folder. How can I ...
stapoz's user avatar
  • 33
0 votes
0 answers
45 views

I am developing a macOS app using IOBluetooth.framework. I simply want to keep a list of paired devices with up-to-date names. I want to detect when a user renames a paired Bluetooth device (the alias)...
ManuelSchneid3r's user avatar
-1 votes
2 answers
593 views

This is the screenshot of the code. The view content includes UIView and WKWebView. The part of UIView is normal, but the part of WKWebView shows a blank screen. This was not a problem before iOS 26, ...
Lazyloading's user avatar
1 vote
1 answer
215 views

Creating a simple UIBarButtonItem on iOS26: UIBarButtonItem *saveButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone ...
bhr's user avatar
  • 2,347
1 vote
0 answers
51 views

Basically, I am puzzled by this crash I am getting. For context, I am running a Tauri app for a multi platform desktop app (windows and mac). My windows part works perfectly using winsocks, however I ...
Rafa's user avatar
  • 11
0 votes
0 answers
146 views

This is a lengthy one. I have basically compiled a Rust binary into a dylib and packaged into a .xcframework that contains per arch .frameworks. This loads correctly when run from Xcode into a real ...
Oscar Franco's user avatar
  • 6,320
0 votes
0 answers
103 views

I have code in my macOS app that shows a save dialog using NSSavePanel. I want the panel to always open in a specific directory that I send as a parameter to my function. (e.g., /User/Desktop). Here’s ...
Ishi's user avatar
  • 3
0 votes
1 answer
116 views

The documentation says set: recognizer.cancelsTouchesInVew = NO; and add the recognizer to the top view. I tried and it does not work. Below is the code pattern I used: UIView *custom_overlay_1 = [[...
Stanley's user avatar
  • 4,434
1 vote
1 answer
70 views

The following code renders a scene: (It's called from within an @autorelease nesting) - (void)setupEncoder:(nonnull MTKView *)view { id<MTLCommandBuffer> commandBuffer = nil; id<...
Jonathan Claassens's user avatar
0 votes
1 answer
94 views

I have implemented my resizing behavior for an NSWindow. The problem is I don't know how to disable the default resizing behavior. For example, a resizing cursor would been shown when the cursor was ...
黄建雄's user avatar
-1 votes
1 answer
201 views

// Inside root view controller - (void) play_test_video { g_video_test = [AVPlayer playerWithURL : file_url]; g_video_controller = [[AVPlayerViewController alloc] init]; ...
Stanley's user avatar
  • 4,434
0 votes
0 answers
75 views

In my mac application, I have a business requirement: When drawing each frame, hundreds or even thousands of small bitmaps are received from the network transport layer. Then I need to bitblit these ...
SufficientManner1345's user avatar
0 votes
0 answers
52 views

void test(void) { @autoreleasepool { NSDictionary *dict = copyDict(); NSLog(@"%lu", [dict retainCount]); [dict release]; } } int main (int argc, const char * ...
Yijue Xu's user avatar
0 votes
2 answers
61 views

In my macOS app (objC), the user can trigger tasks that can take some time, like importing files into a database. These tasks do not run on the main thread because they spawn a window (sheet) to show ...
jeanlain's user avatar
  • 475
1 vote
0 answers
53 views

I’m an amateur developer working on a free utility for composers/producers, for which the macOS release needs to create and name RTP-MIDI sessions in Audio MIDI Setup from the command line (so I can ...
NAlexan's user avatar
  • 11
5 votes
1 answer
237 views

I've got codebase for iOS target with mixed languages in play: C++, Objective-C++ / Objective-C & now I want to start migration of Objective-C/Objective-C++ code to Swift. Particular problem I'm ...
K Kafara's user avatar
  • 818