This site uses cookies to deliver our services and to show you relevant ads and job listings.
By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service.
Your use of Stack Overflow’s Products and Services, including the Stack Overflow Network, is subject to these policies and terms.

Join us in building a kind, collaborative learning community via our updated
Code of Conduct.

Questions tagged [objective-c]

This tag should be used only on questions that are about Objective-C features or depend on code in the language. The tags [cocoa] and [cocoa-touch] should be used to ask about Apple's frameworks or classes. Use the related tags [ios], [macos], [apple-watch] and [tvos] for issues specific to those ...

In the fragment function of a Metal Shader file, is there a way to redefine the "bounds" of the texture with respect to what the sample will consider it's normalized coordinates to be?
By default, a ...

In my objective-c project, I use Core ML model for image recognition which generates objective-c .h/.m files for interaction with it.
The problem is that this files contains syntax errors and is not ...

I search a lot of information but couldn't find anything. Maybe I can't search well) As I know ARC work like compile tool. This tool actually instead of developer sets release and retains in assembler ...

I'm using dlib's facial landmark detector and want to store the facial landmark coordinates in an array that can be used in Swift.
At the minute I've stored the landmark coordinates in a vector:
std:...

I have a UIView with CALayer inside. And I try to add UILabel directly at the bottom of this layer. But I can't find it's coordinates. On the screenshot view got a blue color, layer - white, label - ...

I need the comparison of two images. I want to know the percentage of matching images. Suppose I have two images one is full image and other is half or more than half of the same image. How I compare ...

I am making an ios application that captures a picture and enables user to crop then by their choice. I need to put a polygon view on the imageview with the help of which the user can crop the image ...

I have just started coding not too long ago, so apologies in advance for any glaringly obvious mistakes.
I have created both buttons using the storyboard. I understand that you can change the sender ...

I have a very simple NSSearchField setup. I want whenever user types in a character, if within a small time frame, user types no more inputs, it automatically calls action.
I connected NSSearchField'...

i am having this issue i have a webview in my uiviewcontroller and i also have in-app purchases in my view. so i have no idea why but purchase products list is fetching correctly but webview delegate ...

I have a ${PRODUCT_NAME} in order to reference app name for all my targets. I want to use it in the InfoPlist.strings for using target name in the CameraUsageDescription and other descriptions.
How ...

I've an app with collection view, in that I'm displaying some text in UILabel on collection view item. My text size is bigger than my label size due to that it was not able to see the text fully. So, ...

I have NSDictionary with some keys.
One key has object of custom NSObject type class.
If I try to use archivedDataWithRootObject: to get NSData from NSDictionary it crashes because of 1 key that has ...

I'm creating CSRF token at iOS end, in server side they have done using md5 hash, while creating this md5 hash in server side they have used ByteBuffer of 16 size and set random data, in same way how ...

I am trying to create a chart where a bar in the form of a UIView displays on top of a background UIView. I'd like both to display on top of the UIView for the whole screen. I have done this before ...

For security reasons we need Always to wipe sensitive data from memory.
Usually it is not something that i see done in IOS but for apps and need extended security it is very important.
The Data that ...