Post

Replies

Boosts

Views

Activity

Reply to DispatchQueue Help
Thank you for your response.You are correct in what I am trying to do.I tried both ways that you suggested, but received the same error for both... "Argument passed to call that takes no arguments"Is there something I need to add to functionA to accept the argument?ThanksP.S. Something unrelated, but may be related to the solution... functionB displays a UIAlert message.
Feb ’20
Reply to DispatchQueue Help
Thank you for your reply.I must be doing something wrong.I entered it exactly as you described and mine prints "Function A" but never prints "Function B" so functionB is still not being executed.Updated:I see a part I left out. Now it does enter functionB but it does not show the UIAlert window that functionB is suppose to show.Maybe a UIAlert can not be executed in a function that is within a closure?
Feb ’20