Hello!
In objective c how would you get a function to pause until another one returns?
Thanks! Christian Stewart
Hello!
In objective c how would you get a function to pause until another one returns?
Thanks! Christian Stewart
Waiting until a called function to return is the ordinary behavior in most languages, including C, C++, Java, C# and I would guess also Objective-C.
In order to continue execution in the caller prior to return from the callee, you need to use some parallelization feature, such as threads, coroutines, or futures.