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

I’m trying to implement this iOS delegate method in Delphi: - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
-1 votes
0 answers
71 views

Has someone managed to configure a NSTextView in AppKit in Objective-C so it behave as a NSTextField (same background and focus ring)? I understand NSTextField cannot manage multiline text editing as ...
-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 ...
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 ...
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 ...
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-...
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 ...
2 votes
0 answers
90 views

I am working on an iOS project that uses the PJSIP library for video and audio calls. I have an Objective-C wrapper that accesses the PJSIP C functions directly. Now, I want to get statistics for each ...
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 ...
-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 ...
3 votes
1 answer
2k views

Since updating my Xcode and building my app for iOS 26, the buttons on the UINavigationBar look terrible, in my opinion, with large rounded rectangles around them. Can anything be done to revert these ...
-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, ...
0 votes
0 answers
74 views

I am trying to authenticate the communication using certificates over TLS 1.3 in Cocoa application, but URLSession:didReceiveChallenge:ComplitionHandler didn't get called for ...
4 votes
1 answer
71 views

I am working on an application to get when audio device is being used. This app runs on macOS. For Mac versions starting from Sonoma I can use this code: int getAudioProcessPID(AudioObjectID process) ...
1 vote
1 answer
93 views

I have created a toolbar and attached it as an inputAccessoryView to the keyboard following Paul Hudson's snippet here. This is a legacy project with some Objective-C and I have converted Paul's code ...
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 ...
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 ...
1 vote
0 answers
41 views

I am working on an Xcode app that uses a Collection View Controller to display images of various animals. When one of the images is touched a GameView (SKView) opens. Each GameView has balls(sprites)...
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<...
-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]; ...
0 votes
0 answers
52 views

When I start the iOS app, I want to send parameters from Firebase to my KMP project. I put annotations in the KMP Kotlin class so that it would be visible, the bridge class that is generated in ...
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 ...
0 votes
1 answer
77 views

I hope you're all doing great! I'm working on an iOS app where I need to load a set of images that I've added manually to the app's resource bundle. The images are stored inside a known top-level ...
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 * ...
1 vote
1 answer
110 views

When I added the widget extension to a multi-target project, the widget preview failed with an error saying Cannot preview in this file. As we all know, the widget was introduced in iOS 14.0, but my ...