I'm trying to create a completion block where a function can be executed but I keep getting the error: Cannot convert value of type '()' to expect ...
I'm trying to create a completion block where a function can be executed but I keep getting the error: Cannot convert value of type '()' to expect ...
property block getting nil I have objective-c viewcontroller class which has a property block in // UAEPassWebViewController.h I had made the brid ...
==> swift 3 version in perfect work but swift 4 and swift 4.2 in now working. Error display on xcode => Cannot convert value of type '(_ ...
I'm currently working on enabling a DJI product to execute waypoint missions autonomously, adapting from a DJI tutorial (https://developer.dji.com/mob ...
I have two functions that executes async. I tried to "syncronize" them with: DispatchGroup and DispatchQueue Func1 and Func2 are only calls of: ...
Hi I have a web service worker object in swift that passes a completion block to the caller view controller. The code is as follows: whatvalues do ...
I am trying to call a completion block in a unit test but it never reaches. Here is the code: This is the method: ...
I am trying to retrieve an array of EKReminders from a completion block of a method. The method returns the array I desire. However, I can't find a go ...
This is my nested block, please take have a look : Problem is in this - (void)initializeDictionary:(NSDictionary *)dictionary completionBlock:(void ...
We have a function that when it finishes another function should be called in it's completion block but whatever is inside the completion block is nev ...
I'm trying to create a completion block that can execute another function after its completed, in this case it's a tableview reload. I get the error : ...
Is it impossible to get completion block success then data received from another method? ...
I have two methods. I want to execute one after finishing task of first one. How can i do this? ...
Having some issues with my auth request method shown below: The problem here is that when I tap the when in use button or the always button, their ...
I have PhotoBrowser (it inherits from UIViewController) as a presentedViewController. I present it from UITableViewController. The PhotoBrowser presen ...
I've used typedef in objective-c to define a completion block like so: I then have a Swift 3.0 function that takes the ObjectsOrErrorBlock as a par ...
I was studying blocks and it seems pretty impressive to use. But then I came to know that we can use blocks in functions as variable and its main use ...
I want to do an action when the UIView animation is finish. I have tried using But don't get it to work, probably i do something wrong. Update ...
In Objective-C, I have a completion block class defined as: File.h Then, in a Swift file, I try to use the completion block as follows: Swift.swi ...
I have searched a lot to find out how others have solved this problem, but unfortunately, I didn't find the answer to this specific question. I would ...