正规365体育投注

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 platforms.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Keep button ratio on different iPhone screens on storyboard

I have a screen for camera. When I'm changing iPhone sizes on my xib file, all buttons are stretching, however I want them to shrink with keeping ratio. I set autoresizing as that Autoresizing On ...
0
votes
0answers
4 views

Objective c how to reset AVCaptureDevice exposure to defaults

I'm setting custom exposure/iso with the camera using: AVCaptureDevice* cd = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]; [cd setExposureModeCustomWithDuration:cmtime ISO:iso ...
0
votes
0answers
17 views

How to encode generic properties with struct using objc properties attributes

I'm using a generic encoder for objects in objc. For that I iterate though the class property list and store the ones I'm interested in. unsigned int count, i; objc_property_t *properties = ...
0
votes
0answers
14 views

ScriptingBridge - How to Send Messages “Behind the Scenes”

Context: I'm working on a Pharo/Smalltalk -> Objective-C bridge Problem: In the following Objective-C ScriptingBridge snippet: iTunesApplication *iTunes = [SBApplication ...
0
votes
0answers
9 views

react native stream ios screen to local server

I am building a React Native application to be able to stream my phone content to a local NodeJS server. On android, it works great with MediaProjectionManager but on iOS this is more complicated. I ...
0
votes
0answers
9 views

IOS - Monitoring Significant Locaiton is not working after app is killed in objective C

Below is the code where I have used to notify the user when location updates even if the application is killed. I have implemented below methods to get the location details and notifications fires at ...
0
votes
1answer
25 views

Is it possible to create swift extension of Core Data Entity developed manually in Objective C?

I am having developed project with core data. Now this core data files are added manually in objective C. There is a property named size which is NSNumber. I need to create swift extension of this ...
0
votes
1answer
25 views

How to make a custom keyboard using Objective-C that can type images

I want to make a custom keyboard that types custom emojis instead of just letters and numbers. The following code helps me type just a letter or number [self.textDocumentProxy insertText:[key ...
0
votes
3answers
40 views

ObjC: proper use of property and synthesize?

Does anyone know why this code is running into compilation errors? I'm compiling it on Catalina using clang. I posted a similar issue here but that was when I was trying to compile using clang on ...
0
votes
1answer
25 views

Xcode - Set week of month, then get the week of year

Currently trying to use NSDateFormatter and NSDateComponents to set the week number for a month, then find the week of year that would be. Let’s say we have a date: 20/05/2020, then set the week ...
0
votes
0answers
18 views

iOS tweak build problems

Error with liblaunch.dylib: > Making all for tool esplios… ==> Linking tool esplios (armv7)… ld: in '/usr/lib/system/liblaunch.dylib', missing required architecture armv7 in file /usr/lib/...
0
votes
0answers
39 views

unrecognized selector sent to instance happening on iOS 12 only

I have an odd issue where the following error is occuring only on one device which is iOS 12 versions only. Why is this happening only on this OS and not others? Error Fatal Exception: ...
0
votes
0answers
17 views

PIckerview array from URL API - objective c

I am a new in objective c. I tried to find a solution for my app for pickerview. But nothing work for me. I need data from mysql column called teacher_id. API works fine and return data. But I can not ...
0
votes
0answers
14 views

Swift detect identity card using OpenCV

I'm trying to detect the square of an identity card using OpenCV. Already install the framework and make the entire setup but everything about detection which I found using other language's example (...
0
votes
0answers
31 views

How to comprehend “no way to make a ‘conceptual is-a’ relationship without inheritance”?Could anyone make it clear by some simple example?

A per the documetation(https://isocpp.org/wiki/faq/objective-c#objective-c-and-inherit), which says: This is a major difference with Objective-C, where there is only one form of inheritance (C++ ...

15 30 50 per page
1
2 3 4 5
19330