Objective-C

Migrating to Swift from Objective-C

This article explores some of the advantages and challenges faced by developers while migrating to Swift from Objective-C.<p>1. Do we want to …

Programming

Regex for email address

Can someone show me a sample RegEx for an email address and how to use in in Objective-C?Looking for something that fits: name@place.something

Objective-C

JavaScript documentation and Guides

JSDoc does a really nice job of being able to parse annotated ES2015 into a generated set of documentation. From a library author's perspective, this …

JavaScript

How to load an image and rotate it according to it's orientation exif data and save it with UIImageOrientationUp exif data

How to load an image and rotate it according to it's orientation exif data and save it with UIImageOrientationUp exif data (or without any …

iOS

Need to get Grib File data in Objective C

I am developing a project to show Grib file data in map as overlay. Is there any library there available to get data from file? I got one link but …

XCode

What is the main difference between float4 and half4 in fragment shader function?

I try to set render pipeline and MTKView color attachment pixel format of MTLPixelFormatRGBA16Float , but it seem same with …

Objective-C

How to display native view in React Native (iOS)

I worked for 6 six months this year on a betting app written in React Native. At some point, we were forced to display native view in React Native.<p>In …

JavaScript

How to URL Decode in iOS - Objective C

The stringByReplacingPercentEscapesUsingEncoding method is not working properly as it's not decoding special symbols that dont start with a % …

iOS

React Native Create Custom Component/Library

In React Native, there are certain third-party components which compile their own libraries that can be included in your main React project. Examples …

JavaScript

Error: Could not build Objective-C module 'Firebase'

When I compile the application I get an error equal to this:<p>Could not build Objective-C module 'Firebase'<p>This error appear in import Firebase of my …

JavaScript

Get 4 apps to boost your programming productivity [Deals]

Anything that saves time and energy while coding is welcome indeed. Saving keystrokes or screen time can be done with good habits, and with good apps. So we’ve got a roundup or workflow-improving apps for developers on Mac.<p>This bundle from Apptorium comes with four apps for developers. There’s …

Apps

How to open Files App and import video into my app ?

can anyone tell me how to open Files App (IOS 11) into my app, actually i need to select video from files app to my app, i searched many ways but i …

Apps

How to use third party frameworks in theos project?

I need to use some third-party frameworks in theos project such as Fabric.framework for user statistics, I put Fabric.framework at …

iOS

Are there any good tools for logging iOS app hangs and freezes? [on hold]

I am working with a developer on an iOS app we've inherited and customers commonly complain about the app freezing / hanging at various locations. …

iOS Apps

Custom BOOL getter/setter in Objective-C

In my iPhone app I have a BOOL named isAddressCell. This works fine, and I can call this without an issue:However, I have looked around at creating a …

Objective-C

How do I get samples out of a CMSampleBufferRef for pitch shift?

I am trying to get the samples out of a CMSampleBufferRef and into an array of floats in order to change the pitch. I have found a method …

Objective-C

Present modal view controller from different view? ModalViewController being hidden by other views

How can I present a modalViewController from a different view controller?I am currently displaying my modal view like this:But, I want toBecause part …

Objective-C

(SOLVED) - GMSMapView Draw Custom Polyline in Swift

I made a map view with GMSMapView and I wanted to draw a polyline according to the touch of a finger. but this feature makes me stuck because I have …

Google Maps

PromiseKit AnyPromise then crash EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000010

Objective-C

How to use a UIPageViewController with UIImage in Objective-C?

I want to create a new UIPageViewController in my app using Objective-C. When I try running the code, I get a crash. I had checked my code and logic …

iOS

Turn off sound in iPhone Simulator

Is there an option to turn off sound, in iPhone Simulator? Or to adjust volume?

XCode

IOS - Convert from NSSet to NSMutableSet [on hold]

Given an NSSet what is the best way to get an NSMutableSet with those same objects?To be clear if you have an instance of NSSet what would be the …

Objective-C

NSMenu subclassing in Swift 4

What happens to be trivial task in Objective-Ccauses short-circuit errors with suggestions: only nil value permitted at return >> Failable …

Objective-C

GMSMapView Draw Custom Polyline in Swift

I made a map view with GMSMapView and I wanted to draw a polyline according to the touch of a finger. but this feature makes me stuck because I have …

Google Maps

Date from any Unknown Format to Required Format

Is it possible to convert from unknown Dateformat to required Dateformat?For example, I have 2018-06-13T15:38:16.74, 2018-05-02T04:18:10.743, …

iOS

How can I show custom image in UITableView accessory view in Objective-C?

I am doing a project in Objective-C. My problem is now,Suppose I have a UITableView I want when I select a row it can show image with current …

Objective-C

On my misalignment with Apple's love affair with Swift

During my life as a software engineer there only have been a few occasions where the design and principles of a language struck me as inherently …

Programming

What is the difference between "copy" and "retain"?

Objective-C

objective-C variable layout

I'm trying to investigate panic message I got that triggered from accessing address 0 in function strlen in my code, which is basically C++ with …

Objective-C

Objective-C autoreleasepool directive effect variables outside scope.

Let's say I've got c++ function combined with objective-c members. The function gets std::string and convert it to NSstring*, and work with this …

Objective-C